Skip to content
supplychainattack.orgSupply chain attack incident catalog
activecritical

Malware in prettier_v1

Malware was discovered in the npm package prettier_v1. Any computer with this package installed or running should be considered fully compromised, requiring immediate rotation of all secrets and keys from a different system.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any system with prettier_v1 installed is considered fully compromised; all secrets and keys must be rotated from a different machine.
Ecosystems
Attack vectors
Affected entities
  • prettier_v1npm package

A critical malware incident was identified in the npm package prettier_v1. According to the GitHub Advisory (GHSA-q835-5j9v-22qg), any system that has installed or run this package should be treated as fully compromised.

The advisory recommends that all secrets and cryptographic keys stored on affected computers be rotated immediately from a different, uncompromised machine. While the package should be removed, the advisory notes that because full control of the computer may have been granted to an external entity, there is no guarantee that package removal will eliminate all malicious software that may have been installed as a result.

This represents a critical supply chain compromise affecting npm users who installed this package.

Indicators of compromise

Packages
  • prettier_v1

Remediation

  • Immediately isolate any computer that has installed or run prettier_v1
  • Rotate all secrets, API keys, and cryptographic credentials from a different, uncompromised computer
  • Remove the prettier_v1 package from all affected systems
  • Conduct a full security audit and malware scan of affected systems
  • Review access logs and monitor for unauthorized activity on systems that had this package installed
  • Consider the affected systems as potentially fully compromised and plan for reimaging if critical systems are involved

Sources

  1. GitHub Advisory GHSA-q835-5j9v-22qg · GitHub Advisory Database

Cite this entry

"Malware in prettier_v1." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 15, 2026; last updated June 16, 2026. https://supplychainattack.org/incident/malware-in-prettier-v1-5lvtzo

Suggest a correction

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

  1. resolvedcritical

    Malicious code in test2221 (npm)

    The npm package test2221 version 2.2.4 was identified as malicious by the OpenSSF Package Analysis project. The package executes commands associated with malicious behavior.

    npmCompromised package
  2. containedcritical

    Malware in n8n-nodes-trust-me-im-totally-safe

    Malware was discovered in the npm package n8n-nodes-trust-me-im-totally-safe, 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. activecritical

    Malware in litespeed-cache

    Malware discovered in the npm package litespeed-cache. The package grants full system compromise to attackers, requiring immediate removal and credential rotation from a clean system.

    npmCompromised package
  4. containedcritical

    Malware in open-worker-cli

    Malware was discovered in the npm package open-worker-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.

    npmCompromised package