{"id":"MAL-2026-14307","revision":"0dbab1bbc7de43eb9ba583f68e2830ea","records":[{"revision":"0dbab1bbc7de43eb9ba583f68e2830ea","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14307","aliases":[],"title":"Malicious code in express-route-engine (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8f54041362d71f16d1ee889c3992558cec28371030eaca4a3962ac0e9e3ec55d)\nOn require/import, index.js immediately invokes an initializer that HTTP-GETs a JSON document from https://api.jsonbin.io/v3/b/6a4f5816f5f4af5e29762c92, extracts the `record.cerookie` field, and executes its contents as JavaScript via `new (Function.constructor)('require',...)(require)`. The evaluated code runs with full Node.js privileges and access to `require`, and the payload is hosted on a third-party mutable JSON store controlled by the package author, so the executed code can change at any time without republishing. The file is cover-labeled as `normalize-path (ES6 safe version)` and contains an unused normalizePath helper and a `Safe request helper` comment to obscure the loader; the Function constructor is reached indirectly via `Function.constructor` and the payload field is named `cerookie` to reduce recognizability. The stated purpose (an Express route engine) has no legitimate need to fetch and evaluate remote code on load.\n","state":0,"publishedAt":"2026-08-19T22:21:52+00:00","modifiedAt":"2026-08-19T23:00:51.8002168+00:00","affected":[{"ecosystem":"npm","name":"express-route-engine","ranges":[],"versions":["3.6.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/express-route-engine/v/3.6.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14307","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14307","identifiers":["MAL-2026-14307"]},"retained":false,"historicalAffected":[]}],"coverage":[]}