Malicious code in chai-as-test (npm)
Description
The npm package 'chai-as-test' version 1.2.9 contains malicious code. This package is identified as a malicious package in the npm ecosystem. There is no CVSS score or detailed technical description available. No known exploits in the wild have been reported. No patch or remediation information is provided.
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-as-test' npm package version 1.2.9 has been identified as containing malicious code, as documented by the MAL-2026-7240 entry in the OSV database and associated with the GHSA-xh92-hmq7-9q9m advisory. There is no detailed technical information or CVSS score available, and no known exploits have been reported. No patch or remediation guidance is provided in the available data.
Potential Impact
The presence of malicious code in the package could lead to compromise of systems that install and run this specific version (1.2.9) of 'chai-as-test'. However, no specific impact details or exploitation reports are available.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory or npm security advisories for current remediation guidance. Until then, avoid using version 1.2.9 of 'chai-as-test' and consider removing or replacing it with a trusted alternative.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-7240
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-xh92-hmq7-9q9m"]
- Ecosystems
- ["npm"]
Threat ID: 6a96f319acd9273b49e49723
Added to database: 09/01/2026, 15:45:29 UTC
Last enriched: 09/08/2026, 09:08:30 UTC
Last updated: 10/04/2026, 06:12:32 UTC
Views: 29
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.