GHSA-cpjg-qvxc-mcfx
Malicious code in nspacercesolve (PyPI)
Impact
## 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))
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | nspacercesolve | = 0.0.7 | none recorded |
| pip | nspacercesolve | = 0.0.6 | none recorded |
| pip | nspacercesolve | = 0.0.5 | none recorded |
| pip | nspacercesolve | = 0.0.4 | none recorded |
| pip | nspacercesolve | = 0.0.3 | none recorded |
| pip | nspacercesolve | = 0.0.2 | none recorded |
| pip | nspacercesolve | = 0.0.1 | none recorded |