{"id":"MAL-2026-12125","revision":"e86e8427f74e4cef99e754103a41b43a","records":[{"revision":"e86e8427f74e4cef99e754103a41b43a","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12125","aliases":[],"title":"Malicious code in @zzzgenesis00/web3-utils-crypto (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c5f75dc3a679eaa0579352bb4d345acb84247d70f4e4db06e5de04ff6d20f4e5)\n@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.\n","state":0,"publishedAt":"2026-08-05T08:43:43+00:00","modifiedAt":"2026-08-05T10:05:41.0001781+00:00","affected":[{"ecosystem":"npm","name":"@zzzgenesis00/web3-utils-crypto","ranges":[],"versions":["1.10.4"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@zzzgenesis00/web3-utils-crypto/v/1.10.4"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12125","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12125","identifiers":["MAL-2026-12125"]},"retained":false,"historicalAffected":[]}],"coverage":[]}