MAL-2026-4556

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/express-enrouten-async/MAL-2026-4556.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4556
Aliases
  • GHSA-25jv-xr7c-mx67
Published
2026-05-22T18:36:43Z
Modified
2026-08-20T01:15:14Z
Summary
Malicious code in express-enrouten-async (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (f944bc544f9368e58a223e76e462ddec4ba325c728a233100182706ad8f0ae0e)

Package name mimics the legitimate express-enrouten route-discovery library, but the shipped index.js only hardcodes two demo routes rather than implementing automatic route discovery. The malicious mechanism is in package.json, which declares "node-fetch": "https://registry.ctzbg.com/express-enrouten-async/node-fetch" — a direct URL dependency pointing at a third-party, non-npm registry under a path namespaced to this package. On npm install, npm fetches and installs whatever tarball that URL serves as the installer's node-fetch, so any code requiring node-fetch in the host application loads attacker-controlled, unpinned, mutable bytes from a non-publisher domain. This is dependency-confusion-style supply-chain attack: the lookalike package name lures the install, and the URL-pinned fake node-fetch is the delivery vehicle for arbitrary code into the installer's dependency tree.

Source: ghsa-malware (cdb80cf068509a98c0d81e9d31a8ebc6ff50e535d01bb39f492cdd12f58fd51d)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-004244",
            "import_time": "2026-05-26T05:52:13.476298611Z",
            "modified_time": "2026-05-22T18:39:49Z",
            "sha256": "5d8f74bd578bedcd5395600fd615f05122d59e27e0a59318ee226d123c67092c",
            "source": "amazon-inspector",
            "versions": [
                "1.4.12"
            ]
        },
        {
            "id": "IN-MAL-2026-004243",
            "import_time": "2026-05-26T05:52:13.372950122Z",
            "modified_time": "2026-05-22T18:39:48Z",
            "sha256": "6ad6c1863bd00e262f6555b8e450c471e494e2f808c9f89ba09fa248689f8a24",
            "source": "amazon-inspector",
            "versions": [
                "1.4.12"
            ]
        },
        {
            "id": "IN-MAL-2026-004240",
            "import_time": "2026-05-26T05:52:13.049225066Z",
            "modified_time": "2026-05-22T18:36:43Z",
            "sha256": "92452005ac9e56af97c1209041f118aa294e5a5350a6df1e943cea1fdb0e0b5b",
            "source": "amazon-inspector",
            "versions": [
                "1.4.11"
            ]
        },
        {
            "id": "IN-MAL-2026-004239",
            "import_time": "2026-05-26T05:52:12.951657109Z",
            "modified_time": "2026-05-22T18:36:43Z",
            "sha256": "f944bc544f9368e58a223e76e462ddec4ba325c728a233100182706ad8f0ae0e",
            "source": "amazon-inspector",
            "versions": [
                "1.4.11"
            ]
        },
        {
            "id": "GHSA-25jv-xr7c-mx67",
            "import_time": "2026-08-20T01:06:54.012041103Z",
            "modified_time": "2026-08-19T15:26:19Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "cdb80cf068509a98c0d81e9d31a8ebc6ff50e535d01bb39f492cdd12f58fd51d",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / express-enrouten-async

Package

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

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.4.11
1.4.12

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "domains": [
        "registry.ctzbg.com"
    ],
    "evidence_files": [
        {
            "path": "package.json",
            "sha256": "c651bc94ba9a5b86e3dafeed5a59bc0ced2646ab0c64296b451d65806e2a1b5d",
            "tlsh": "811148b9cc245e130ec86762fcb91153ab528d0b4c49fc0a73ae61ac874d67b24bd46c"
        },
        {
            "path": "index.js",
            "sha256": "7b1a213f97b0828dfcda8477f93168b24c468ea22da945b2052bb8486943f685",
            "tlsh": "e7f081bd3eb1074555e7f3cef262d0431811cb10a509da12a3dde3f00e815565a82da4"
        }
    ],
    "package_integrity": [
        {
            "filename": "express-enrouten-async-1.4.12.tgz",
            "hashes": {
                "sha1": "6898c06be298e67752380a9773d00994a717d4b0",
                "sha512_sri": "sha512-PxA+Ou8SSZre8fsz5pbS4qOiIBXKOJt9J6Z9gikaLpmFgY9Xs684YaG7rnCChu5WABHi/uCkukbz2OGwaRoF+Q=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/express-enrouten-async/MAL-2026-4556.json"