LWA-2026-5826 MAL-2026-6300 ↗ confirmed malware

chalk-ultra@12.0.3

Malicious code in chalk-ultra (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1059 · Command and Scripting InterpreterT1105 · Ingress Tool TransferT1071.001 · Web Protocols

Analysis

chalk-ultra@12.0.3 is a combosquat of the popular chalk package that executes a remote code downloader on install. The postinstall script spawns a detached background Node.js process which fetches a payload from hxxps://jsonkeeper[.]com/b/AD9A2 via HTTP GET and evaluates the response's .cookie field as JavaScript using the Function constructor with full require access — enabling arbitrary code execution controlled by the remote endpoint. The package also ships a 262KB hex-encoded binary blob as a LICENSE file, consistent with encoded payload storage. The C2 URL (jsonkeeper[.]com/b/AD9A2) serves the dynamic stage-2 payload.

analyzed by
Leitwacht
first seen
Jun 22, 2026, 06:56 AM
analyzed
Jun 22, 2026, 06:57 AM

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.