MAL-2026-12369
Dashboard / Malicious Package / MAL-2026-12369
MAL-2026-12369
Summary: Malicious code in elephant-array-utils (npm)
Details: Source: amazon-inspector (d2cfcddc59bba26e90415bf89488d4a814e5c1db07091da5e46b07f7727e49bb) index.js is a heavily obfuscated (obfuscator.io: rotated string array + RC4 decoder, control-flow flattening, hex literals) top-level IIFE with no functionality matching the advertised 'array utils' purpose. On require(), it constructs a hardcoded IPv4 address by concatenating four numeric literals, performs an https.get against that host, splits the response on ':' to obtain an IV and ciphertext, decrypts the payload with createDecipheriv using a Buffer-keyed cipher, writes the plaintext to a file under the current working directory, and executes it via child_process.exec with windowsHide:true. This is a canonical remote-payload dropper: any installer that requires the package hands arbitrary-code-execution to whoever controls the hardcoded IP. The obfuscation layer exists to hide the exfil/dropper URL, decryption key and command from static inspection. The generic package name is consistent with a typosquat lure.
Affected packages
Package
Name: elephant-array-utils
Purl: pkg:npm/elephant-array-utils
Affected ranges
Type: N/A
Events:
