pypi · Malicious package advisory
Malwarenspacercesolve
MAL-2025-191805
Malicious code in nspacercesolve (PyPI)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## 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.
Compromised versions (7)
- 0.0.7
- 0.0.6
- 0.0.5
- 0.0.4
- 0.0.3
- 0.0.2
- 0.0.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.