Skip to content
supplychainattack.orgSupply chain attack incident catalog
activecritical

Malware in prettier-logger

The npm package prettier-logger contains malware that grants full control of affected systems. All systems with this package installed should be considered fully compromised and require immediate remediation.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any system with the package installed or running
Ecosystems
Attack vectors
Affected entities
  • prettier-loggernpm package

The npm package prettier-logger has been identified as containing malware. According to the GitHub Advisory (GHSA-6wq6-hvcw-xmcx), any computer with this package installed or running should be considered fully compromised.\n\nThe malware provides an outside entity with full control of the affected system. The advisory recommends immediate rotation of all secrets and keys from a different, uncompromised computer. While the package should be removed, there is no guarantee that removal will eliminate all malicious software that may have been installed as a result of the initial compromise.\n\nThis is a critical supply chain incident affecting the npm ecosystem.

Indicators of compromise

Packages
  • prettier-logger

Remediation

  • Immediately isolate any system with prettier-logger installed from the network
  • Rotate all secrets, API keys, and credentials from a different, uncompromised computer
  • Remove the prettier-logger package from all affected systems
  • Perform a full security audit and malware scan of affected systems
  • Review system logs and network traffic for signs of unauthorized access or data exfiltration
  • Consider full system rebuild if the system handles sensitive data or credentials

Sources

  1. GitHub Advisory GHSA-6wq6-hvcw-xmcx · GitHub Advisory Database

Cite this entry

"Malware in prettier-logger." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 6, 2026; last updated July 6, 2026. https://supplychainattack.org/incident/malware-in-prettier-logger-ibs1th

Suggest a correction

Found an error or have a newer source? Corrections to factual errors take priority over new entries.

  1. containedcritical

    Malware in @nasddatax/common

    Malware was discovered in the npm package @nasddatax/common. Systems with this package installed or running should be considered fully compromised and require immediate remediation.

    npmCompromised package
  2. containedcritical

    Malware in @voxepay/checkout

    The npm package @voxepay/checkout contained malware that grants full system compromise to attackers. Any computer with this package installed or running should be considered fully compromised.

    npmCompromised package
  3. activecritical

    Malware in @afasinatickets/common

    The npm package @afasinatickets/common contains malware that grants full system compromise to an outside entity. All systems with this package installed should be considered fully compromised and all secrets and keys rotated immediately from a different computer.

    npmCompromised package
  4. containedcritical

    Malware in simplipayng

    Malware was discovered in the npm package simplipayng. Systems with this package installed or running should be considered fully compromised and require immediate remediation.

    npmCompromised package