Malicious code in chai-spycore (npm)
The npm package chai-spycore contains malicious code that fully compromises any computer on which it is installed or running. Removal of the package does not guarantee elimination of all malicious software introduced. Immediate rotation of all secrets and keys stored on the affected computer from a different device is strongly advised.
AI Analysis
Technical Summary
The npm package chai-spycore is identified as containing malicious code that compromises the host system completely. According to the source advisory, any system with this package installed should be considered fully compromised, with potential unauthorized control by an outside entity. The advisory warns that simply removing the package may not remove all malicious artifacts, and all secrets and keys stored on the compromised system must be rotated from a separate, secure computer.
Potential Impact
Full system compromise on any computer with the package installed or running. Potential unauthorized access to all secrets and keys stored on the system. Persistence of malicious software beyond removal of the package is possible.
Mitigation Recommendations
Remove the chai-spycore package immediately. Rotate all secrets and keys stored on the affected computer from a different, secure device. Consider the affected system fully compromised and perform a thorough investigation and remediation beyond package removal.
Malicious code in chai-spycore (npm)
Description
The npm package chai-spycore contains malicious code that fully compromises any computer on which it is installed or running. Removal of the package does not guarantee elimination of all malicious software introduced. Immediate rotation of all secrets and keys stored on the affected computer from a different device is strongly advised.
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 npm package chai-spycore is identified as containing malicious code that compromises the host system completely. According to the source advisory, any system with this package installed should be considered fully compromised, with potential unauthorized control by an outside entity. The advisory warns that simply removing the package may not remove all malicious artifacts, and all secrets and keys stored on the compromised system must be rotated from a separate, secure computer.
Potential Impact
Full system compromise on any computer with the package installed or running. Potential unauthorized access to all secrets and keys stored on the system. Persistence of malicious software beyond removal of the package is possible.
Mitigation Recommendations
Remove the chai-spycore package immediately. Rotate all secrets and keys stored on the affected computer from a different, secure device. Consider the affected system fully compromised and perform a thorough investigation and remediation beyond package removal.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6907
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-w3fq-7xj5-8gmv"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4cf0fdc9d9e3dbe31d4054
Added to database: 07/07/2026, 12:28:45 UTC
Last enriched: 07/07/2026, 12:32:20 UTC
Last updated: 07/29/2026, 04:51:41 UTC
Views: 68
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.