Malicious package · PyPI
Malicious code in axiom-dragon-xyz (PyPI)
1.0.4No safe version. Remove it.What it does
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.
Reported by kam193 During installation package exfiltrates sensitive files used by cryptocurrency wallets and storing cloud credentials.
No fix · Remove and contain
pip uninstall axiom-dragon-xyzSources