{"id":"MAL-2026-10584","revision":"3ee52d8d6d7c4637914c459741eb583d","records":[{"revision":"3ee52d8d6d7c4637914c459741eb583d","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10584","aliases":[],"title":"Malicious code in chalkdevx (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3e6c8e970ad81ccd02b4725232cbd0d145a20f08e42983097229563e35cac8ad)\npackage.json declares a postinstall hook that runs.init.js on npm install. The script enumerates ~65 credential and CI environment variables (NPM_TOKEN, GITHUB_TOKEN, AWS_SECRET_ACCESS_KEY, STRIPE_*, DOCKER_*, cloud provider tokens, private keys), reads home-directory credential files including ~/.npmrc, ~/.env*, config.json, and credentials.json, and scans ~/.config for files matching token/cred/secret patterns. Collected data — together with host identifiers (os.hostname(), os.platform(), cwd, pid) — is POSTed as JSON to a hardcoded https://webhook.cool/at/tender-deer-80/... endpoint, a public webhook-inspection service unrelated to any declared package purpose. The package's declared functionality is trivial (empty description, minimal index.js); the credential-harvesting postinstall is the package's actual behavior. The name resembles the popular `chalk` package.\n","state":0,"publishedAt":"2026-07-14T14:00:48+00:00","modifiedAt":"2026-07-14T14:49:17.3144416+00:00","affected":[{"ecosystem":"npm","name":"chalkdevx","ranges":[],"versions":["2.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/chalkdevx/v/2.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10584","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10584","identifiers":["MAL-2026-10584"]},"retained":false,"historicalAffected":[]}],"coverage":[]}