vite-config-react@1.3.1
Malicious code in vite-config-react (npm)
Analysis
vite-config-react@1.3.1 combosquats the Vite/React ecosystem as a config generator. While its entry point (src/index.js → createConfig) looks benign, plugins.js contains a side-effect import of './extras/config.js' that executes an IIFE at module-load time. That IIFE fetches a remote payload from jsonkeeper[.]com (hxxps://www[.]jsonkeeper[.]com/b/AAON3) using axios with custom headers and passes the response through new Function('require', code), granting the fetched payload full Node.js module access. This is a second-stage loader — the remote content can perform any action including credential exfiltration, backdoor installation, or worm propagation. The publisher (nathan333 / [account]
- analyzed by
- Leitwacht
- first seen
- Jun 11, 2026, 09:38 PM
- analyzed
- Jun 11, 2026, 09:43 PM
Related advisories
- openclaw-preview@2026.6.1
- one-intuit-help-system-utils@45.0.0
- internallib_v856@99.0.0
- params-valid-js@1.0.3
- @genie-auth/config@99.9.1
- vite-tsconfig@1.1.2
- chalk-plus-ts@1.0.3
- bubblestring@1.1.4
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.