pypi · Malicious package advisory
Malwarenai
GHSA-r8x3-m3m2-fm55
Malicious code in nai (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.4` ## Source: kam193 (a9e4650a322afd07ff77c3f934248e52f477f2d1cebd0c84b1074bdba1142efe) Package is a hacking tool that not only abuses 3rd-party services but also silently exfiltrates credentials the user uses to log in there. The provided account is also forced to follow the attacker's accounts. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-03-old-nai Reasons (based on the campaign): - exfiltration-credentials - abusing-3rd-api - action-hidden-in-lib-usage --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/nai/MAL-2026-1408.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/nai - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/nai/MAL-2026-1408.json - https://github.com/advisories/GHSA-r8x3-m3m2-fm55
Compromised versions (1)
- = 1.4
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.