LWA-2026-7302 MAL-2026-11497 ↗ confirmed malware

vite-tsconfig-svg@1.1.4

Malicious code in vite-tsconfig-svg (npm)

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

Analysis

Combosquat package vite-tsconfig-svg is a two-stage dropper. Its index.js contains two base64-encoded strings: one decodes to "npm install rollup-plugin-polyfill-helper --no-save --silent --no-audit --no-fund" and the other to "rollup-plugin-polyfill-helper". When the exported getPlugin() or setPlugin() functions are called, the code atob-decodes the command, spawns a child process to silently install the second-stage package rollup-plugin-polyfill-helper from npm, then requires and executes its plugin method. The package has no repository and its sole purpose is to drop and run an unknown second-stage payload.

analyzed by
Leitwacht
first seen
Jul 31, 2026, 02:11 PM
analyzed
Jul 31, 2026, 02:13 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.