Skip to main content
MalwarePublished

elephant-array-utils (npm) · Malicious Code

Affects elephant-array-utilsSource GCVE Database

0

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

Data as of 5 Aug 2026, 17:40 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12369

What to do

Remove elephant-array-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
npmelephant-array-utilsAffected
  • =1.0.6
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 'elephant-array-utils' version 1.0.6 contains heavily obfuscated malicious code that acts as a remote payload dropper. Upon requiring the package, it contacts a hardcoded IPv4 address to download an encrypted payload, decrypts it, writes it to disk, and executes it, enabling arbitrary code execution. The package name appears to be a typosquat lure. No official patch or remediation information is provided.

References

Community reviews

Loading reviews…