LWA-2026-6373 MAL-2026-6969 ↗ confirmed malware

vite-json-pwa@1.1.1

Malicious code in vite-json-pwa (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool TransferT1071.001 · Web Protocols

Analysis

Combosquat of the legitimate @vite-pwa/json-config package. The package ships a file dist/client/dev/reactopt.js that, when loaded, fetches attacker-controlled code from hxxps://www[.]jsonkeeper[.]com/b/J7GQS and executes it via new Function("require", response.data.Cookie), giving the attacker arbitrary code execution in the installer's Node.js process. The main entry point (dist/index.mjs / dist/index.js) spawns this payload as a detached child process via spawn("node", [script, ...], {detached: true}) with stdio ignored, so it runs in the background.

analyzed by
Leitwacht
first seen
Jul 7, 2026, 07:38 AM
analyzed
Jul 7, 2026, 07:39 AM

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