Malware in chai-as-attested
The npm package chai-as-attested contains malware that provides full system compromise to attackers. Any computer with this package installed should be considered fully compromised and all secrets and keys should be rotated immediately from a different machine.
- Disclosed
- Last updated
- Blast radius
- Any system with the package installed or running
- Ecosystems
- Attack vectors
- Affected entities
- chai-as-attestednpm package containing malware
The npm package chai-as-attested has been identified as containing malware. According to the GitHub Advisory (GHSA-v8fp-q6g9-vj9c), 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 computer. 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, given that the attacker may have gained full control of the system.\n\nThis is a critical supply chain attack affecting the npm ecosystem through a malicious package distribution."
Indicators of compromise
- Packages
- chai-as-attested
Remediation
- Immediately isolate any computer with chai-as-attested installed from the network
- Rotate all secrets, API keys, and credentials from a different, uncompromised computer
- Remove the chai-as-attested package from all systems
- Perform a full security audit and malware scan on affected systems
- Review system logs for any unauthorized access or activity
- Consider full system reimaging if full compromise is suspected
Sources
- GitHub Advisory GHSA-v8fp-q6g9-vj9c · GitHub Advisory Database
Cite this entry
"Malware in chai-as-attested." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 23, 2026; last updated June 23, 2026. https://supplychainattack.org/incident/malware-in-chai-as-attested-676dtm
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 crud-respect
The npm package crud-respect was found to contain malware. Any computer with this package installed or running should be considered fully compromised. All secrets and keys must be rotated from a different computer.
npmCompromised package - resolvedcritical
Malware in eslint-helper-1
Malware was discovered in the npm package eslint-helper-1, resulting in full system compromise for any computer with the package installed or running. All secrets and keys on affected systems should be rotated immediately from a different computer.
npmCompromised package - activecritical
Malware in onboarding-respects-modal
Malware discovered in the npm package onboarding-respects-modal. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package - resolvedcritical
Malware in new-mjs-eslint
The npm package new-mjs-eslint contained malware that provided full system compromise to attackers. Any computer with this package installed or running should be considered fully compromised.
npmCompromised package