Skip to content
supplychainattack.orgSupply chain attack incident catalog
containedcritical

Malware in terminal-pretty-logger

Malware was discovered in the npm package terminal-pretty-logger. Systems with this package installed or running should be considered fully compromised, with all secrets and keys requiring immediate rotation from a different computer.

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

The npm package terminal-pretty-logger was found to contain malware. According to the GitHub Security Advisory (GHSA-2266-qhvj-h8r5), any computer with this package installed or running should be considered fully compromised.\n\nThe advisory recommends that all secrets and keys stored on affected computers be rotated immediately from a different, uncompromised system. While the package should be removed, the advisory notes that full control of the computer may have been given to an outside entity, meaning removal of the package alone may not eliminate all malicious software that resulted from the installation.\n\nUsers should treat any system that has run this package as potentially containing persistent malware and take appropriate incident response measures.

Indicators of compromise

Packages
  • terminal-pretty-logger

Remediation

  • Immediately rotate all secrets, API keys, and credentials from a different, uncompromised computer
  • Remove the terminal-pretty-logger package from all affected systems
  • Conduct a full security audit and malware scan of any system that had this package installed or running
  • Review system logs and network traffic for signs of unauthorized access or data exfiltration
  • Consider the affected system(s) as potentially compromised and plan for full remediation or replacement

Sources

  1. GitHub Advisory GHSA-2266-qhvj-h8r5 · GitHub Advisory Database

Cite this entry

"Malware in terminal-pretty-logger." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 16, 2026; last updated June 16, 2026. https://supplychainattack.org/incident/malware-in-terminal-pretty-logger-2utkr3

Suggest a correction

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

  1. containedcritical

    Malware in janus-flow

    Malware was discovered in the npm package janus-flow, resulting in full system compromise of any computer with the package installed or running. All secrets and keys on affected systems should be rotated immediately from a different computer.

    npmCompromised package
  2. containedcritical

    Malware in flow-lending-sdk

    Malware was discovered in the npm package flow-lending-sdk. Systems with this package installed or running are considered fully compromised, with potential for complete system takeover.

    npmCompromised package
  3. activecritical

    Malware in auth-basic-vault

    Malware discovered in the npm package auth-basic-vault. Any computer with this package installed or running should be considered fully compromised.

    npmCompromised package
  4. containedcritical

    Malware in ttspc-server-sample

    The npm package ttspc-server-sample contains malware that grants full control of affected systems. Any computer with this package installed or running should be considered fully compromised.

    npmCompromised package