VYPR

pypi · Malicious package advisory

Malware

ninjainjtest1337

GHSA-cxpj-2794-q27g

Malicious code in ninjainjtest1337 (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.1.5`

## Source: kam193 (53b486443b3f2ffe278aa364b7455c2a522fbf1a514d4c8f70474974bf2be009)
Packages that might be part of testing for pentesting / malicious activity / joy, with suspicious activity that does not present any real harm.


---

Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.


Campaign: GENERIC-simple-tests


Reasons (based on the campaign):


 - The package overrides the install command in setup.py to execute malicious code during installation.

## Source: ossf-package-analysis (334ea071d3d2127435d95bdf47129449b33f6c542fe9c91d19d4c5365f86d77f)
The OpenSSF Package Analysis project identified 'ninjainjtest1337' @ 0.1.5 (pypi) as malicious.

It is considered malicious because:

- The package communicates with a domain associated with malicious activity.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/ninjainjtest1337/MAL-2025-1514.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/ninjainjtest1337
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/ninjainjtest1337/MAL-2025-1514.json
- https://github.com/advisories/GHSA-cxpj-2794-q27g

Compromised versions (1)

  • = 0.1.5

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.