Skip to main content

Malicious code in chai-as-chain-v2 (npm)

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

Description

The npm package chai-as-chain-v2 version 1.1.1 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 provided.

Affected software

npmghsa
chai-as-chain-v2
Affected versions
=1.1.1

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:36 UTC

Technical Analysis

The npm package chai-as-chain-v2 version 1.1.1 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 flagged as a malicious package rather than a typical vulnerability. There is no CVSS score or detailed vendor advisory available, and no known exploits in the wild have been reported.

Potential Impact

The malicious code in chai-as-chain-v2 can lead to remote code execution on systems that import this package, potentially allowing attackers to execute arbitrary commands or deploy additional malware. This poses a significant security risk to developers and environments that use this package.

Mitigation Recommendations

Avoid using the chai-as-chain-v2 package, especially version 1.1.1. Remove it from any projects and replace it with trusted alternatives. Since no official patch or fix is available, the best mitigation is to not use this package at all.

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-2886
Osv Schema Version
1.7.4
Aliases
["GHSA-89j2-wcf8-hqm3"]
Ecosystems
["npm"]

Threat ID: 6a96f319acd9273b49e49747

Added to database: 09/01/2026, 15:45:29 UTC

Last enriched: 09/08/2026, 08:53:36 UTC

Last updated: 09/10/2026, 19:38:50 UTC

Views: 10

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