MAL-2026-14307
Malicious code in express-route-engine (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (8f54041362d71f16d1ee889c3992558cec28371030eaca4a3962ac0e9e3ec55d) On 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for express-route-engine (npm). Pin to a known-safe version or switch to an alternative.