Skip to main content
MalwarePublished

array-native-utils (npm) · Malicious Code

Affects array-native-utilsSource GCVE Database

0

Malicious package : remove array-native-utils and rotate any secrets on hosts that installed it.

Data as of 25 Nov 2026, 08:46 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-20555

What to do

Remove array-native-utils from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmarray-native-utilsAffected
  • =1.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'array-native-utils' version 1.0.0 is a malicious package that masquerades as a lightweight array utility library. It includes a native binary that acts as a dropper, decrypting and executing attacker-controlled code on the host system. The malicious code avoids execution in sandboxed or CI environments by checking numerous environment indicators, aiming to run only on real developer or production machines. This behavior allows the attacker to execute arbitrary code with the privileges of the host process.

References

Community reviews

Loading reviews…