chai-as-adapter (npm) · Malicious Code
Affects chai-as-adapterSource GCVE Database
0
Severity
HighRated by Threat Radar
Data as of 8 Sep 2026, 08:53 UTC
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmchai-as-adapter | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The best mitigation is to avoid using the chai-as-adapter package version 1.5.2. Users should remove this package from their projects and replace it with trusted alternatives. Monitor official advisories for updates or patches.
Description
The npm package chai-as-adapter version 1.5.2 contains malicious code that downloads and executes a command-and-control (C2) dropper from a remote URL. This behavior is similar to previously observed malware in related packages. No official patch or remediation guidance is currently provided.
References
Community reviews
Loading reviews…