Malware in react-emits
Malware was discovered in the npm package react-emits, resulting in full system compromise for any installation. The package should be removed immediately and all secrets and keys rotated from a clean system.
- Disclosed
- Last updated
- Blast radius
- Any system with react-emits installed or running
- Ecosystems
- Attack vectors
- Affected entities
- react-emits
A critical malware incident was identified in the npm package react-emits. According to the GitHub Advisory (GHSA-8gjf-85f5-p24f), 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. 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 compromise.\n\nThis represents a critical supply chain attack through a compromised package in the npm ecosystem, with potential for widespread impact across all systems that installed or executed the affected package.
Indicators of compromise
- Packages
- react-emits
Remediation
- Immediately remove the react-emits package from all affected systems
- Rotate all secrets, API keys, credentials, and authentication tokens from a clean, uncompromised computer
- Perform a full security audit and malware scan of any system that had react-emits installed
- Review system logs and network traffic for signs of unauthorized access or data exfiltration
- Consider the affected system(s) potentially compromised and plan for full rebuild if critical infrastructure
- Monitor for any unauthorized access attempts using previously stored credentials
Sources
- GitHub Advisory GHSA-8gjf-85f5-p24f · GitHub Advisory Database
Cite this entry
"Malware in react-emits." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 24, 2026; last updated August 24, 2026. https://supplychainattack.org/incident/malware-in-react-emits-1mqbi6
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 identitysecuretokenserv
Malware discovered in the npm package identitysecuretokenserv. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package - containedcritical
Malware in conversa-sdk
Malware was discovered in the conversa-sdk npm package. Systems with the package installed or running should be considered fully compromised, requiring immediate rotation of all secrets and keys from a different computer.
npmCompromised package - containedcritical
Malicious code in sm-session (npm)
The npm package sm-session (version 99.0.1) contains malicious preinstall and postinstall lifecycle scripts that beacon to a hardcoded IP address (16.192.173.5) over plain HTTP, exfiltrating installer host information. This is a dependency-confusion reconnaissance attack designed to identify which environments resolve the package name.
npmCompromised packageDependency confusion - containedcritical
Malicious code in sm-payment (npm)
The npm package sm-payment version 99.0.1 contains malicious preinstall and postinstall lifecycle scripts that contact a hardcoded bare IP address (http://16.192.173.5) over plain HTTP during installation. The behavior is consistent with reconnaissance beacons for dependency-confusion or namesquatting attacks.
npmCompromised packageDependency confusion