OpenSSF/OSV advisory MAL-2026-11142 confirms this npm version as malicious. 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...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in node-array-plus (npm)
Details
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.
Decision reason
OpenSSF Malicious Packages via OSV confirms node-array-plus@1.0.9 as malicious (MAL-2026-11142): Malicious code in node-array-plus (npm)