GHSA-xvv6-j32c-qxhp
Malicious code in express-route-engine (npm)
Auswirkung
## 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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/194dd8bdd319e55a901cff0a1ffcb9dd584b3b08/osv/malicious/npm/express-route-engine/MAL-2026-14307.json))
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | express-route-engine | = 3.6.3 | nicht erfasst |
Schwachstellenklasse
Referenzen
- GitHub-Advisory
- https://github.com/advisories/GHSA-xvv6-j32c-qxhp
- https://github.com/ossf/malicious-packages/blob/194dd8bdd319e55a901cff0a1ffcb9dd584b3b08/osv/malicious/npm/express-route-engine/MAL-2026-14307.json
- https://www.npmjs.com/package/express-route-engine/v/3.6.3
- https://github.com/ossf/malicious-packages/blob/71b5ccd62809b0f6e173eff59b5900130cf7fc02/osv/malicious/npm/express-route-engine/MAL-2026-14307.json