Malware in vite-config-svg
The npm package vite-config-svg was found to contain malware, potentially providing full system compromise to attackers. Any computer with this package installed or running should be considered fully compromised.
- Disclosed
- Last updated
- Blast radius
- Any system with the package installed or running
- Ecosystems
- Attack vectors
- Affected entities
- vite-config-svg
The npm package vite-config-svg was identified as containing malware. According to the GitHub Advisory (GHSA-qhvp-2j38-vcxv), any computer that has this package installed or running should be considered fully compromised.\n\nThe advisory recommends that all secrets and keys stored on affected computers be rotated immediately from a different, uncompromised system. While the package should be removed, there is no guarantee that removal will eliminate all malicious software that may have been installed as a result of the initial compromise.\n\nThis represents a critical supply chain attack through a compromised npm package with potential for complete system takeover.
Indicators of compromise
- Packages
- vite-config-svg
Remediation
- Immediately isolate any computer that has vite-config-svg installed or running from the network
- Rotate all secrets, API keys, credentials, and signing keys from a different, uncompromised computer
- Remove the vite-config-svg package from all affected systems
- Perform a full security audit and malware scan of affected systems
- Review all access logs and activity on affected systems for signs of unauthorized access or data exfiltration
- Consider the affected systems as potentially fully compromised and plan for complete rebuild if critical infrastructure
Sources
- GitHub Advisory GHSA-qhvp-2j38-vcxv · GitHub Advisory Database
Cite this entry
"Malware in vite-config-svg." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 31, 2026; last updated July 31, 2026. https://supplychainattack.org/incident/malware-in-vite-config-svg-1ggxjc
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 rollup-plugin-polyfill-helper
Malware was discovered in the npm package rollup-plugin-polyfill-helper. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package - activecritical
Malware in @peptide-packets/js-unimode
Malware discovered in the npm package @peptide-packets/js-unimode. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package - activecritical
Malware in @peptide-packets/peptide-modify
Malware discovered in the npm package @peptide-packets/peptide-modify. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package - activecritical
Malware in @sudoughnym/enviro-demo
Malware discovered in the npm package @sudoughnym/enviro-demo. Systems with this package installed are considered fully compromised and may have given outside entities full control of the computer.
npmCompromised package