eth-wallet-helpers@1.0.0
Malicious code in eth-wallet-helpers (npm)
Analysis
eth-wallet-helpers@1.0.0 is a trojanized Ethereum wallet utility. The package exports benign address-validation and key-derivation functions, but 37 seconds after require() it decodes a base64-embedded second-stage payload from test/fixtures/keypairs.dat and writes it to ~/.cache-db/.node-sync/syncd.js, then spawns it as a detached background process. The payload checks IPFS dead-drop CIDs via gateway[.]pinata[.]cloud, ipfs[.]io, and cloudflare-ipfs[.]com for an active command signal. It then hunts for cryptocurrency wallet files (Solana keystores in ~/.config/solana, Ethereum keystores in ~/.ethereum/keystore, Foundry keystores, Hardhat configs), .env files, SSH private keys, shell configs, and seed phrases across ~/Desktop, ~/Documents, ~/Downloads, and ~/Escritorio. Found credentials are encrypted with an embedded RSA-4096 public key and exfiltrated to api[.]pinata[.]cloud via the Pinata IPFS API using hardcoded API credentials. The payload establishes persistence: cron job on Linux (every 12 hours), a launchd plist (com.apple.syncd) on macOS, and a scheduled task (WinNodeSync) on Windows. It also checks whether the machine is idle before running to avoid detection.
- analyzed by
- Leitwacht
- first seen
- Jul 14, 2026, 08:35 AM
- analyzed
- Jul 14, 2026, 08:36 AM
Related advisories
- vitest-pro@7.0.4
- crypto-validate-lib@1.0.0
- layer2-sdk@1.0.1
- arb-kit@1.0.1
- abi-encode@1.0.0
- node-procmetrics@1.0.6
- chunk-parser@1.0.0
- paperclip-host-utils@1.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.