LWA-2026-5840 MAL-2026-6276 ↗ confirmed malware

node-core-libs@1.0.0

Malicious code in node-core-libs (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1059.005 · Visual BasicT1071.001 · Web ProtocolsT1105 · Ingress Tool TransferT1070.004 · File Deletion

Analysis

node-core-libs@1.0.0 is a combosquat package impersonating Node.js core utilities. On Windows systems, the postinstall script XOR-decodes a C2 host (node22[.]lunes[.]host) and port (3258), then HTTP GETs /nl from the C2 to download a second-stage JavaScript payload. The payload is written to %TEMP%/ms_<random>.js. A VBS launcher script is written to %TEMP%/mv_<random>.vbs, which uses WScript.Shell to spawn node.exe silently in a hidden window, then deletes itself. The postinstall hook cleans its tracks by removing the postinstall entry from its own package.json and any node-fetch-utils/package.json, writes a marker file to the temp directory, and deletes itself.

analyzed by
Leitwacht
first seen
Jun 22, 2026, 05:27 PM
analyzed
Jun 22, 2026, 05:28 PM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.