MAL-2026-11142

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/node-array-plus/MAL-2026-11142.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11142
Published
2026-07-28T13:35:08Z
Modified
2026-08-05T13:35:38.488038702Z
Summary
Malicious code in node-array-plus (npm)
Details

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

Source: amazon-inspector (e1ce58719e0587902be3a6436f329ce631317fe3a7c322d89f9c679cd6e1a744)

index.js is heavily obfuscated with a 312-entry rotated string array plus RC4/base64 decoders that hide identifiers and literals. On require(), the module builds a hardcoded IPv4 endpoint by concatenating four numeric octets, performs an HTTP GET against that endpoint, AES-256-CBC-decrypts the response using an MD5-derived key with an IV taken from the response, writes the plaintext to a file under os.homedir(), and executes it via child_process with windowsHide:true and cwd=os.homedir(). The package exposes no legitimate API surface (empty description, no exported functionality) — its sole effect on import is to drop and run remote code on the installer's machine. Obfuscation is used specifically to conceal the destination and the decrypt-drop-exec chain.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-07-28T14:19:58.668779055Z",
            "modified_time": "2026-07-28T13:35:08Z",
            "sha256": "e1ce58719e0587902be3a6436f329ce631317fe3a7c322d89f9c679cd6e1a744",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-010911",
            "versions": [
                "1.0.9"
            ]
        },
        {
            "import_time": "2026-08-05T13:08:52.134240732Z",
            "modified_time": "2026-08-05T13:04:13Z",
            "sha256": "40b0c2825705c60185bb3391c58ace7356e4f363483574bca9eb5d6e7c3a0f52",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-014870",
            "versions": [
                "1.1.9"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / node-array-plus

Package

Affected ranges

Affected versions

1.*
1.0.9
1.1.9

Database specific

cwes
[
    {
        "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."
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "node-array-plus-1.0.9.tgz",
            "hashes": {
                "sha512_sri": "sha512-XfF3tmRR9XzvQhEiUqlOeOfmO0q1nDWz+ZGopqmFf+aKt+UNgXyUgpo9UAGUaiEOshYJMWQj74I6n1u/s03+5A==",
                "sha1": "3467db23d2740ff19ceb01119d8b1a27d06c4207"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "ceb2868d3fd2f0a04237b0f76a1b6895e13aac9cb2cc9409f7a5f058fd58354d165b68",
            "sha256": "3a96c07468a2adea3fab5cdfdee801fdb557382a128b0e62b34f013400e5266d",
            "path": "index.js"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/node-array-plus/MAL-2026-11142.json"