Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

react-hot-svgnpm

react-hot-svg is a confirmed malicious npm package (MAL-2026-10439) that executes malicious code on install (malicious versions 1.1.4, 1.1.5, 1.1.7…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in react-hot-svg (npm)

MAL-2026-10439
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall react-hot-svg

What this malware does

index.js in react-hot-svg 1.1.4 hides both a shell command and a package name as base64 strings named svgValidateKey and svgValidatePattern. When any of the exported API surface (getPlugin, setPlugin, validateSvgContent) is invoked, the code decodes svgValidateKey via atob to the string npm install rollup-plugin-polyfill-handler --no-save --silent --no-audit --no-fund, spawns it via child_process.spawn with stdio: 'ignore', and on process exit require()s the base64-decoded module name rollup-plugin-polyfill-handler and immediately invokes its .getPlugin()() function. The --no-save --silent --no-audit --no-fund flags suppress output and prevent the added dependency from appearing in package.json or the lockfile. The obfuscation of both the command and the required module name, the SVG-themed cover identifiers, and the pattern of installing-then-requiring-then-executing an undeclared external package match a dropper that lands and executes attacker-controlled code from a separate npm package on any consumer who uses this library's advertised API.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Malicious versions

4 flagged
1.1.41.1.51.1.71.1.8

Indicators of compromise (SHA-256)

7c59d0dbdaeea673db1067ec280a93ab744a5fb5f60ba8938698b46fbddcae7c
847fe0ea93982597b0611e6fd23f1b77af40b7162baf338659fbff8deb7fb051
142fce5a88732863240ca4dcef3cc274f3fd64dd4475beb3f1e8c8b98d43f31c
454bc08e81599b3336a2636ca29dad413dab4e67a62c2af29865b82bc7facef3
a98c9c198ecac952cff40a19ca8641461d1a4dd954cfba681447a29a1c55f321

Detection & response playbook

Malicious package
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for react-hot-svg (4 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging react-hot-svg across your stack and pipelines.

  2. If you installed it — respond

    Remove react-hot-svg from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If react-hot-svg was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks react-hot-svg before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. react-hot-svg on npm has been identified as a malicious package (versions 1.1.4, 1.1.5, 1.1.7, 1.1.8 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-010205IN-MAL-2026-010202GHSA-46cj-57m5-r4wcIN-MAL-2026-011201IN-MAL-2026-011202

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks react-hot-svg-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

react-hot-svg (npm) malicious package — MAL-2026-10439 | O3 Security