express-route-engine
Affected
- Versions:
3.6.3
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in express-route-engine (npm)
---
_-= 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.
Not rated by the source.
3.6.3None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0