Skip to content
supplychainattack.orgSupply chain attack incident catalog
activecritical

Malware in vite-plugin-compress-js

Malware discovered in the npm package vite-plugin-compress-js. 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
  • vite-plugin-compress-js

A critical malware incident has been identified in the npm package vite-plugin-compress-js. According to the GitHub Advisory (GHSA-jc9j-qfjm-7m7f), 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, given that the attacker may have gained full control of the system.\n\nAffected users should treat this as a critical security incident requiring comprehensive system remediation and credential rotation.

Indicators of compromise

Packages
  • vite-plugin-compress-js

Remediation

  • Immediately isolate affected systems from the network
  • Rotate all secrets, API keys, and credentials from a clean, uncompromised computer
  • Remove the vite-plugin-compress-js package from all systems
  • Perform a comprehensive security audit and malware scan of affected systems
  • Review system logs and access logs for signs of unauthorized activity
  • Consider full system reimaging if compromise is confirmed
  • Notify relevant stakeholders and security teams of the incident

Sources

  1. GitHub Advisory GHSA-jc9j-qfjm-7m7f · GitHub Advisory Database

Cite this entry

"Malware in vite-plugin-compress-js." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 6, 2026; last updated July 6, 2026. https://supplychainattack.org/incident/malware-in-vite-plugin-compress-js-bmm77i

Suggest a correction

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

  1. activecritical

    Malware in webpack-cache-clean

    The npm package webpack-cache-clean contains malware that grants full system compromise to an attacker. Any computer with this package installed or running should be considered fully compromised.

    npmCompromised package
  2. containedcritical

    Malware in metrica-chain

    The npm package metrica-chain 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
  3. containedcritical

    Malware in unique-id-64

    The npm package unique-id-64 was found to contain malware. Any computer with this package installed or running should be considered fully compromised, with all secrets and keys requiring immediate rotation from a different system.

    npmCompromised package
  4. activecritical

    Malware in normalize-path-seq

    Malware discovered in the npm package normalize-path-seq. The package grants full system compromise to attackers, requiring immediate removal and credential rotation from unaffected systems.

    npmCompromised package