MAL-2026-10009: Malicious code in chain-api-sdk (npm)
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.
AI Analysis
Technical Summary
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.
MAL-2026-10009: Malicious code in chain-api-sdk (npm)
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
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 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.
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 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.
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.