Malicious code in multicore-kit (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-15995
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (d643b52dafcb56aba0bd945697117be2a15447bcb4b183aabff3fa72824b75fb) [email protected] is published under a spoofed author identity (Blake Embrey, maintainer of array-flatten) and advertises itself as an array utility, but multicore-kit.js contains a heavily obfuscated top-level IIFE that fires on require(). On import it creates ~/.vs_cache, writes an obfuscated JavaScript payload plus a synthesized package.json declaring axios, better-sqlite3, node-machine-id, and socket.io-client (with @primno/dpapi and sudo-prompt added on Windows), spawns `npm install` inside that staging directory, and then executes the decoded payload with node (or via powershell.exe on Windows). The Windows dependency set (@primno/dpapi to unwrap the Chrome/Edge Local State DPAPI key, better-sqlite3 to read the Login Data SQLite databases, socket.io-client for a C2 channel, node-machine-id for host fingerprinting, sudo-prompt for privilege escalation) is the standard toolkit of a browser-credential stealer and is unrelated to any array-flatten functionality. The main module uses obfuscator.io-style string-array rotation with a base64+URI decoder, and the on-disk payload embeds a second layer of the same obfuscation. ## Source: ghsa-malware (d3fdc881b6222d77b38791a0c433e7344f958070355ae76c8e9e48429ab31056) 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.
- Source published
- 6 Sep 2026 03:03:50 UTC
- Source modified
- 8 Sep 2026 19:30:05 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.