Skip to main content

Malicious code in pino-pretty-logs (npm)

0
Critical
Published: 07/06/2026 (07/06/2026, 18:56:24 UTC)
Source: GCVE Database
Product: pino-pretty-logs

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

npmghsa
pino-pretty-logs
Affected versions
=2.0.0=1.1.0

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

AILast updated: 09/12/2026, 20:46:34 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses