{"id":"MAL-2026-14342","revision":"c22a8b9b9dc04b1c84e76f0f0df16b8a","records":[{"revision":"c22a8b9b9dc04b1c84e76f0f0df16b8a","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14342","aliases":[],"title":"Malicious code in coin-fees (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f47c61fd59fb65dc8c8932e3e913dd83f18fc8af1d5f06b03cae327228821703)\npackage.json declares a postinstall hook that runs index.js on every install. The script hex-decodes and concatenates a hardcoded destination hostname resolving to gwfqp5cm9r2jfs3d6mjpzt8y5pbkzanz.oastify.com (a Burp Collaborator subdomain), then sleeps a randomized 30-120 seconds and issues HTTP POSTs on port 80 carrying: os.hostname, platform, arch, cwd, whoami/id/uname output, the contents of package.json, the full process.env, the contents of ~/.npmrc (which normally holds npm _authToken values), `npm root -g`, local port scan results, and Windows recon (ver, tasklist, USERPROFILE). The payload exits silently when CI, GITHUB_ACTIONS, GITLAB_CI, JENKINS_HOME, npm audit/pack/publish flags, /.dockerenv, or docker/kubepods cgroups are detected, and exports a benign-looking function as a facade. The exfiltrated ~/.npmrc auth tokens and environment variables give the operator credentials to publish malicious versions of the installer's other packages and to access CI cloud secrets.\n","state":0,"publishedAt":"2026-08-21T03:07:50+00:00","modifiedAt":"2026-08-21T03:30:11.8105065+00:00","affected":[{"ecosystem":"npm","name":"coin-fees","ranges":[],"versions":["20.1.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/coin-fees/v/20.1.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14342","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14342","identifiers":["MAL-2026-14342"]},"retained":false,"historicalAffected":[]}],"coverage":[]}