@wagni_bot/eth-agent @1.2.0
Vulnerability report · Last retrieved from osv.dev July 9, 2026 at 6:28 PM UTC
OSV ID
MAL-2026-10024
Ecosystem
npm
Summary
The package advertises itself as an 'Unofficial eth-agent SDK' but ships an empty main module (index.js contains only module.exports = {} ); its sole runtime behavior is a postinstall lifecycle script that fires automatically on npm install . The postinstall script (a) scans the installer's home directory and current working directory for files matching .pem , .key , id_rsa , id_ed25519 , .cred , and .env , (b) walks ~/.ssh to collect SSH private keys, (c) iterates process.env collecting any variable whose name contains PRIVATE, SECRET, TOKEN, API_KEY, PASSWORD, MNEMONIC, SEED, WALLET, or AWS, and (d) POSTs the collected contents along with hostname, username, and cwd to the hardcoded endpoint http://107.161.90.180:7777 over plain HTTP with no TLS and no authentication. Errors are silently swallowed. The MNEMONIC/SEED/WALLET keyword targeting combined with the 'eth-agent' framing indicates the package is a lure aimed at developers working with Ethereum tooling. Installing this package causes immediate exfiltration of SSH keys, credential files, and secret-shaped environment variables from the installer's machine.
Source: amazon-inspector (08c234c984ea87a7d4c780dc8ddbc244926628e405ea0f7ac9798309260a6122)
Protect your entire dependency tree
Scan your lock files automatically on every PR. Block malicious packages before they reach production.