Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

MAL-2026-10009: Malicious code in chain-api-sdk (npm)

0
Critical
Published: 07/09/2026 (07/09/2026, 11:26:45 UTC)
Source: GCVE Database
Product: chain-api-sdk

Description

The chain-api-sdk npm package is a malicious fork impersonating the legitimate multichain-crypto-wallet library. It includes a transitive dependency, mchain-sdk, which executes code at import time within the wallet context, potentially compromising private keys, mnemonics, and keystore data. Installing this package can lead to full system compromise. Immediate removal and secret rotation are strongly advised.

Affected software

npmghsa
chain-api-sdk
Affected versions
=0.2.11=0.2.10=0.2.12

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: 07/10/2026, 09:40:54 UTC

Technical Analysis

The chain-api-sdk package masquerades as the upstream multichain-crypto-wallet library by copying its README, badges, repository URL, and homepage. Unlike the legitimate library, it depends on a malicious package, mchain-sdk, which executes code immediately upon import. This behavior occurs in a sensitive wallet environment handling private keys and mnemonic data, making it a dependency-chain dropper. The malicious code can fully compromise any system where the package is installed, risking all stored secrets and keys. The affected versions are 0.2.10, 0.2.11, and 0.2.12. There is no CVSS score or known exploits in the wild reported yet.

Potential Impact

Systems with chain-api-sdk versions 0.2.10, 0.2.11, or 0.2.12 installed should be considered fully compromised. The malicious code executes in the context of wallet operations, potentially exposing private keys, mnemonics, and encrypted keystore data. This can lead to complete loss of control over secrets and keys stored on the affected system.

Mitigation Recommendations

Remove the chain-api-sdk package immediately from all affected systems. Rotate all secrets and keys that were stored or managed on the compromised systems using a separate, trusted environment. Due to the high risk of full system compromise, assume that the attacker may have persistent access and take appropriate incident response measures. No official patch or fix is available; avoidance and removal are the only mitigations.

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-10009
Osv Schema Version
1.7.4
Aliases
["GHSA-6vrp-3g92-phhf"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a50ba5068715ace4357ebc5

Added to database: 07/10/2026, 09:24:32 UTC

Last enriched: 07/10/2026, 09:40:54 UTC

Last updated: 07/10/2026, 09:40:54 UTC

Views: 2

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