NetSight
ohne WertungMalware-Meldung

MAL-2025-3000

Malicious code in solders-utils (PyPI)

Auswirkung

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. 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.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
pipsolders-utilsunbekanntnicht erfasst

Schwachstellenklasse

Referenzen