LWA-2026-4369 MAL-2026-5576 ↗ confirmed malware

vite-tsconfig@1.1.2

Malicious code in vite-tsconfig (npm)

T1059.007 · JavaScriptT1105 · Ingress Tool TransferT1204.002 · Malicious FileT1564.003 · Hidden Window

Analysis

vite-tsconfig@1.1.2 ships a remote-code-execution implant in lib/mapProps.js. When a developer uses the configJson() middleware, it spawns a detached Node.js subprocess (detached:true, stdio:ignore, child.unref()) that fetches arbitrary code from jsonkeeper[.]com/b/LVKHJ and executes it via new Function("require", code) — giving the attacker full require() access. The TypeScript source src/mapProps.ts is deliberately omitted from the tarball (only the compiled JS and .d.ts are shipped). Publisher uses a throwaway email ([account]). This is a stealthy second-stage RCE loader that activates on API usage, not install.

analyzed by
Leitwacht
first seen
Jun 11, 2026, 05:26 PM
analyzed
Jun 11, 2026, 05:27 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.