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. containedcritical

    Malware in flow-lending

    The npm package flow-lending was found to contain malware, resulting in full system compromise of any computer with the package installed or running. GitHub Security Advisory GHSA-pgcr-8w67-72j9 was published on 2026-06-16.

    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. 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
  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