LWA-2026-5710 MAL-2026-6200 ↗ confirmed malware

assert-kit@4.3.2

Malicious code in assert-kit (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1027 · Obfuscated Files or InformationT1071.001 · Web ProtocolsT1105 · Ingress Tool Transfer

Analysis

assert-kit@4.3.2 is a trojanized clone of the chai assertion library. On require(), it spawns a detached background Node.js process that makes an HTTP GET request to senpad[.]bounceme[.]net:6285/api/x-handler?key=River!Stone9Galaxy_Wind and executes the server's response as code via new Function("require", body), giving the attacker arbitrary code execution in the installer's environment. The payload is heavily obfuscated using javascript-obfuscator to hide the C2 URL and code structure. The package has no lifecycle hooks — infection occurs the moment the package is imported into any project.

analyzed by
Leitwacht
first seen
Jun 18, 2026, 09:54 AM
analyzed
Jun 18, 2026, 10:29 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.