{"id":"MAL-2026-11515","revision":"9d14fe36b4d346af895d482ceec14527","records":[{"revision":"9d14fe36b4d346af895d482ceec14527","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-11515","aliases":[],"title":"Malicious code in @zzzgenesis00/bip39-generator (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4029e4462d0c27bbfd619024ba7311a0ecefef1ce551dba08ea57e920047e246)\nPackage @zzzgenesis00/bip39-generator impersonates the bitcoinjs project (author field set to 'bitcoinjs', repo URL pointing at github.com/bitcoinjs/bip39-generator) while publishing under an unrelated scope. The package.json declares a postinstall hook that runs postinstall.js, which on `npm install` collects installer-owned secrets: contents of ~/.ssh (private key material), ~/.npmrc, ~/.gitconfig, presence of wallet directories for MetaMask, Exodus, Electrum, Bitcoin, Ethereum, Solana, and Ledger, Chrome and Firefox profile artifacts (Cookies, Login Data, key4.db), output of `npm whoami` and `git config`, and a curated set of credential env vars including NPM_TOKEN, AWS_*, GITHUB_TOKEN, *_PRIVATE_KEY, MNEMONIC, and SEED_PHRASE. The collected profile is transmitted over HTTPS to the Telegram Bot API using a hardcoded bot token and chat id, and additionally POSTed to 40f955f39128bd79-178-249-214-24.serveousercontent.com/collect, a serveo.net reverse-tunnel host. Execution is delayed by a randomized setTimeout (1500 + Math.random()*2000 ms) and uses scrambled identifiers (_zfg, _jam, _xwl, _tk, _ch, _co, _ex) to reduce scanner visibility.\n\n## Source: ossf-package-analysis (5cd50fa982c125844b76d3527f878bd6a171b497e86fd7cbcccfc56d22000da4)\nThe OpenSSF Package Analysis project identified '@zzzgenesis00/bip39-generator' @ 3.1.2 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n","state":0,"publishedAt":"2026-08-04T02:25:51+00:00","modifiedAt":"2026-08-04T22:04:52.3386957+00:00","affected":[{"ecosystem":"npm","name":"@zzzgenesis00/bip39-generator","ranges":[],"versions":["3.1.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@zzzgenesis00/bip39-generator/v/3.1.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-11515","license":"OSV · upstream source license applies","key":"osv:MAL-2026-11515","identifiers":["MAL-2026-11515"]},"retained":false,"historicalAffected":[]}],"coverage":[]}