LWA-2026-4549 MAL-2026-5701 ↗ confirmed malware

vite-react-toolkit@1.0.1

Malicious code in vite-react-toolkit (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1071.001 · Web ProtocolsT1105 · Ingress Tool TransferT1564.003 · Hidden Window

Analysis

vite-react-toolkit@1.0.1 (published by [account] The file src/features/extras/config.js is a self-executing IIFE that fetches attacker-controlled JavaScript from hxxps://www[.]jsonkeeper[.]com/b/AAON3 using axios, then passes it through new Function("require", code) for arbitrary code execution. It is auto-imported as a module side-effect via src/features/plugins.js line 2 (import './extras/config.js'), meaning any require() or import of the package triggers the payload immediately — no lifecycle hooks needed. The payload retries up to 5 times and suppresses console.log to hide failure. The C2 host jsonkeeper[.]com allows the attacker to serve arbitrary updated payloads at any time.

analyzed by
Leitwacht
first seen
Jun 12, 2026, 05:20 AM
analyzed
Jun 12, 2026, 05:20 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.