MAL-2026-12125
Dashboard / Malicious Package / MAL-2026-12125
MAL-2026-12125
Summary: Malicious code in @zzzgenesis00/web3-utils-crypto (npm)
Details: Source: amazon-inspector (c5f75dc3a679eaa0579352bb4d345acb84247d70f4e4db06e5de04ff6d20f4e5) @zzzgenesis00/web3-utils-crypto ships a postinstall.js that runs automatically on npm install and harvests installer-side secrets and host data. The script reads ~/.ssh, ~/.npmrc, ~/.gitconfig, Chrome/Firefox profile artifacts, wallet directory presence, and enumerates a large list of credential-shaped environment variables (NPM_TOKEN, NODE_AUTH_TOKEN, GITHUB_TOKEN, AWS_*, PRIVATE_KEY, MNEMONIC, SEED_PHRASE, ETHEREUM_PRIVATE_KEY, and similar), together with hostname, username, homedir, platform/arch, cpu/mem, and cwd. It also invokes `npm whoami`. The collected JSON is transmitted to a hardcoded Telegram bot endpoint (api.telegram.org/bot<redacted>/sendMessage?chat_id=7231970337) and POSTed to a serveo.net SSH-tunnel subdomain at 40f955f39128bd79-178-249-214-24.serveousercontent.com/collect. Identifiers in the payload script are obfuscated (_syt, _bqi, _okl, _tk, _ch, _ex) and framed with cover-story comments (`postinstall environment verification`, `Legitimate module passthrough`); package.json impersonates the ChainSafe organization via a spoofed author field and homepage pointing at github.com/chainSafe/web3-utils-crypto.
Affected packages
Package
Name: @zzzgenesis00/web3-utils-crypto
Purl: pkg:npm/%40zzzgenesis00/web3-utils-crypto
Affected ranges
Type: N/A
Events:
