LWA-2026-5341 MAL-2026-5994 ↗ confirmed malware

ts-webplug@3.0.5

Malicious code in ts-webplug (npm)

T1059.007 · JavaScriptT1105 · Ingress Tool TransferT1071.001 · Web ProtocolsT1059 · Command and Scripting Interpreter

Analysis

ts-webplug is a malicious npm package that disguises itself as a logging middleware. When the exported middleware function is called (e.g. via app.use()), it spawns a detached Node.js child process running lib/caller.js. This child process silently fetches a JavaScript payload from hxxps://jsonkeeper[.]com/b/U2BTS over HTTP (with a custom header x-secret-key: _) and evaluates the response's cookie field as executable code using the Function constructor with require available, giving the attacker arbitrary remote code execution on the victim's system. The payload will retry up to 5 times if the fetch fails. The C2 staging host is jsonkeeper[.]com.

analyzed by
Leitwacht
first seen
Jun 15, 2026, 08:23 AM
analyzed
Jun 15, 2026, 08:26 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.