MAL-2026-14307
Dashboard / Malicious Package / MAL-2026-14307
MAL-2026-14307
Summary: Malicious code in express-route-engine (npm)
Details: 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.
Affected packages
Package
Name: express-route-engine
Purl: pkg:npm/express-route-engine
Affected ranges
Type: N/A
Events:
