{"id":"MAL-2026-11529","revision":"0aa51b9fb1874e8c857333668e115a1d","records":[{"revision":"0aa51b9fb1874e8c857333668e115a1d","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-11529","aliases":[],"title":"Malicious code in @zzzgenesis00/crypto-config (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0059f996b08ee001bad27a2ec933573651b171f5b4fcde2b1e12b7a4388c7ca3)\npostinstall.js runs automatically on `npm install` and enumerates installer-owned secret material: SSH private keys under ~/.ssh, ~/.npmrc, ~/.gitconfig, Chrome/Firefox profile cookie/login/key databases, cryptocurrency wallet directories (metamask, exodus, electrum, etc.), and a curated list of sensitive environment variables including NPM_TOKEN, AWS keys, GitHub tokens, ETHEREUM_PRIVATE_KEY, and MNEMONIC. It also invokes `npm whoami` and `git config user.email` to bind the exfil to a specific identity. The collected profile is sent via HTTPS GET to api.telegram.org using a hardcoded bot token and chat_id, and via HTTPS POST to a hardcoded serveousercontent.com tunnel endpoint at /collect; neither destination is caller-configurable. Delivery is jittered via setTimeout(1500 + Math.random()*2000) and identifiers throughout the script are mangled (_vaa, _zmj, _rlb, _cp, _ht, _tk, _ch, _co, _ex). The package name, author field (`lorenwest`, the maintainer of the legitimate `config` package), and homepage impersonate a benign configuration library, and index.js transparently proxies to the real `config` package when present as a cover for the install-time payload.\n","state":0,"publishedAt":"2026-08-04T22:08:55+00:00","modifiedAt":"2026-08-04T23:04:45.9424993+00:00","affected":[{"ecosystem":"npm","name":"@zzzgenesis00/crypto-config","ranges":[],"versions":["2.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@zzzgenesis00/crypto-config/v/2.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-11529","license":"OSV · upstream source license applies","key":"osv:MAL-2026-11529","identifiers":["MAL-2026-11529"]},"retained":false,"historicalAffected":[]}],"coverage":[]}