MAL-2026-11192

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/test2221/MAL-2026-11192.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11192
Published
2026-07-29T06:55:50Z
Modified
2026-08-05T14:37:25Z
Summary
Malicious code in test2221 (npm)
Details

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

Source: amazon-inspector (f6113dcb20ef051691e0cc0034132b94421604bd16a085229f75aae5c612a3d9)

package.json declares preinstall and postinstall lifecycle scripts that run curl against http://54.37.234.136/voicemail over plain HTTP, sending the installer's username (whoami), hostname, working directory, and a timestamp as query-string parameters. Both hooks fire automatically on npm install, transmitting installer host identifiers to a hardcoded bare-IP endpoint with no relation to any documented package purpose. The behavior matches reconnaissance-beacon shape suitable for follow-on targeting of the installer's host.

Source: ossf-package-analysis (178c9841a69c4a2de3ad248f8d4dbba8f004c8e8947a34f9e6ae12404183e6e2)

The OpenSSF Package Analysis project identified 'test2221' @ 2.2.4 (npm) as malicious.

It is considered malicious because:

  • The package executes one or more commands associated with malicious behavior.
Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-07-30T05:59:06.389847784Z",
            "modified_time": "2026-07-29T06:55:50Z",
            "sha256": "178c9841a69c4a2de3ad248f8d4dbba8f004c8e8947a34f9e6ae12404183e6e2",
            "source": "ossf-package-analysis",
            "versions": [
                "2.2.4"
            ]
        },
        {
            "id": "IN-MAL-2026-011087",
            "import_time": "2026-08-04T21:33:16.370042403Z",
            "modified_time": "2026-08-04T21:30:39Z",
            "sha256": "38741fd8a6f3ffcff6a34fbe07df84f5694996ca108b575078937d43906353d2",
            "source": "amazon-inspector",
            "versions": [
                "2.2.4"
            ]
        },
        {
            "id": "IN-MAL-2026-014942",
            "import_time": "2026-08-05T14:19:45.193681567Z",
            "modified_time": "2026-08-05T13:14:58Z",
            "sha256": "310867cf8d300cc2e3c9b9744cd9c4eb7df1b6ff855ee38e108e793fe556cbef",
            "source": "amazon-inspector",
            "versions": [
                "2.2.3"
            ]
        },
        {
            "id": "IN-MAL-2026-014934",
            "import_time": "2026-08-05T14:19:44.410850907Z",
            "modified_time": "2026-08-05T13:13:49Z",
            "sha256": "f6113dcb20ef051691e0cc0034132b94421604bd16a085229f75aae5c612a3d9",
            "source": "amazon-inspector",
            "versions": [
                "2.2.6"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / test2221

Package

Affected ranges

Affected versions

2.*
2.2.3
2.2.4
2.2.6

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
{
    "evidence_files": [
        {
            "path": "package.json",
            "sha256": "cbb1f7c1220c8e0bcf026e40b7769ce781b6bbc64f2c4a1dd4bc4f635e507e8e",
            "tlsh": "16e02b6c983979733ac0831c2c59c30a79855fbb1154ac0a6b435d0d1ddd27aa07b36b"
        }
    ],
    "package_integrity": [
        {
            "filename": "test2221-2.2.4.tgz",
            "hashes": {
                "sha1": "2f571c70a932ca92590a04707c66466a6b8de215",
                "sha512_sri": "sha512-HYGrh2sipjuoggF9za3Me1+s85fIR1stwNf1+FGr2Vj934LBcxg54+gpoQyMIO74epdc9Vme0OucKw1YY22Vyw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/test2221/MAL-2026-11192.json"