Malicious code in chai-guard (npm)
The npm package 'chai-guard' versions 1.0.0 and 1.2.3 contain malicious code that fully compromises any computer on which it is installed or running. The compromise is severe enough that all secrets and keys stored on the affected computer should be rotated immediately from a different, trusted machine. Removing the package alone 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 have been identified as containing malicious code. Installation or execution of these versions results in a full compromise of the host system, potentially allowing an attacker complete control. Due to the severity of the compromise, secrets and keys stored on the affected system must be rotated from a separate, secure environment. The package removal does not ensure complete remediation, as additional malicious software may persist on the system.
Potential Impact
Systems with 'chai-guard' versions 1.0.0 or 1.2.3 installed or running are fully compromised. Attackers may have complete control over the affected machine, risking exposure and theft of sensitive information including secrets and keys. The compromise may persist beyond removal of the package, indicating potential for ongoing unauthorized access or malicious activity.
Mitigation Recommendations
Immediate removal of the 'chai-guard' package versions 1.0.0 and 1.2.3 is required. All secrets and keys stored on the compromised system must be rotated from a separate, trusted computer. Due to the possibility of persistent malicious software beyond the package itself, a full system investigation and remediation is recommended. No official patch or fix is available; therefore, avoidance of these package versions is critical.
Malicious code in chai-guard (npm)
Description
The npm package 'chai-guard' versions 1.0.0 and 1.2.3 contain malicious code that fully compromises any computer on which it is installed or running. The compromise is severe enough that all secrets and keys stored on the affected computer should be rotated immediately from a different, trusted machine. Removing the package alone 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 have been identified as containing malicious code. Installation or execution of these versions results in a full compromise of the host system, potentially allowing an attacker complete control. Due to the severity of the compromise, secrets and keys stored on the affected system must be rotated from a separate, secure environment. The package removal does not ensure complete remediation, as additional malicious software may persist on the system.
Potential Impact
Systems with 'chai-guard' versions 1.0.0 or 1.2.3 installed or running are fully compromised. Attackers may have complete control over the affected machine, risking exposure and theft of sensitive information including secrets and keys. The compromise may persist beyond removal of the package, indicating potential for ongoing unauthorized access or malicious activity.
Mitigation Recommendations
Immediate removal of the 'chai-guard' package versions 1.0.0 and 1.2.3 is required. All secrets and keys stored on the compromised system must be rotated from a separate, trusted computer. Due to the possibility of persistent malicious software beyond the package itself, a full system investigation and remediation is recommended. No official patch or fix is available; therefore, avoidance of these package versions is critical.
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"]
Threat ID: 6a4c343927e9c797195facfc
Added to database: 07/06/2026, 23:03:21 UTC
Last enriched: 09/12/2026, 20:31:27 UTC
Last updated: 09/14/2026, 08:53:40 UTC
Views: 88
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.