MAL-2026-11095

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@array-util/subsearch/MAL-2026-11095.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11095
Aliases
  • GHSA-5xpc-8g9w-cwr8
Published
2026-07-27T13:57:07Z
Modified
2026-08-05T06:35:06Z
Summary
Malicious code in @array-util/subsearch (npm)
Details

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

Source: amazon-inspector (793344e3c658f3649a113e29dd1124d979af9a7978f3159c55f8da6f6b3bc918)

The package's index.js is heavily obfuscated (string-array shift/rotate pattern with hex-encoded indices and a while(!![]) decoder loop). Obfuscation in a published npm library — particularly one whose advertised purpose ('subsearch' array utility) would not require it — is a notable signal because legitimate utility libraries are typically shipped readable or minified-but-not-string-array-encoded. However, the actual decoded behavior of the file has not been confirmed, and obfuscation alone is not proof of installer-side harm. Routing to human review so a reviewer can de-obfuscate index.js and verify whether the decoded code performs exfiltration, dropping, or silent-relay before any block decision.

Source: ghsa-malware (493d92c75a6ab0daa328300c9f6a6b177a8a4fd656b8f0431f60e11f1ef3e060)

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": "GHSA-5xpc-8g9w-cwr8",
            "import_time": "2026-07-28T02:02:02.938138Z",
            "modified_time": "2026-07-27T13:57:07Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "493d92c75a6ab0daa328300c9f6a6b177a8a4fd656b8f0431f60e11f1ef3e060",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-012994",
            "import_time": "2026-08-05T06:00:28.570002572Z",
            "modified_time": "2026-08-05T05:18:46Z",
            "sha256": "793344e3c658f3649a113e29dd1124d979af9a7978f3159c55f8da6f6b3bc918",
            "source": "amazon-inspector",
            "versions": [
                "1.0.3"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @array-util/subsearch

Package

Name
@array-util/subsearch
View open source insights on deps.dev
Purl
pkg:npm/%40array-util/subsearch

Affected ranges

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

Affected versions

1.*
1.0.3

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": "4102e142053ebcf58d15583f344421e518407e025a23c6b87785c25efb5310ac",
            "tlsh": "459265c83bc6b0b15633b0bbba0b6096f1b94c9d73899848f796f098fd64318d1b5758"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@array-util/subsearch/MAL-2026-11095.json"