{"id":"MAL-2026-12369","revision":"c336cfe4581f4bdabd24620bada1e18d","records":[{"revision":"c336cfe4581f4bdabd24620bada1e18d","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12369","aliases":[],"title":"Malicious code in elephant-array-utils (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d2cfcddc59bba26e90415bf89488d4a814e5c1db07091da5e46b07f7727e49bb)\nindex.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.\n","state":0,"publishedAt":"2026-08-05T12:32:11+00:00","modifiedAt":"2026-08-05T13:35:21.7230466+00:00","affected":[{"ecosystem":"npm","name":"elephant-array-utils","ranges":[],"versions":["1.0.6"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/elephant-array-utils/v/1.0.6"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12369","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12369","identifiers":["MAL-2026-12369"]},"retained":false,"historicalAffected":[]}],"coverage":[]}