Malicious code in mc-provider (npm)
Description
The npm package 'mc-provider' impersonates a legitimate Cosmos chain registry package but instead loads and re-exports malicious code from an unrelated package named 'supersig'. This results in attacker-controlled RPC and signing operations being silently inserted into dependent applications. Installation of this package compromises the host system, potentially exposing all stored secrets and keys.
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 'mc-provider' npm package falsely presents itself as a Cosmos chain registry by copying legitimate README content and bundling decoy JSON files. However, its main entry point dynamically imports the unrelated 'supersig' package and re-exports its HttpProvider, redirecting RPC and signing traffic to attacker-controlled code. This behavior enables silent injection of malicious RPC/signing functionality into wallets or decentralized applications that depend on 'mc-provider'. The package's presence indicates a full system compromise risk.
Potential Impact
Any system with 'mc-provider' version 1.0.10 installed or running should be considered fully compromised. Attackers gain control over RPC and signing operations, potentially exposing all secrets and keys stored on the system. Removal of the package alone does not guarantee eradication of all malicious software introduced. Immediate rotation of all secrets and keys from a separate, trusted system is necessary.
Mitigation Recommendations
Remove the 'mc-provider' package version 1.0.10 immediately. Rotate all secrets and keys stored on the affected system from a different, secure computer. Due to the high risk of full system compromise, consider a full system audit and reinstallation from trusted sources. 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-14305
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-8r2v-hr8v-g7hw"]
- Ecosystems
- ["npm"]
Threat ID: 6a8d9ad4acd9273b493e141d
Added to database: 08/25/2026, 13:38:28 UTC
Last enriched: 09/10/2026, 19:21:17 UTC
Last updated: 10/02/2026, 22:39:43 UTC
Views: 23
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.