MAL-2026-2115 Malicious code in nspack (PyPI)
- Published
- Updated
- Exploit status
- No public exploit known
Description
-= Per source details. Do not edit below this line.=-
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
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi nspack(PyPI) | = 0.1.0; = 0.1.2; = 0.1.3; = 0.1.4 +4 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi nspack(PyPI) | = 0.1.0 | No fix listed |
| pypi nspack(PyPI) | = 0.1.2 | No fix listed |
| pypi nspack(PyPI) | = 0.1.3 | No fix listed |
| pypi nspack(PyPI) | = 0.1.4 | No fix listed |
| pypi nspack(PyPI) | = 0.1.5 | No fix listed |
| pypi nspack(PyPI) | = 0.1.6 | No fix listed |
| pypi nspack(PyPI) | = 0.1.8 | No fix listed |
| pypi nspack(PyPI) | = 0.1.9 | No fix listed |