VDB
KO

MAL-2026-11142

Malicious code in node-array-plus (npm)

Details

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

## Source: amazon-inspector (e1ce58719e0587902be3a6436f329ce631317fe3a7c322d89f9c679cd6e1a744) index.js is heavily obfuscated with a 312-entry rotated string array plus RC4/base64 decoders that hide identifiers and literals. On require(), the module builds a hardcoded IPv4 endpoint by concatenating four numeric octets, performs an HTTP GET against that endpoint, AES-256-CBC-decrypts the response using an MD5-derived key with an IV taken from the response, writes the plaintext to a file under os.homedir(), and executes it via child_process with windowsHide:true and cwd=os.homedir(). The package exposes no legitimate API surface (empty description, no exported functionality) — its sole effect on import is to drop and run remote code on the installer's machine. Obfuscation is used specifically to conceal the destination and the decrypt-drop-exec chain.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / node-array-plus

No fixed version published yet for node-array-plus (npm). Pin to a known-safe version or switch to an alternative.

References