NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

idnnaPyPI

Advisory published Updated

idnna is a confirmed malicious PyPI package (MAL-2026-13488) that steals credentials and exfiltrates sensitive data (malicious versions 0.1.1, 0.1.2, 0.2.0…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in idnna (PyPI)

MAL-2026-13488
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
pip uninstall idnna

What this malware does

The package publishes under a name that closely resembles the widely-used idna package and advertises itself as 'HTTP client utilities', but the only importable module is djangoo containing a trivial hello() function. setup.py registers a custom install cmdclass (LinuxInstall) whose post-install step base64-decodes a hidden Python payload stored in _HOOK_B64 and executes it via exec(compile(...)). On Linux, the decoded payload uses urlretrieve to download an opaque binary named something from https://github.com/totti2188/8gp1Q7iZD3h4VW/releases/download/v1.3A/something — an unrelated personal GitHub account whose repository has no connection to the package's stated purpose — chmods it to 0o755, and spawns it detached via Popen. The download destination is not publisher-matched, the fetched artifact is unpinned by hash, and the payload is obfuscated to evade casual review. This fires automatically on pip install of the sdist.

Package imitates name of a popula library. During installation, obfuscated code downloads a malicious executable and starts it. It then exfiltrates at least cryptocurrency wallet data, probably more.

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2026-08-flasq

Reasons (based on the campaign):

  • typosquatting

  • The package overrides the install command in setup.py to execute malicious code during installation.

  • exfiltration-generic

  • Downloads and executes a remote executable.

  • obfuscation

  • exfiltration-crypto

Malicious versions

4 flagged
0.1.10.1.20.2.00.3.0

Indicators of compromise (SHA-256)

c3caa6af02ad3844d721b93e94796fed92506f24517c3b990d741b147eee5acf
9a15a7dcdc8b4d5a392976f6abb8ae4615189125f0c910703a3d96ade5bce5ad
23ef36d00422f5968da72dbf01a4f9f6cea7adee00b4454956ba4dea8b13d020
557fd8e5f5101a40c97cf36a05feb66d99c597290096922b08d5d3b9797ce4af
c844cdd84d197bad25f5616870eb1d728b4ca22ded9ba1b0514a6620c0d31d7d
da6f2ec3b09fbcf061a9f4ffefe1c179983ad8cdc0af705f2218280ade3c1da3

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for idnna (4 malicious versions).

  2. If you installed it — respond

    idnna is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If idnna was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. idnna on PyPI has been identified as a malicious package (versions 0.1.1, 0.1.2, 0.2.0, 0.3.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

2026-08-flasqIN-MAL-2026-016908IN-MAL-2026-016906IN-MAL-2026-016903IN-MAL-2026-016907

References

Credits

  • Amazon Inspector · finder
  • Kamil Mańkowski (kam193) · reporter

Detect & block this

O3 blocks idnna-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

idnna (PyPI) malicious package — MAL-2026-13488 | O3 Security