Malicious code in chai-use-chains (npm)
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.
AI Analysis
Technical Summary
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.
Malicious code in chai-use-chains (npm)
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
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-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.
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 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.