Malicious code in temp-cloak (npm)
The npm package 'temp-cloak' contains malicious code that compromises any computer on which it is installed or running. The compromise is severe enough that all secrets and keys on the affected system should be rotated immediately from a different, trusted machine. Removing the package alone does not guarantee removal of all malicious software introduced by it, as the attacker may have gained full control of the system.
AI Analysis
Technical Summary
The 'temp-cloak' package on npm has been identified as containing malicious code. Installation or execution of this package results in a full compromise of the host computer. Due to the extent of the compromise, secrets and keys stored on the system are considered exposed and must be rotated from a secure environment. The malicious package may have installed additional persistent malware, so simply uninstalling the package does not ensure complete remediation.
Potential Impact
Full system compromise on any computer with the 'temp-cloak' package installed or running. Exposure of all stored secrets and keys on the affected system. Potential persistent malware beyond the package itself, leading to ongoing unauthorized access.
Mitigation Recommendations
Remove the 'temp-cloak' package immediately. Rotate all secrets and keys stored on the compromised system from a separate, secure computer. Because the attacker may have established persistent access, consider rebuilding the affected system from a trusted backup or fresh installation. No official patch or fix is available; remediation relies on removal and secret rotation.
Malicious code in temp-cloak (npm)
Description
The npm package 'temp-cloak' contains malicious code that compromises any computer on which it is installed or running. The compromise is severe enough that all secrets and keys on the affected system should be rotated immediately from a different, trusted machine. Removing the package alone does not guarantee removal of all malicious software introduced by it, as the attacker may have gained full control of the system.
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 'temp-cloak' package on npm has been identified as containing malicious code. Installation or execution of this package results in a full compromise of the host computer. Due to the extent of the compromise, secrets and keys stored on the system are considered exposed and must be rotated from a secure environment. The malicious package may have installed additional persistent malware, so simply uninstalling the package does not ensure complete remediation.
Potential Impact
Full system compromise on any computer with the 'temp-cloak' package installed or running. Exposure of all stored secrets and keys on the affected system. Potential persistent malware beyond the package itself, leading to ongoing unauthorized access.
Mitigation Recommendations
Remove the 'temp-cloak' package immediately. Rotate all secrets and keys stored on the compromised system from a separate, secure computer. Because the attacker may have established persistent access, consider rebuilding the affected system from a trusted backup or fresh installation. No official patch or fix is available; remediation relies on removal and secret rotation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10569
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-rr2q-r4vq-r6cm"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a55ff5968715ace432f0985
Added to database: 07/14/2026, 09:20:25 UTC
Last enriched: 07/14/2026, 09:29:11 UTC
Last updated: 07/24/2026, 08:05:24 UTC
Views: 11
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.