Skip to main content

Malicious code in chai-use-chains (npm)

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

Description

The npm package chai-use-chains versions 1.2.6 and 1.2.7 contain 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. There is no official patch or remediation guidance provided. No known exploits in the wild have been reported.

Affected software

npmghsa
chai-use-chains
Affected versions
=1.2.6=1.2.7

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, 09:23:11 UTC

Technical Analysis

The npm package chai-use-chains, specifically versions 1.2.6 and 1.2.7, was found to include malicious code that, upon import, downloads a C2 dropper from https://jsonkeeper[.]com/b/FAWPU and executes it. This indicates the package acts as a malware delivery mechanism, similar to other malicious npm packages such as chai-await-test. The source of this information is the Amazon Inspector and the GCVE database, with an OSV identifier MAL-2026-2899 and GitHub advisory GHSA-x74q-vqg8-cc8f. No CVSS score or vendor patch information is available.

Potential Impact

The malicious code enables remote code execution by downloading and running a C2 dropper, potentially allowing attackers to control affected systems or deploy further malware. This compromises the security and integrity of environments that import these specific versions of the package.

Mitigation Recommendations

No official patch or remediation guidance is currently available. Users should immediately remove or avoid using chai-use-chains versions 1.2.6 and 1.2.7. Consider replacing the package with a trusted alternative and audit dependencies for similar malicious packages. Monitor for updates from the package maintainers or security advisories for remediation.

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-2899
Osv Schema Version
1.7.4
Aliases
["GHSA-x74q-vqg8-cc8f"]
Ecosystems
["npm"]

Threat ID: 6a96f319acd9273b49e49707

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

Last enriched: 09/08/2026, 09:23:11 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