CRITICAL PyPI Malware

Malicious code in axiom-dragon-xyz (PyPI)

MAL-2026-19289

Published · Modified

Dependency scanning

Check whether axiom-dragon-xyz is in your codebase

Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.

Description


__

Source: amazon-inspector (e4ce1e726810b4fb8b80ccf673b1101c68ee68fa7ee8c8ae92e4c12ba75c779a)

setup.py defines a custom install cmdclass (PostInstall) that runs exec(base64.b64decode(...).decode()) during pip install. The decoded payload enumerates classic installer secrets — ~/.ssh/id_rsa, ~/.aws/credentials, ~/.env — and cryptocurrency wallet stores (Ethereum keystore, Exodus, MetaMask, Solana, Phantom), plus matching *.json files, base64-encodes portions of each file, and POSTs them to a hardcoded Discord webhook at discord.com/api/webhooks/1570872953443455097/. The base64+exec wrapper exists only to hide the stealer from casual review of setup.py.

Source: kam193 (7bb0be864a1e4a0a1e01ae4fa900052bf2f74c57f9d7ed40b4fae48caa84e746)

During installation package exfiltrates sensitive files used by cryptocurrency wallets and storing cloud credentials.


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

Campaign: 2026-11-axiom-dragon-xyz

Reasons (based on the campaign):

  • infostealer

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

  • exfiltration-crypto

  • exfiltration-credentials

  • obfuscation

Ready to move

Start Securing

Free, no credit card | First findings in minutes