Malware in chai-as-thread
Malware discovered in the npm package chai-as-thread. The package grants full system compromise to attackers, requiring immediate removal and credential rotation from a clean system.
- Disclosed
- Last updated
- Blast radius
- Any system with the package installed or running
- Ecosystems
- Attack vectors
- Affected entities
- chai-as-thread
The npm package chai-as-thread has been identified as containing malware. According to the GitHub Security Advisory (GHSA-pjgc-4vf2-4cj7), any computer with this package installed or running should be considered fully compromised.\n\nThe advisory indicates that all secrets and keys stored on affected computers should be rotated immediately from a different, uncompromised system. While the package should be removed, the advisory notes that full control of the computer may have been given to an outside entity, meaning removal of the package alone may not eliminate all malicious software that resulted from installation.\n\nThis represents a critical supply chain attack through a compromised npm package with potential for complete system takeover.
Indicators of compromise
- Packages
- chai-as-thread
Remediation
- Immediately isolate any computer with chai-as-thread installed from the network
- Rotate all secrets, API keys, and credentials from a clean, uncompromised system
- Remove the chai-as-thread package from all affected systems
- Perform a full security audit and malware scan of affected systems
- Review system logs for any unauthorized access or activity during the period the package was installed
- Consider full system reimaging if complete compromise is suspected
Sources
- GitHub Advisory GHSA-pjgc-4vf2-4cj7 · GitHub Advisory Database
Cite this entry
"Malware in chai-as-thread." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 16, 2026; last updated July 16, 2026. https://supplychainattack.org/incident/malware-in-chai-as-thread-glqnor
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 nyt-cms
Malware discovered in the nyt-cms npm package. Systems with this package installed or running are considered fully compromised and require immediate remediation.
npmCompromised package - activecritical
Malware in ai-p2p
Malware discovered in the npm package ai-p2p. Systems with this package installed or running are considered fully compromised and require immediate remediation.
npmCompromised package - resolvedcritical
Malware in loader1
The npm package loader1 contained malware that provided full system compromise to attackers. Any computer with this package installed or running should be considered fully compromised.
npmCompromised package - containedcritical
Malware in vor8zakon
The npm package vor8zakon was found to contain malware that grants full system compromise to an outside entity. Any computer with this package installed or running should be considered fully compromised.
npmCompromised package