{"id":"MAL-2026-10585","revision":"a08179dd34114ff1ab5010cd2e5a4bc3","records":[{"revision":"a08179dd34114ff1ab5010cd2e5a4bc3","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10585","aliases":[],"title":"Malicious code in cheeriobox (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1160a4c1ee0340e9897a42a75d735750b7d92fc887bef135a5a979c371356df4)\ncheeriobox@1.0.0 is a delivery vehicle for install-time credential theft. package.json declares a postinstall hook that runs `node.init.js`, which enumerates roughly 60 credential-shaped environment variables (including NPM_TOKEN, GITHUB_TOKEN, AWS_SECRET_ACCESS_KEY, GCP, Azure, Stripe, and Docker tokens), reads home-directory secret files (~/.npmrc, ~/.env*, ~/config.json, ~/credentials.json), scans ~/.config for files matching token/cred/secret patterns, and collects host reconnaissance (os.hostname(), os.platform(), process.cwd(), process.pid, plus CI-detection flags such as CI/GITHUB_ACTIONS/GITLAB_CI). The collected data is POSTed as JSON to a hardcoded endpoint at webhook.cool (path /at/tender-deer-80/...). index.js exports an empty object, so the package has no legitimate library functionality — its only effect on install is credential exfiltration, with CI environments explicitly targeted.\n","state":0,"publishedAt":"2026-07-14T14:00:08+00:00","modifiedAt":"2026-07-14T14:49:18.973789+00:00","affected":[{"ecosystem":"npm","name":"cheeriobox","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/cheeriobox/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10585","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10585","identifiers":["MAL-2026-10585"]},"retained":false,"historicalAffected":[]}],"coverage":[]}