{"id":"MAL-2026-5991","revision":"666ae2ed246040f9a4341aa3638cc728","records":[{"revision":"666ae2ed246040f9a4341aa3638cc728","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-5991","aliases":["GHSA-3pgv-795j-3ggc"],"title":"Malicious code in req-parmas-valid (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (063b7e2667c434784d0b5d2ce333ea700fbc17571da3f5f4fc7d0f03ac406bd0)\nPackage name `req-parmas-valid` impersonates the well-known `request` HTTP client (description copied verbatim as 'Simplified HTTP request client.', `bugs.url` points at `github.com/request/request/issues`, README and most source copied from upstream). Bolted onto the copied source is a malicious `middleware` export (also exposed as `reqValidator` and the package's default export) which spawns a detached `node lib/callers.js` child process. `lib/callers.js` performs an HTTPS GET to `https://www.jsonkeeper.com/b/DDC6J` (an anonymous, mutable paste host), reads the `Cookie` field of the JSON response, and evaluates it via `new Function.constructor(\"require\", s)(require)` — handing the fetched bytes full Node `require` capability with no integrity check, no pinning, and a payload host completely alien to the package's advertised purpose. Any consumer that imports and uses the middleware (the obvious Express-style API shape) executes arbitrary remote code controlled by whoever currently owns the paste.\n","state":0,"publishedAt":"2026-06-17T04:20:22+00:00","modifiedAt":"2026-09-01T11:31:20.6060878+00:00","affected":[{"ecosystem":"npm","name":"req-parmas-valid","ranges":[],"versions":["1.0.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/req-parmas-valid/v/1.0.2","https://github.com/advisories/GHSA-3pgv-795j-3ggc"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-5991","license":"OSV · upstream source license applies","key":"osv:MAL-2026-5991","identifiers":["MAL-2026-5991","GHSA-3pgv-795j-3ggc"]},"retained":false,"historicalAffected":[]}],"coverage":[]}