Skip to content
supplychainattack.orgSupply chain attack incident catalog
containedcritical

Malware in pretty-log-cli

Malware was discovered in the npm package pretty-log-cli. 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
  • pretty-log-cli

The npm package pretty-log-cli was found to contain malware. According to the GitHub Advisory (GHSA-pvmx-6w3g-745q), 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, there is no guarantee that removal will eliminate all malicious software that may have been installed as a result of the package installation, as the attacker may have gained full control of the system.\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
  • pretty-log-cli

Remediation

  • Immediately rotate all secrets, API keys, and credentials from a different, uncompromised computer
  • Remove the pretty-log-cli package from all affected systems
  • Perform a full security audit and malware scan on any system that had this package installed or running
  • Consider the affected system(s) as potentially compromised and plan for full reimaging or replacement if critical infrastructure
  • Review access logs and audit trails for any unauthorized activity on affected systems during the period the package was installed

Sources

  1. GitHub Advisory GHSA-pvmx-6w3g-745q · GitHub Advisory Database

Cite this entry

"Malware in pretty-log-cli." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 30, 2026; last updated July 30, 2026. https://supplychainattack.org/incident/malware-in-pretty-log-cli-dag0d8

Suggest a correction

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

  1. containedcritical

    Malware in svelte-metric-map

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

    npmCompromised package
  2. containedcritical

    Malware in streak-metrics-core

    Malware was discovered in the npm package streak-metrics-core. Systems with this package installed or running are considered fully compromised and require immediate remediation.

    npmCompromised package
  3. containedcritical

    Malware in svelte-streak-metric

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

    npmCompromised package
  4. containedcritical

    Malware in @404c3s4r/testxxx

    Malware was discovered in the npm package @404c3s4r/testxxx. Systems with this package installed or running are considered fully compromised, requiring immediate secret rotation and package removal.

    npmCompromised package