@wagni_bot/eth-agent@1.1.1
Malicious code in @wagni_bot/eth-agent (npm)
Analysis
The postinstall hook (postinstall.js) runs on install and exfiltrates credentials to a remote server at 107[.]161[.]90[.]180:7777. It collects SSH private keys (id_rsa, id_ed25519) from ~/.ssh/ and the current directory, .pem/.key/.cred files, .env files, and environment variables containing PRIVATE, SECRET, TOKEN, API_KEY, PASSWORD, MNEMONIC, SEED, WALLET, or AWS. All stolen data is POSTed as JSON to hxxp://107[.]161[.]90[.]180:7777. The package contains no functional SDK code — index.js is 19 bytes and the sole purpose is the credential-harvesting postinstall script.
- analyzed by
- Leitwacht
- first seen
- Jul 9, 2026, 09:42 AM
- analyzed
- Jul 9, 2026, 09:44 AM
Related advisories
- @wagni_bot/pumpfun-sdk@1.2.0
- @wagni_bot/jupiter-sdk@1.2.0
- @wagni_bot/solana-sdk@1.2.0
- ts-eslint-jest@1.0.0
- jest-formatter@1.0.0
- cursed-modules@999.0.0
- ts-ankle@1.1.0
- ts-einkle@1.0.9
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.