janus-erc20npm
Malicious code in janus-erc20 (npm) Remove it immediately and rotate any exposed credentials.
What this malware does
On npm install, postinstall.js harvests installer secrets and POSTs them to 193.203.169.109:8443/c/janus-erc20 over HTTPS with TLS verification disabled (rejectUnauthorized:false). The script (1) collects hostname, username, and cwd, (2) iterates process.env and filters keys matching /KEY|SECRET|TOKEN|PRIVATE|MNEMONIC|PASSWORD|RPC|ALCHEMY|INFURA|DATABASE|WALLET/i, (3) reads .env files from cwd, parent directories, and the home directory, and (4) reads ~/.npmrc (which contains npm auth tokens) and ~/.config/ipor-fusion/config.json. Errors are silenced with 2>/dev/null||true. The main index.js is empty — the package has no legitimate ERC20 functionality and exists solely to deliver the postinstall harvester. The targeted IPOR Fusion config path plus the generic blockchain-sounding name indicates the package is positioned as a namespace lure against IPOR Fusion / DeFi developers.
Malicious versions
Indicators of compromise (SHA-256)
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Scan your dependencies
O3 Security blocks malicious packages like this at install time and in CI.
Supply-chain protection