OpenSSF/OSV advisory MAL-2026-12125 confirms this npm version as malicious. @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,...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in @zzzgenesis00/web3-utils-crypto (npm)
Details
@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.
Decision reason
OpenSSF Malicious Packages via OSV confirms @zzzgenesis00/web3-utils-crypto@1.10.4 as malicious (MAL-2026-12125): Malicious code in @zzzgenesis00/web3-utils-crypto (npm)