Skip to content
supplychainattack.orgSupply chain attack incident catalog
containedcritical

Malware in terminal-prettier

Malware was discovered in the npm package terminal-prettier. Systems with this package installed or running are 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
  • terminal-prettier

The npm package terminal-prettier was found to contain malware. According to the GitHub Security Advisory (GHSA-m8cr-hv9p-pg3f), any computer with this package installed or running should be considered fully compromised.\n\nImmediate action is required: all secrets and keys stored on affected computers should be rotated from a different, uncompromised system. The package should be removed, though complete removal of all malicious artifacts cannot be guaranteed due to the potential for full system compromise.\n\nThis is a critical supply chain incident affecting all users of the terminal-prettier package on npm.

Indicators of compromise

Packages
  • terminal-prettier

Remediation

  • Immediately remove the terminal-prettier package from all affected systems
  • Rotate all secrets, API keys, and credentials from a different, uncompromised computer
  • Perform a full security audit and malware scan of affected systems
  • Review system logs for unauthorized access or activity
  • Consider full system reimaging if complete compromise is suspected
  • Monitor for any signs of persistent malware or backdoors

Sources

  1. GitHub Advisory GHSA-m8cr-hv9p-pg3f · GitHub Advisory Database

Cite this entry

"Malware in terminal-prettier." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 30, 2026; last updated June 30, 2026. https://supplychainattack.org/incident/malware-in-terminal-prettier-1njp2k

Suggest a correction

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

  1. containedcritical

    Malware in agent-bot-api

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

    npmCompromised package
  2. resolvedcritical

    Malware in @zynkit/jwtbytes

    Malware was discovered in the npm package @zynkit/jwtbytes, resulting in full system compromise for 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
  3. resolvedcritical

    Malware in sugarball-cli

    Malware was distributed via the sugarball-cli npm package, resulting in full system compromise of affected machines. The advisory recommends treating any system with this package as fully compromised and rotating all secrets and keys from a different computer.

    npmCompromised package
  4. containedcritical

    Malware in a.poltoradnev-package-c

    Malware was discovered in the npm package a.poltoradnev-package-c. Systems with this package installed are considered fully compromised and require immediate remediation.

    npmCompromised package