MAL-2026-10025
Malicious code in @wagni_bot/ethereum-wallet (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (181ac4262af395234755b7e5755de0eff6cf084cab58c95e4660d3b2a66c385b) @wagni_bot/ethereum-wallet@1.2.0 ships a single file postinstall.js that is wired to run automatically via both preinstall and postinstall npm lifecycle hooks (and is also set as package main). On install it recursively walks the user's home directory, Desktop, Documents, Downloads, /tmp, and /root looking for cryptocurrency wallet artifacts and credential files, including wallet.json, keystore.json, id.json, metamask.json, phantom.json, seed.txt, mnemonic.txt, private.key,.env files, credentials.json,.npmrc,.netrc,.git-credentials, ~/.ssh private keys, ~/.aws/credentials, and browser extension Local Storage directories for MetaMask and Phantom. It also scans.txt/.md files for BIP-39, seed, mnemonic, and password keywords in English and Spanish. Each matched file's contents (truncated to 10000 bytes) plus hostname, username, and cwd are POSTed to the hardcoded endpoint http://107.161.90.180:7777. The package has an empty description and no legitimate functionality beyond this harvester, and its name imitates generic wallet-utility packages to lure developers.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for @wagni_bot/ethereum-wallet (npm). Pin to a known-safe version or switch to an alternative.