CRITICAL npm Malware

Malicious code in @array-util/subsearch (npm)

MAL-2026-11095 · GHSA-5xpc-8g9w-cwr8

Published · Modified

Dependency scanning

Check whether @array-util/subsearch is in your codebase

Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.

Description


__

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes