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 tipsen-last

    The npm package tipsen-last was found to contain malware that grants full system compromise to attackers. Any computer with this package installed or running should be considered fully compromised and all secrets and keys rotated immediately from a different machine.

    npmCompromised package
  2. containedcritical

    Malware in tipsen-last-pls

    Malware was discovered in the npm package tipsen-last-pls, 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 abuden225

    The npm package abuden225 contains malware that grants full system compromise to an outside entity. Any computer with this package installed or running should be considered fully compromised.

    npmCompromised package
  4. containedcritical

    Malware in abuden21

    The npm package abuden21 contained malware that provided full system compromise to attackers. Any computer with this package installed or running should be considered fully compromised.

    npmCompromised package