MAL-2026-6661

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/clx-cookieparser/MAL-2026-6661.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6661
Aliases
  • GHSA-jpg2-3r22-63v7
Published
2026-06-29T16:33:55Z
Modified
2026-07-08T23:01:47.456755198Z
Summary
Malicious code in clx-cookieparser (npm)
Details

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

Source: amazon-inspector (29b7ab13cd76393ea58b540ccf13b4ab4660edb4fac210d86a67e51b45fa1d0c)

Package ships a verbatim copy of the Express 'cookie-parser' middleware under a different name ('clx-cookieparser') and declares a repository field 'expressjs/clx-cookieparser' that does not exist under the expressjs GitHub organization, suggesting unauthorized association with the upstream project. The shipped code (index.js requires 'cookie' and 'cookie-signature' and re-implements cookie-parser) contains no network I/O, no install/lifecycle scripts, no obfuscation, and no credential handling — there is no demonstrated installer-side harm. The concern is name/metadata confusion: a developer searching for or mistyping 'cookie-parser' could install this lookalike, and the false repository attribution amplifies the confusion. Routing to human review so a maintainer can assess intent (benign mirror vs. squat positioning) and registry action.

Source: ghsa-malware (2fe4e10a5059e10daab1da62d3a625251bd2a87d1570966423f7ee26c49fff47)

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": [
        {
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-jpg2-3r22-63v7",
            "source": "ghsa-malware",
            "import_time": "2026-06-29T17:14:01.285815775Z",
            "sha256": "2fe4e10a5059e10daab1da62d3a625251bd2a87d1570966423f7ee26c49fff47",
            "modified_time": "2026-06-29T16:33:55Z"
        },
        {
            "sha256": "38c6a4f8363234389473468040344ac64c99370feeef2776f14c29722b165da2",
            "id": "IN-MAL-2026-008577",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T20:32:46.47538819Z",
            "modified_time": "2026-07-08T20:31:17Z",
            "versions": [
                "1.4.6"
            ]
        },
        {
            "modified_time": "2026-07-08T20:31:47Z",
            "id": "IN-MAL-2026-008581",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T20:32:46.900635104Z",
            "sha256": "e01e589ff24746039e561faaed378df98aff9a728ee037ec8a664d55c74cc814",
            "versions": [
                "1.4.9"
            ]
        },
        {
            "sha256": "190774ec03c36ad55f763cdc2d26ec958809f77a2cb5d34ae2c864d0212cb798",
            "id": "IN-MAL-2026-008583",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T21:27:48.42009733Z",
            "modified_time": "2026-07-08T20:32:03Z",
            "versions": [
                "1.5.1"
            ]
        },
        {
            "modified_time": "2026-07-08T22:33:13Z",
            "id": "IN-MAL-2026-008787",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T22:51:20.160274469Z",
            "sha256": "e90f6b95d11d5b4da6138cae22a57a2c55d0444858d92283c5ea3198dc5ffd0f",
            "versions": [
                "1.4.5"
            ]
        },
        {
            "sha256": "29b7ab13cd76393ea58b540ccf13b4ab4660edb4fac210d86a67e51b45fa1d0c",
            "id": "IN-MAL-2026-008784",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T22:51:19.81536988Z",
            "modified_time": "2026-07-08T22:32:41Z",
            "versions": [
                "1.4.4"
            ]
        },
        {
            "modified_time": "2026-07-08T22:33:04Z",
            "id": "IN-MAL-2026-008786",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T22:51:20.030487254Z",
            "sha256": "7ae84a5e939b048d6ca5d9fc8f4787d98896762e155e494c35b7d4e3f0887a40",
            "versions": [
                "1.4.8"
            ]
        },
        {
            "sha256": "d246c13ff6827d6befce1e658a11eca9b23cdfd9f314554ee50f01b0c929255c",
            "id": "IN-MAL-2026-008790",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T22:51:20.493377085Z",
            "modified_time": "2026-07-08T22:33:38Z",
            "versions": [
                "1.4.7"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / clx-cookieparser

Package

Affected ranges

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

Affected versions

1.*
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8
1.4.9
1.5.1

Database specific

indicators
{
    "evidence_files": [
        {
            "path": "package.json",
            "tlsh": "29219d33d5480c2742f496a9bc7812c2f1125b8f4192cc0fb5b9231c8fb36a348a6fb6",
            "sha256": "a4de332c627cd9ae27b43e0f3d41d05a93f550988469c4dda29f130ab202dfcd"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/clx-cookieparser/MAL-2026-6661.json"
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]