MAL-2026-14307

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/express-route-engine/MAL-2026-14307.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14307
Published
2026-08-19T22:21:52Z
Modified
2026-08-19T23:00:51Z
Summary
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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-018429",
            "import_time": "2026-08-19T22:42:50.923319971Z",
            "modified_time": "2026-08-19T22:21:52Z",
            "sha256": "8f54041362d71f16d1ee889c3992558cec28371030eaca4a3962ac0e9e3ec55d",
            "source": "amazon-inspector",
            "versions": [
                "3.6.3"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / express-route-engine

Package

Name
express-route-engine
View open source insights on deps.dev
Purl
pkg:npm/express-route-engine

Affected ranges

Affected versions

3.*
3.6.3

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "d5fb9d5f33e208b9ba37dc361cfc2dbf51a2c64ed0c5a890c95bd2da587a0cca",
            "tlsh": "4a41e1d924fa6115c1a3e1810e8f8409f22be1133359dac5b98c53546fd07b8a7f2b8a"
        }
    ],
    "package_integrity": [
        {
            "filename": "express-route-engine-3.6.3.tgz",
            "hashes": {
                "sha1": "c387ca03334bad4dddc553819495877db0259148",
                "sha512_sri": "sha512-onNPWjvKK6E7IPLMAFOewxajTn4OjRXSgIWtVJbTiGBB1LKpjRShmqCV1E3qNXEcV7BIo7LkK8YhL9qAIsUhhQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/express-route-engine/MAL-2026-14307.json"