MAL-2026-6662: Malicious code in cmp-api-stub (npm)
The npm package 'cmp-api-stub' contains malicious code that compromises any computer on which it is installed or running. Installation of this package may lead to full system compromise, including unauthorized access to secrets and keys stored on the affected machine. Removal of the package alone may not fully eliminate the malicious presence, as the attacker could have established persistent control.
AI Analysis
Technical Summary
The 'cmp-api-stub' npm package is identified as malicious software. According to the source details, any system with this package installed should be considered fully compromised. Attackers may have gained full control over the affected computer, potentially accessing all stored secrets and keys. Immediate rotation of all credentials from a separate, secure machine is recommended. The package removal is advised but may not guarantee complete eradication of the malicious software introduced by the package.
Potential Impact
Full system compromise on any computer with the 'cmp-api-stub' package installed or running. All secrets and keys stored on the compromised machine are at risk and should be considered exposed. The attacker may maintain persistent access beyond the presence of the package itself.
Mitigation Recommendations
Remove the 'cmp-api-stub' package immediately. Rotate all secrets and keys from a different, secure computer to prevent unauthorized access. Because the system may be fully compromised, consider a full system rebuild or forensic analysis to ensure complete removal of malicious components. No official patch or fix is available; remediation relies on removal and credential rotation.
MAL-2026-6662: Malicious code in cmp-api-stub (npm)
Description
The npm package 'cmp-api-stub' contains malicious code that compromises any computer on which it is installed or running. Installation of this package may lead to full system compromise, including unauthorized access to secrets and keys stored on the affected machine. Removal of the package alone may not fully eliminate the malicious presence, as the attacker could have established persistent control.
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 'cmp-api-stub' npm package is identified as malicious software. According to the source details, any system with this package installed should be considered fully compromised. Attackers may have gained full control over the affected computer, potentially accessing all stored secrets and keys. Immediate rotation of all credentials from a separate, secure machine is recommended. The package removal is advised but may not guarantee complete eradication of the malicious software introduced by the package.
Potential Impact
Full system compromise on any computer with the 'cmp-api-stub' package installed or running. All secrets and keys stored on the compromised machine are at risk and should be considered exposed. The attacker may maintain persistent access beyond the presence of the package itself.
Mitigation Recommendations
Remove the 'cmp-api-stub' package immediately. Rotate all secrets and keys from a different, secure computer to prevent unauthorized access. Because the system may be fully compromised, consider a full system rebuild or forensic analysis to ensure complete removal of malicious components. No official patch or fix is available; remediation relies on removal and credential rotation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6662
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-q9xg-g7r9-mqrx"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a42ed4627e9c79719935bdb
Added to database: 06/29/2026, 22:10:14 UTC
Last enriched: 06/29/2026, 22:27:26 UTC
Last updated: 06/30/2026, 00:47:06 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.