VulnWatch by ve1ve2
unknown

MAL-2025-3000: Malicious code in solders-utils (PyPI)

Source:
OSV.dev
Published:
Fetched:
Updated:
Affects:
solders-utils

https://osv.dev/vulnerability/MAL-2025-3000 ↗

osvpypino-fix-yet

Malicious code in solders-utils (PyPI) --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (cb21eed8f78e6edbc4b615bfc8f65345e0340db66a14b788635d630a67bf5e9a) solders-utils is a typosquat of the solana-py project (its homepage points at solana-py). The sdist's setup.py unconditionally spawns a subprocess running the sibling file hxboot.py before calling setup(), so `pip install solders-utils` executes the payload on every supported platform. hxboot.py scrapes process environment variables filtered by secret-shaped substrings (KEY, SECRET, TOKEN, PASS, MNEM, SEED, PRIV, RPC, API, WALLET) and reads installer-owned credential files including ~/.aws/credentials, ~/.ssh/id_rsa, ~/.ssh/id_ed25519, ~/.npmrc,.env, ~/.config/solana/id.json, wallet.json, and keypair.json. It also walks Chrome, Chromium, and Brave profile directories for Local Extension Settings belonging to MetaMask (nkbihfbeogaeaoehlefnkodbefgpgknn) and Phantom (bfnaelmomeimhlpmgjnjophhpkkoljpa), base64-encoding the.log/.ldb leveldb files that hold the encrypted seed vaults. Host information, the filtered environment values, credential file contents, and wallet extension blobs are serialized to JSON and POSTed in 3200-byte chunks to the hardcoded ntfy.sh topic https://ntfy.sh/hx83e33eb9, a public pub/sub channel used as an attacker-controlled drop. ## Source: kam193 (eff6c26674dd4f0408742c46785656c3a5d19ca0a87366a60534d37d5a54e687) The only thing the package does is send out all the given data about a cryptocurrency transaction, including the private key, to a hardcoded webhook. Feedback from PyPI Team: the package "transaction-utils" may also exploit a known pip behavior to overwrite files of an existing legitime package and replace it with malicious content. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-02-transaction-utils Reasons (based on the campaign): - crypto-related - action-hidden-in-lib-usage - A Telegram webhook is used to send collected data. Affected: PyPI:solders-utils No fixed version published yet References: https://bad-packages.kam193.eu/pypi/package/solders-utils https://pypi.org/project/solders-utils/1.98.2/ https://bad-packages.kam193.eu/pypi/campaign/2026-11-solana-utils-terminalmoney1