Malicious code in pino-pretty-logs (npm)
The pino-pretty-logs npm package versions 1.1.0 and 2.0.0 contain malicious code that compromises any computer on which it is installed. Installation of this package can lead to full system compromise, requiring immediate rotation of all secrets and keys from a separate, secure machine. Simply removing the package does not guarantee removal of all malicious software introduced.
AI Analysis
Technical Summary
The pino-pretty-logs package versions 1.1.0 and 2.0.0 distributed via npm contain embedded malicious code. This malware grants attackers full control over affected systems, compromising all stored secrets and keys. Due to the severity of the compromise, affected systems should be considered fully compromised, and remediation requires secret rotation from a clean environment. Removal of the package alone is insufficient to ensure system integrity.
Potential Impact
Any system with the affected versions of pino-pretty-logs installed is fully compromised, potentially exposing all stored secrets and keys. Attackers may have persistent control over the system, making it unsafe to trust the system until complete remediation is performed.
Mitigation Recommendations
Remove the malicious pino-pretty-logs package immediately. Rotate all secrets and keys from a different, uncompromised computer. Because full system compromise is likely, consider rebuilding the affected system from a trusted backup or reinstalling the operating system to ensure removal of all malicious components.
Malicious code in pino-pretty-logs (npm)
Description
The pino-pretty-logs npm package versions 1.1.0 and 2.0.0 contain malicious code that compromises any computer on which it is installed. Installation of this package can lead to full system compromise, requiring immediate rotation of all secrets and keys from a separate, secure machine. Simply removing the package does not guarantee removal of all malicious software introduced.
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 pino-pretty-logs package versions 1.1.0 and 2.0.0 distributed via npm contain embedded malicious code. This malware grants attackers full control over affected systems, compromising all stored secrets and keys. Due to the severity of the compromise, affected systems should be considered fully compromised, and remediation requires secret rotation from a clean environment. Removal of the package alone is insufficient to ensure system integrity.
Potential Impact
Any system with the affected versions of pino-pretty-logs installed is fully compromised, potentially exposing all stored secrets and keys. Attackers may have persistent control over the system, making it unsafe to trust the system until complete remediation is performed.
Mitigation Recommendations
Remove the malicious pino-pretty-logs package immediately. Rotate all secrets and keys from a different, uncompromised computer. Because full system compromise is likely, consider rebuilding the affected system from a trusted backup or reinstalling the operating system to ensure removal of all malicious components.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6862
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-7cfh-3cj9-3fc3"]
- Ecosystems
- ["npm"]
Threat ID: 6a4c342927e9c797195f9dbc
Added to database: 07/06/2026, 23:03:05 UTC
Last enriched: 09/12/2026, 20:46:34 UTC
Last updated: 09/13/2026, 23:33:20 UTC
Views: 62
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.