Skip to main content
Menu
Advisories

Malicious code in axiom-dragon-xyz (PyPI)

MAL-2026-19289Published Updated OpenSSFMalware

Description

--- -= Per source details. Do not edit below this line.=-

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

Affected versions

References