LWA-2026-6618 MAL-2026-10439 ↗ confirmed malware

react-hot-svg@1.1.5

Malicious code in react-hot-svg (npm)

T1195.002 · Compromise Software Supply ChainT1059 · Command and Scripting InterpreterT1105 · Ingress Tool TransferT1027 · Obfuscated Files or InformationT1564.001 · Hidden Files and Directories

Analysis

react-hot-svg@1.1.5 is a trojanized SVG utility. When a developer requires the module and calls getPlugin() or setPlugin(), the code decodes a base64-embedded command and spawns `npm install rollup-plugin-polyfill-handler --no-save --silent --no-audit --no-fund`, installing a second-stage package without saving it to package.json and suppressing all npm warnings. It then requires and executes that package. The second-stage package name typosquats the legitimate rollup-plugin-polyfill family. The package has no install hooks, so the payload only runs when the module's functions are explicitly called.

analyzed by
Leitwacht
first seen
Jul 11, 2026, 04:51 PM
analyzed
Jul 11, 2026, 04:52 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.