array-frames
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-24hx-4mc8-g9q7
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in array-frames (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (dd9461945c1bccc858c52f79e13624b33fb8cdfc37c889de48907b8464779063)
The npm package [email protected] advertises a trivial array chunking utility but ships an obfuscator.io-wrapped payload as its main module. On require(), a top-level IIFE in array-frames.js creates a hidden directory under os.homedir(), writes a decoded main.js and a synthetic package.json declaring dependencies on axios, better-sqlite3, node-machine-id, socket.io-client (plus ffi-napi on win32), spawns npm install in that directory via process.execPath, and then launches the staged payload detached with unref(). On Windows the dropper additionally writes a.vbs shim and, when %WINDIR%\system32\wscript.exe is present, launches the payload through wscript.exe with windowsHide:true and detached:true to survive parent-process exit and hide the window; it falls back to a detached node launch otherwise. The staged main.js is itself a second nested obfuscator.io program. The package impersonates Blake Embrey's node-frames/array-frames utility — README badges and install instructions point at npmjs.org/package/node-frames and github.com/blakeembrey/node-frames, package.json reuses the author identity [email protected], and dependencies self-reference "array-frames":"^2.3.6" — none of which matches the actual obfuscated dropper body.
Source: ghsa-malware (38a4bbd8beafd75d94c96dc4a3b5e3149b363dcf9d5ad0fb1ce2342a1af3846a)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Not rated by the source.
0 (semver)None 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