Malicious code in axiom-dragon-xyz (PyPI)
- MAL-2026-19289
Description
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. 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
Text from the OSV record.
Affected
axiom-dragon-xyzPyPI
- No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.