Malicious code in valid-scope (npm)
The npm package 'valid-scope' contains malicious code that compromises any computer on which it is installed or running. Installation of this package can lead to full system compromise, including unauthorized access to secrets and keys stored on the affected machine. Removal of the package does not guarantee elimination of all malicious software introduced. Immediate rotation of all secrets and keys from a separate, uncompromised system is strongly advised.
AI Analysis
Technical Summary
The 'valid-scope' npm package has been identified as containing malicious code that fully compromises affected computers. According to the source details, any system with this package installed or running should be considered fully compromised, with potential unauthorized control granted to an outside entity. The malicious package can expose all stored secrets and keys, necessitating their immediate rotation from a different, secure machine. Removal of the package alone may not eradicate all malicious components introduced by the compromise.
Potential Impact
Full system compromise on any computer with the 'valid-scope' package installed or running. All secrets and keys stored on the compromised system are at risk and should be considered exposed. The attacker may have persistent control beyond the presence of the package itself.
Mitigation Recommendations
Remove the 'valid-scope' package immediately. Rotate all secrets and keys from a different, uncompromised computer. Because removal of the package does not guarantee full eradication of the malicious software, consider rebuilding or thoroughly cleaning the affected system to ensure complete remediation.
Malicious code in valid-scope (npm)
Description
The npm package 'valid-scope' contains malicious code that compromises any computer on which it is installed or running. Installation of this package can lead to full system compromise, including unauthorized access to secrets and keys stored on the affected machine. Removal of the package does not guarantee elimination of all malicious software introduced. Immediate rotation of all secrets and keys from a separate, uncompromised system is 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 'valid-scope' npm package has been identified as containing malicious code that fully compromises affected computers. According to the source details, any system with this package installed or running should be considered fully compromised, with potential unauthorized control granted to an outside entity. The malicious package can expose all stored secrets and keys, necessitating their immediate rotation from a different, secure machine. Removal of the package alone may not eradicate all malicious components introduced by the compromise.
Potential Impact
Full system compromise on any computer with the 'valid-scope' package installed or running. All secrets and keys stored on the compromised system are at risk and should be considered exposed. The attacker may have persistent control beyond the presence of the package itself.
Mitigation Recommendations
Remove the 'valid-scope' package immediately. Rotate all secrets and keys from a different, uncompromised computer. Because removal of the package does not guarantee full eradication of the malicious software, consider rebuilding or thoroughly cleaning the affected system to ensure complete remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10570
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-chfc-f2cm-2wf8"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a55ff5d68715ace432f0a92
Added to database: 07/14/2026, 09:20:29 UTC
Last enriched: 07/14/2026, 09:30:30 UTC
Last updated: 07/24/2026, 20:07:14 UTC
Views: 7
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.