LWA-2026-7015 MAL-2026-11496 ↗ confirmed malware

vite-config-svg@1.1.7

Malicious code in vite-config-svg (npm)

T1059.007 · JavaScriptT1027 · Obfuscated Files or InformationT1105 · Ingress Tool Transfer

Analysis

vite-config-svg is a combosquat of the Vite build-tool ecosystem. Its exported getPlugin() and setPlugin() functions, documented as SVG file validators, instead spawn a child process that runs "npm install rollup-plugin-polyfill-helper --no-save --silent --no-audit --no-fund" and then require() the installed package. The command and package name are base64-encoded in the source to hide the payload. rollup-plugin-polyfill-helper is a known-malicious package published by the same account. Any consumer calling the exported API will silently install and load this malware.

analyzed by
Leitwacht
first seen
Jul 22, 2026, 06:27 AM
analyzed
Jul 22, 2026, 06:28 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.