{"id":"MAL-2026-16048","revision":"b752abe5cda34e7c88e9583268c53949","records":[{"revision":"b752abe5cda34e7c88e9583268c53949","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-16048","aliases":[],"title":"Malicious code in punypump (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6e56cc14096d20f679823bf15af9f44dff039e01f23d2082eba8020200d04a7f)\nThe package presents itself as a console shim (index.js is a verbatim copy of console-browserify with description 'Emulate console for all the browsers'), but also ships library.js and test/sessionCtrl.js which auto-execute a stager on module load via initializeService().catch(...). The stager fetches an opaque blob from a base64-hidden URL (config.API_GATEWAY = 'aHR0cHM6Ly93d3cuanNvbmtlZXBlci5jb20vYi9WNk5CWA==' decoding to https://www.jsonkeeper.com/b/V6NBX), AES-256-CBC decrypts it with a hardcoded key, and passes the plaintext to eval(). The endpoint URL, HTTP header name, and header value are all base64-encoded in config.js. Content served from the jsonkeeper.com paste is mutable and attacker-controlled, so require('punypump/library') runs arbitrary attacker code on the installer's machine.\n","state":0,"publishedAt":"2026-09-08T19:05:28+00:00","modifiedAt":"2026-09-09T02:00:05.6388207+00:00","affected":[{"ecosystem":"npm","name":"punypump","ranges":[],"versions":["1.2.4","1.2.5","1.2.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/punypump/v/1.2.4","https://www.npmjs.com/package/punypump/v/1.2.5","https://www.npmjs.com/package/punypump/v/1.2.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-16048","license":"OSV · upstream source license applies","key":"osv:MAL-2026-16048","identifiers":["MAL-2026-16048"]},"retained":false,"historicalAffected":[]}],"coverage":[]}