Skip to content
supplychainattack.orgSupply chain attack incident catalog
activecritical

Malware in npm-doc-dev

The npm package npm-doc-dev contains malware that grants full system compromise to attackers. Any computer with this package installed should be considered fully compromised and all secrets/keys rotated immediately from a different machine.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any system with npm-doc-dev installed
Ecosystems
Attack vectors
Affected entities
  • npm-doc-devMalicious package on npm registry

The npm package npm-doc-dev has been identified as containing malware. According to the GitHub Advisory (GHSA-m89x-q3jv-q5q2), installation or execution of this package results in full system compromise.

The advisory recommends that any computer with npm-doc-dev installed should be considered fully compromised. All secrets and cryptographic keys stored on affected systems should be rotated immediately from a different, uncompromised computer.

While the package should be removed, the advisory notes that because full control of the computer may have been given to an outside entity, there is no guarantee that package removal will eliminate all malicious software that may have been installed as a result of the initial compromise.

Users should treat this as a critical incident requiring immediate remediation and comprehensive system review.

Indicators of compromise

Packages
  • npm-doc-dev

Remediation

  • Immediately remove npm-doc-dev from all systems
  • Rotate all secrets, API keys, and cryptographic credentials from a different, uncompromised computer
  • Perform a comprehensive security audit of any system that had npm-doc-dev installed
  • Review system logs and network traffic for signs of unauthorized access or data exfiltration
  • Consider full system reimaging if the package was installed on production or sensitive systems
  • Audit npm dependencies in all projects to ensure npm-doc-dev is not present

Sources

  1. GitHub Advisory GHSA-m89x-q3jv-q5q2 · GitHub Advisory Database

Cite this entry

"Malware in npm-doc-dev." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 6, 2026; last updated July 6, 2026. https://supplychainattack.org/incident/malware-in-npm-doc-dev-i7bax4

Suggest a correction

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

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

    npmCompromised package
  2. 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
  3. 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
  4. 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