Malware in react-svg-render
Malware discovered in the npm package react-svg-render. Systems with this package installed are considered fully compromised and require immediate remediation.
- Disclosed
- Last updated
- Blast radius
- Any system with the package installed or running
- Ecosystems
- Attack vectors
- Affected entities
- react-svg-render
The npm package react-svg-render has been identified as containing malware. According to the GitHub Advisory (GHSA-h2hr-f82c-f7h5), any computer with this package installed or running should be considered fully compromised.\n\nThe advisory recommends immediate action: all secrets and keys stored on affected computers should be rotated from a different, uncompromised system. The package should be removed, though full removal of all malicious software cannot be guaranteed given the potential for complete system compromise.\n\nThis represents a critical supply chain attack through a compromised package in the npm ecosystem, with potential impact to all systems that have installed or executed this dependency.
Indicators of compromise
- Packages
- react-svg-render
Remediation
- Immediately isolate any system with react-svg-render installed from the network
- Rotate all secrets, API keys, and credentials from a different, uncompromised computer
- Remove the react-svg-render package from all systems
- Perform a full security audit and malware scan on affected systems
- Review system logs and network traffic for signs of unauthorized access or data exfiltration
- Consider full system reimaging if compromise is suspected
- Audit all systems that may have been accessed from compromised machines
Sources
- GitHub Advisory GHSA-h2hr-f82c-f7h5 · GitHub Advisory Database
Cite this entry
"Malware in react-svg-render." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 6, 2026; last updated July 6, 2026. https://supplychainattack.org/incident/malware-in-react-svg-render-9qpc3a
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- activecritical
Malware in vite-plugin-compress-js
Malware discovered in the npm package vite-plugin-compress-js. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package - activecritical
Malware in webpack-cache-clean
The npm package webpack-cache-clean contains malware that grants full system compromise to an attacker. Any computer with this package installed or running should be considered fully compromised.
npmCompromised package - containedcritical
Malware in metrica-chain
The npm package metrica-chain was found to contain malware that grants full system compromise to attackers. Any computer with this package installed or running should be considered fully compromised and all secrets and keys rotated immediately from a different machine.
npmCompromised package - containedcritical
Malware in unique-id-64
The npm package unique-id-64 was found to contain malware. Any computer with this package installed or running should be considered fully compromised, with all secrets and keys requiring immediate rotation from a different system.
npmCompromised package