MAL-2026-6867: Malicious code in pretty-pino-logger (npm)
The pretty-pino-logger npm package versions 1.0.0 through 1.0.4 and 2.0.1 through 2.0.2 contain malicious code. Any system with this package installed or running should be considered fully compromised. Secrets and keys stored on the affected system must be rotated immediately from a different, trusted machine. Removing the package alone does not guarantee removal of all malicious software introduced by it.
AI Analysis
Technical Summary
The pretty-pino-logger package distributed via npm in versions =1.0.0 through =1.0.4 and =2.0.1 through =2.0.2 contains embedded malicious code. Installation or execution of these versions results in a full compromise of the host system, potentially allowing an attacker to gain complete control. Due to the severity of the compromise, all secrets and keys on the affected system should be rotated from a secure environment. The package removal does not assure full remediation as the attacker may have installed additional persistent malware.
Potential Impact
Full system compromise on any computer with the affected versions of pretty-pino-logger installed or running. This includes potential unauthorized access to all stored secrets and keys. The malicious code may allow attackers to maintain persistent control beyond the presence of the package itself.
Mitigation Recommendations
Remove the affected pretty-pino-logger package versions from all systems. Immediately rotate all secrets and keys stored on the compromised systems from a separate, trusted environment. Because the system is considered fully compromised, further forensic analysis and remediation may be necessary to ensure all malicious artifacts are removed. No official patch or fixed version is indicated; therefore, avoidance of these versions is critical.
MAL-2026-6867: Malicious code in pretty-pino-logger (npm)
Description
The pretty-pino-logger npm package versions 1.0.0 through 1.0.4 and 2.0.1 through 2.0.2 contain malicious code. Any system with this package installed or running should be considered fully compromised. Secrets and keys stored on the affected system must be rotated immediately from a different, trusted machine. Removing the package alone does not guarantee removal of all malicious software introduced by it.
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 pretty-pino-logger package distributed via npm in versions =1.0.0 through =1.0.4 and =2.0.1 through =2.0.2 contains embedded malicious code. Installation or execution of these versions results in a full compromise of the host system, potentially allowing an attacker to gain complete control. Due to the severity of the compromise, all secrets and keys on the affected system should be rotated from a secure environment. The package removal does not assure full remediation as the attacker may have installed additional persistent malware.
Potential Impact
Full system compromise on any computer with the affected versions of pretty-pino-logger installed or running. This includes potential unauthorized access to all stored secrets and keys. The malicious code may allow attackers to maintain persistent control beyond the presence of the package itself.
Mitigation Recommendations
Remove the affected pretty-pino-logger package versions from all systems. Immediately rotate all secrets and keys stored on the compromised systems from a separate, trusted environment. Because the system is considered fully compromised, further forensic analysis and remediation may be necessary to ensure all malicious artifacts are removed. No official patch or fixed version is indicated; therefore, avoidance of these versions is critical.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6867
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-9vrr-rpr8-7hfj"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4c342827e9c797195f9d2a
Added to database: 07/06/2026, 23:03:04 UTC
Last enriched: 07/06/2026, 23:23:27 UTC
Last updated: 07/07/2026, 00:38:36 UTC
Views: 3
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.