node-array-plus
Affected
- Versions:
1.0.9,1.1.9
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in node-array-plus (npm)
---
_-= 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.
Not rated by the source.
1.0.9, 1.1.9None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0