pypi · Malicious package advisory
Malwareninja-core-utils
GHSA-9654-qr4j-mrfw
Malicious code in ninja-core-utils (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.2.1` ## Source: kam193 (65af5eaa02abf860465d0ee9e11d7b10e3e1e36473aec951f8c1ea38ed8a8560) During installation, obfuscated code exfiltrates cryptocurrency wallet data to a hardcoded location --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-05-ninja-core-utils Reasons (based on the campaign): - The package overrides the install command in setup.py to execute malicious code during installation. - obfuscation - crypto-related - exfiltration-crypto - backdoor --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/ninja-core-utils/MAL-2026-3372.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/ninja-core-utils - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/ninja-core-utils/MAL-2026-3372.json - https://github.com/advisories/GHSA-9654-qr4j-mrfw
Compromised versions (1)
- = 1.2.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.