Malicious code in @zzzgenesis00/web3-utils-crypto (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12125
Published--- _-= Per source details. Do not edit below this line.=-_ ## 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.
- Source published
- 5 Aug 2026 08:43:43 UTC
- Source modified
- 5 Aug 2026 10:05:41 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.