@zzzgenesis00/tronweb3npm
Advisory published Updated
@zzzgenesis00/tronweb3 is a confirmed malicious npm package (MAL-2026-12124) that steals credentials and exfiltrates sensitive data (malicious version 5.3.2). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in @zzzgenesis00/tronweb3 (npm)
What this malware does
This package impersonates the legitimate tronweb SDK (author field spoofed as 'tronprotocol') and runs a malicious postinstall.js at npm install time. The script enumerates ~/.ssh, ~/.npmrc, ~/.gitconfig, Chrome/Firefox profile files (Cookies, Login Data, key4.db, logins.json), cryptocurrency wallet directories (metamask, exodus, electrum, ethereum, solana, tron), and a hardcoded list of credential-shaped environment variables (NPM_TOKEN, NODE_AUTH_TOKEN, GITHUB_TOKEN, AWS keys, MNEMONIC, SEED_PHRASE, TRON_PRIVATE_KEY, etc.), packages them, and POSTs the payload to two hardcoded attacker endpoints: the Telegram Bot API (api.telegram.org/bot<token>/sendMessage) and a Serveo tunnel host at 40f955f39128bd79-178-249-214-24.serveousercontent.com/collect. Variable names are obfuscated (_rqp, _gzr, _zsw, _cp, _ht, _tk, _ch) and a comment frames the behavior as 'postinstall environment verification' as cover.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for @zzzgenesis00/tronweb3 (version 5.3.2).
If you installed it — respond
@zzzgenesis00/tronweb3 is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.
Did it already run?
If @zzzgenesis00/tronweb3 was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks @zzzgenesis00/tronweb3-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.