VYPR

pypi · Malicious package advisory

Malware

nspacercesolve

GHSA-cpjg-qvxc-mcfx

Malicious code in nspacercesolve (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.0.7`

## Source: kam193 (8a8c6f18d1f22d3d0f0b9902a176d91fdfe33270faea47c835a0078955b85914)
During installation, the package looks for a flag file and exfiltrates it. Similar content is in the __main__ file. There is no other purpose of the package


---

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: 2025-11-nspacercesolve


Reasons (based on the campaign):


 - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.


 - other


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

---

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

**References:**
- https://bad-packages.kam193.eu/pypi/package/nspacercesolve
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/nspacercesolve/MAL-2025-191805.json
- https://github.com/advisories/GHSA-cpjg-qvxc-mcfx

Compromised versions (1)

  • = 0.0.7

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