MAL-2026-20136: Malicious code in solana-utils-terminalmoney1 (PyPI)
--- -= Per source details. Do not edit below this line.=-
Source: amazon-inspector (b58d55f9a4d2ae8d63dbba8c5b88c7fe054e48c2cac2c11cc05d41efe0d4efb9) The sdist's setup.py unconditionally runs subprocess.run([sys.executable, 'hxboot.py']) during pip install, auto-executing a bundled stealer. hxboot.py reads installer secrets from ~/.env, ~/.npmrc, ~/.aws/credentials, ~/.ssh/ided25519, ~/.ssh/idrsa, ~/.config/solana/id.json, wallet.json, and keypair.json, and scrapes environment variables matching KEY/SECRET/TOKEN/PASS/MNEM/SEED/PRIV/RPC/API/WALLET. It additionally enumerates Chrome/Chromium/Brave Local Extension Settings for MetaMask (extension id nkbihfbeogaeaoehlefnkodbefgpgknn) and Phantom (bfnaelmomeimhlpmgjnjophhpkkoljpa), base64-encoding .log/.ldb session/wallet files. The collected JSON blob is chunked into ~3200-byte pieces and POSTed to the hardcoded endpoint https://ntfy.sh/hx83e33eb9, tagged with the installer's hostname. Package metadata sets url=https://pypi.org/project/solana-py/ and the README is titled solana-py, impersonating the legitimate solana-py project while the distribution name is solana-utils-terminalmoney1.