-= Per source details. Do not edit below this line.=-
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.
{
"malicious-packages-origins": [
{
"sha256": "d2cfcddc59bba26e90415bf89488d4a814e5c1db07091da5e46b07f7727e49bb",
"versions": [
"1.0.6"
],
"import_time": "2026-08-05T13:08:38.263259989Z",
"id": "IN-MAL-2026-014695",
"modified_time": "2026-08-05T12:32:11Z",
"source": "amazon-inspector"
}
]
}{
"package_integrity": [
{
"filename": "elephant-array-utils-1.0.6.tgz",
"hashes": {
"sha1": "bbdc393edf85170143540f78aa0ddea4c6cfb63e",
"sha512_sri": "sha512-1Oxnhdr7mQjRuBztPvWiIHIui/fPIT6j8elW5oZiY4Yo/kfBtM9g09j7XKZfTPN0EO5aWLrfDvIshLT5T4AltA=="
}
}
],
"evidence_files": [
{
"sha256": "d8616aaa40456633d7f26198e95be9544f4036f6bb01637b0c1fc976d60004c9",
"tlsh": "2db296c83fc1b0941623b0f76e1b6595e1396c89b28c9449f7a7b068fe18718e476f68",
"path": "index.js"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/elephant-array-utils/MAL-2026-12369.json"
[
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
}
]