MAL-2026-4622

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/normalize-path-seq/MAL-2026-4622.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4622
Aliases
  • GHSA-74x9-35vr-vx9c
Published
2026-05-25T17:50:44Z
Modified
2026-07-06T20:01:48Z
Summary
Malicious code in normalize-path-seq (npm)
Details

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

Source: amazon-inspector (048493f47bc6a8b0a61c93d14a9bfbbe5edd77baff2d2423870e3cc8b7099b0a)

On require, index.js invokes initPlugin() at the module top level, which performs an HTTPS GET to https://jsonkeeper.com/b/VL3WY, parses the response JSON, and passes the 'cookie' field to new Function.constructor('require', body)(require). This compiles attacker-controlled JavaScript and invokes it with the installer's require, granting arbitrary code execution with full Node.js privileges on every import. The payload host (jsonkeeper.com) is an anonymous paste service whose contents are mutable, so the executed code can change at any time without a package update. The package is also a typosquat of the widely-installed normalize-path: it impersonates the original author (Jon Schlinkert) in package.json and mimics the normalizePath API surface to lure consumers who mistype the dependency name.

Source: ghsa-malware (72df791955fa3a6c17ed65991ceb827e6f5c82846699195e5c809c8000337a8a)

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-004738",
            "import_time": "2026-05-26T05:53:11.338693301Z",
            "modified_time": "2026-05-25T17:50:44Z",
            "sha256": "048493f47bc6a8b0a61c93d14a9bfbbe5edd77baff2d2423870e3cc8b7099b0a",
            "source": "amazon-inspector",
            "versions": [
                "3.8.9"
            ]
        },
        {
            "id": "GHSA-74x9-35vr-vx9c",
            "import_time": "2026-07-06T19:53:47.929283891Z",
            "modified_time": "2026-07-06T18:54:53Z",
            "sha256": "72df791955fa3a6c17ed65991ceb827e6f5c82846699195e5c809c8000337a8a",
            "source": "ghsa-malware",
            "versions": [
                "3.8.9"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / normalize-path-seq

Package

Name
normalize-path-seq
View open source insights on deps.dev
Purl
pkg:npm/normalize-path-seq

Affected ranges

Affected versions

3.*
3.8.9

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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "11a6d546753b08e334d90be5ea451b8a0c9c9d77e510ef5d1570d8b9d2cfe68a",
            "tlsh": "c041cfd92496a026c9b2e7a14f1bc80df32bd533335182c4b94cd2942fb176893e2f9d"
        },
        {
            "path": "package.json",
            "sha256": "b054919c1f036aa1d90842e2e75dbe7e2fd8241494ec04887e8cb1220057ad6f",
            "tlsh": "54f02728cea61d2349c4921b1d6856c219a08eab4d063c09778b980c1f5d6bf25fbf3c"
        }
    ],
    "package_integrity": [
        {
            "filename": "normalize-path-seq-3.8.9.tgz",
            "hashes": {
                "sha1": "25d68ab0e08557b6d7cc573579b1e03c49c64d32",
                "sha512_sri": "sha512-tsL9zumfmj1Xf4G//tN7g2pyPV8lVv+811U+Dbjn8EKOJ1PQKovw9puEEjsFULwdysBCBE8LGMhk3/3Ib9nu3Q=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/normalize-path-seq/MAL-2026-4622.json"