Malware in chai-as-stringify
Malware discovered in the npm package chai-as-stringify. Systems with this package installed are considered fully compromised and require immediate remediation.
- Disclosed
- Last updated
- Blast radius
- Any system with chai-as-stringify installed or running
- Ecosystems
- Attack vectors
- Affected entities
- chai-as-stringify
The npm package chai-as-stringify has been identified as containing malware. According to the GitHub Advisory (GHSA-vh7h-h87g-qv6x), any computer with 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 compromise.\n\nThis represents a critical supply chain attack through a compromised package in the npm ecosystem, with potential for complete system compromise on any affected installation.
Indicators of compromise
- Packages
- chai-as-stringify
Remediation
- Immediately isolate any system with chai-as-stringify installed from the network
- Rotate all secrets, API keys, and credentials from a different, uncompromised computer
- Remove the chai-as-stringify package from all affected systems
- Perform a full security audit and malware scan of affected systems
- Review system logs and network traffic for signs of unauthorized access or data exfiltration
- Consider full system reimaging if complete compromise is suspected
Sources
- GitHub Advisory GHSA-vh7h-h87g-qv6x · GitHub Advisory Database
Cite this entry
"Malware in chai-as-stringify." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 23, 2026; last updated July 23, 2026. https://supplychainattack.org/incident/malware-in-chai-as-stringify-1fu3rx
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- containedcritical
Malware in eth-codergen
Malware was discovered in the npm package eth-codergen. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package - containedcritical
Malware in fs-extra-core
Malware was discovered in the npm package fs-extra-core. Systems with this package installed or running are considered fully compromised and require immediate remediation including secret rotation and package removal.
npmCompromised package - containedcritical
Malware in cktool-core
Malware was discovered in the npm package cktool-core. Systems with the package installed or running are considered fully compromised and require immediate remediation.
npmCompromised package - activecritical
Malware in lychee-norm-cache
Malware discovered in the npm package lychee-norm-cache. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package