Skip to main content

Malicious code in chai-as-adapter (npm)

0
High
Published: 04/15/2026 (04/15/2026, 22:05:03 UTC)
Source: GCVE Database
Product: chai-as-adapter

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

npmghsa
chai-as-adapter
Affected versions
=1.5.2

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

AILast updated: 09/08/2026, 08:53:29 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses