Skip to content
supplychainattack.orgSupply chain attack incident catalog
activecritical

Malware in prettier-plugin-base

Malware was discovered in the npm package prettier-plugin-base. Systems with this package installed 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
  • prettier-plugin-base

The npm package prettier-plugin-base was found to contain malware. According to the GitHub advisory, 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 compromise.\n\nThis represents a critical supply chain attack through a compromised npm package with potential for widespread impact across development environments and systems using this package.

Indicators of compromise

Packages
  • prettier-plugin-base

Remediation

  • Immediately remove the prettier-plugin-base package from all affected systems
  • Rotate all secrets, API keys, and credentials stored on compromised systems from a different, uncompromised computer
  • Conduct a full security audit of any system that had this package installed
  • Review system logs and network activity for signs of unauthorized access or data exfiltration
  • Consider the affected system(s) as potentially fully compromised and plan for complete rebuild if critical systems are involved
  • Check for any other suspicious packages or modifications to the system

Sources

  1. GitHub Advisory GHSA-8mq9-26pc-p36f · GitHub Advisory Database

Cite this entry

"Malware in prettier-plugin-base." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 13, 2026; last updated July 13, 2026. https://supplychainattack.org/incident/malware-in-prettier-plugin-base-1hvfww

Suggest a correction

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

  1. containedcritical

    Malware in @rentwise/common

    Malware was discovered in the npm package @rentwise/common. Systems with this package installed are considered fully compromised and require immediate remediation including secret rotation and package removal.

    npmCompromised package
  2. containedcritical

    Malware in @nasddatax/common

    Malware was discovered in the npm package @nasddatax/common. Systems with this package installed or running should be considered fully compromised and require immediate remediation.

    npmCompromised package
  3. containedcritical

    Malware in @voxepay/checkout

    The npm package @voxepay/checkout contained malware that grants full system compromise to attackers. Any computer with this package installed or running should be considered fully compromised.

    npmCompromised package
  4. activecritical

    Malware in @afasinatickets/common

    The npm package @afasinatickets/common contains malware that grants full system compromise to an outside entity. All systems with this package installed should be considered fully compromised and all secrets and keys rotated immediately from a different computer.

    npmCompromised package