MAL-2026-6827: Malicious code in chai-guard (npm)
The chai-guard npm package versions 1.0.0 and 1.2.3 contain malicious code that compromises any computer on which it is installed or running. The presence of this package indicates a full system compromise, requiring immediate rotation of all secrets and keys from a separate, trusted machine. Simply removing the package does not guarantee removal of all malicious software introduced by it.
AI Analysis
Technical Summary
The chai-guard npm package versions =1.0.0 and =1.2.3 are identified as containing malicious code that fully compromises affected systems. Installation or execution of these versions grants attackers potential full control over the host computer. Due to the severity of the compromise, all stored secrets and keys must be rotated immediately from a different, uncompromised system. Removal of the package alone is insufficient to ensure system integrity, as additional malicious software may persist.
Potential Impact
Any system with chai-guard versions 1.0.0 or 1.2.3 installed or running should be considered fully compromised. Attackers may have gained full control, putting all stored secrets, keys, and data at risk. This level of compromise requires urgent and comprehensive incident response, including secret rotation and system remediation.
Mitigation Recommendations
Remove the malicious chai-guard package immediately. Rotate all secrets and keys from a separate, trusted computer to prevent further unauthorized access. Because full system compromise is likely, consider rebuilding the affected system from a known good state. No official patch or fix is available; remediation relies on removal and incident response.
MAL-2026-6827: Malicious code in chai-guard (npm)
Description
The chai-guard npm package versions 1.0.0 and 1.2.3 contain malicious code that compromises any computer on which it is installed or running. The presence of this package indicates a full system compromise, requiring immediate rotation of all secrets and keys from a separate, trusted machine. Simply removing the package does not guarantee removal of all malicious software introduced by it.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The chai-guard npm package versions =1.0.0 and =1.2.3 are identified as containing malicious code that fully compromises affected systems. Installation or execution of these versions grants attackers potential full control over the host computer. Due to the severity of the compromise, all stored secrets and keys must be rotated immediately from a different, uncompromised system. Removal of the package alone is insufficient to ensure system integrity, as additional malicious software may persist.
Potential Impact
Any system with chai-guard versions 1.0.0 or 1.2.3 installed or running should be considered fully compromised. Attackers may have gained full control, putting all stored secrets, keys, and data at risk. This level of compromise requires urgent and comprehensive incident response, including secret rotation and system remediation.
Mitigation Recommendations
Remove the malicious chai-guard package immediately. Rotate all secrets and keys from a separate, trusted computer to prevent further unauthorized access. Because full system compromise is likely, consider rebuilding the affected system from a known good state. No official patch or fix is available; remediation relies on removal and incident response.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6827
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-29vw-5q5r-8jpw"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4c343927e9c797195facfc
Added to database: 07/06/2026, 23:03:21 UTC
Last enriched: 07/06/2026, 23:52:42 UTC
Last updated: 07/06/2026, 23:52:42 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.