Malicious code in chai-as-adapter (npm)
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.
AI Analysis
Technical Summary
The npm package chai-as-adapter version 1.5.2 is identified as malicious. When imported, it downloads a C2 dropper from https://jsonkeeper[.]com/b/FAWPU and executes it, enabling potential remote control or further malicious activity. This package is part of the npm ecosystem and has been flagged by Amazon Inspector and the GCVE database. There is no CVSS score or detailed vendor advisory available, and no known exploits in the wild have been reported.
Potential Impact
Users who install and import chai-as-adapter version 1.5.2 risk executing malicious code that could lead to system compromise or unauthorized remote control. The malicious payload is a dropper that may facilitate further malware deployment or data exfiltration. No direct evidence of exploitation in the wild is currently known.
Mitigation Recommendations
No official patch or remediation is currently documented. 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.
Malicious code in chai-as-adapter (npm)
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.
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-as-adapter version 1.5.2 is identified as malicious. When imported, it downloads a C2 dropper from https://jsonkeeper[.]com/b/FAWPU and executes it, enabling potential remote control or further malicious activity. This package is part of the npm ecosystem and has been flagged by Amazon Inspector and the GCVE database. There is no CVSS score or detailed vendor advisory available, and no known exploits in the wild have been reported.
Potential Impact
Users who install and import chai-as-adapter version 1.5.2 risk executing malicious code that could lead to system compromise or unauthorized remote control. The malicious payload is a dropper that may facilitate further malware deployment or data exfiltration. No direct evidence of exploitation in the wild is currently known.
Mitigation Recommendations
No official patch or remediation is currently documented. 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.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-2885
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-38vm-pgm6-6g7p"]
- Ecosystems
- ["npm"]
Threat ID: 6a96f319acd9273b49e4974b
Added to database: 09/01/2026, 15:45:29 UTC
Last enriched: 09/08/2026, 08:53:29 UTC
Last updated: 09/10/2026, 19:38:50 UTC
Views: 4
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.