LWA-2026-5399 MAL-2026-5936 ↗ confirmed malware

vite-config-field@1.1.0

Malicious code in vite-config-field (npm)

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

Analysis

Package impersonates the vite-plugin-pwa ecosystem by copying its README and package structure. When the Vite plugin's configFields() function is called during build, it spawns a detached child process (node ./dist/client/dev/reactopt.js) that fetches a second-stage payload from www[.]jsonkeeper[.]com/b/DDC6J using the custom header x-secret-key and executes it immediately via Function constructor with full require() access, enabling arbitrary remote code execution in the build context. The detached subprocess is spawned with stdio:ignore and unref'd so the install/build shows no visible output.

analyzed by
Leitwacht
first seen
Jun 15, 2026, 03:45 PM
analyzed
Jun 15, 2026, 03:46 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.