MAL-2026-20555

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/array-native-utils/MAL-2026-20555.json
JSON Data
https://api.test.osv.dev/v1/vulns/MAL-2026-20555
Published
2026-11-25T06:28:21Z
Modified
2026-11-25T07:00:49Z
Summary
Malicious code in array-native-utils (npm)
Details

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

Source: amazon-inspector (73c3adbc7cf6c35da9b769e34d248e81ae22765b9930fee16480a60b034481a1)

The package is advertised as lightweight array utilities (flatten/compact/unique) but index.js top-level require loads a platform-specific.node binary that acts as a dropper. The native binaries locate an adjacent 10.9 MB high-entropy file named.napi_cache (no printable strings, consistent with an encrypted/packed blob), stage it to /tmp/. on Linux/macOS or %TEMP%...nc%lu.js on Windows, set executable/hidden attributes, and spawn it as a detached child via fork+setsid+execlp or CreateProcessA with 'node "%s"'. The JavaScript surface area (array utilities) is pure JS and has no legitimate need for a native addon, confirming the native module is pretext. Before firing, the binaries check an extensive list of CI/build and analysis indicators — GITHUB_ACTIONS, GITLAB_CI, CIRCLECI, JENKINS_URL, BUILDKITE, CODEBUILD_BUILD_ID, APPVEYOR, SEMAPHORE, TEAMCITY_VERSION, BITBUCKET_BUILD_NUMBER, /proc/1/cgroup, containerd, dockerinit, /proc/self/status TracerPid, IsDebuggerPresent, CheckRemoteDebuggerPresent, wireshark — to avoid executing in sandboxes, build farms, and researcher environments and run only on real developer or production hosts. Any process that requires this package outside such a gated environment will decrypt and execute attacker-controlled code with the privileges of the host process.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-023116",
            "import_time":  "2026-11-25T06:44:07.533217347Z",
            "modified_time":  "2026-11-25T06:28:21Z",
            "sha256":  "73c3adbc7cf6c35da9b769e34d248e81ae22765b9930fee16480a60b034481a1",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / array-native-utils

Package

Name
array-native-utils
View open source insights on deps.dev
Purl
pkg:npm/array-native-utils

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "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":  "80eca5a62e5a0f5e51398e6899471b345316a2132ce95683fda92086e044f06a",
            "tlsh":  "d901b1c93bf8714c166425f523edc686e4e1d421814e475dca8ea5b51ad4ca0af2ccff"
        },
        {
            "path":  "native.napi.node",
            "sha256":  "79c360453577d56f43f735418d436e7de1501c7a67d70743e606c908337bcebb",
            "tlsh":  "0472744bd2a0dd3ec4d86231598b527252a2d070ef30172f0f54a6fb2d97358ae7ae52"
        },
        {
            "path":  ".napi_cache",
            "sha256":  "831b424a4dfc85d5db8eb9b08250f1f5ec01dd81dbfd1c9e34a30537a34f17fe",
            "tlsh":  "e3b67c0fca09931d3d2819ed2c8f18d530ccadd86469df52f9ac8967e2548b9314f6eb"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "array-native-utils-1.0.0.tgz",
            "hashes":  {
                "sha1":  "8274b55fc079d1857be563d572fddcbb02b70419",
                "sha512_sri":  "sha512-7Sl3sdWXsDBDZgirqgt0d2NMxmAOvwIZgQFcTw/PwMJNfuH2uBLAKejqGFdgHVwk3VHeTveZ+LGgYw2LeWjujw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/array-native-utils/MAL-2026-20555.json"