pypi · Malicious package advisory
Malwarenspack
GHSA-3gmf-fmw5-rr9g
Malicious code in nspack (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.1.0` ## Source: kam193 (7741f090145e1e4bbd7998edba9c8151bd5dd3380adaa430e8f05cb2c814396f) These packages are used as build dependencies of malicious packages in newer waves of the campaign 2026-02-urllib-slim. They are used to split the malicious action between dependencies and are not malicious alone, but are used together to: exfiltrate information through DNS, collect information about the processes and covering tracks by installing packages from local private repositories. Package nspack additionally notifies upon importing a domain known for malicious activity with the package and hostname. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-03-geekennedy 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. - The malicious code is intentionally included in a dependency of the package --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/nspack/MAL-2026-2115.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/nspack - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/nspack/MAL-2026-2115.json - https://github.com/advisories/GHSA-3gmf-fmw5-rr9g
Compromised versions (1)
- = 0.1.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.