{"id":"MAL-2026-15572","revision":"701a80b7f202460882206aea90f4d6d6","records":[{"revision":"701a80b7f202460882206aea90f4d6d6","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-15572","aliases":[],"title":"Malicious code in grafeno-payments (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7af58da84956e51749cbb96923f12264cfdee76456b5010b526599b7da2c0caa)\nOn `npm install`, package.json's preinstall hook (`node preinstall.js || true`) auto-runs a script that (1) enumerates process.env for keys matching AWS|TOKEN|KEY|SECRET|PASS|API, concatenates them with the machine's hostname and username, base64-encodes the blob, and exfiltrates it via `curl` GET to http://216.126.236.46/r.php over plain HTTP; and (2) on non-Windows hosts invokes `bash -i` with a /dev/tcp redirection to 216.126.236.46:4444, giving the remote endpoint an interactive shell on the installer's machine. The `|| true` suffix suppresses errors so `npm install` reports success while the payload runs. The package's stated payments purpose is a cover story; the shipped preinstall behavior is credential theft plus full-host remote code execution against the installer.\n","state":0,"publishedAt":"2026-08-29T23:10:48+00:00","modifiedAt":"2026-08-29T23:30:10.9191742+00:00","affected":[{"ecosystem":"npm","name":"grafeno-payments","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/grafeno-payments/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-15572","license":"OSV · upstream source license applies","key":"osv:MAL-2026-15572","identifiers":["MAL-2026-15572"]},"retained":false,"historicalAffected":[]}],"coverage":[]}