Skip to content
supplychainattack.orgSupply chain attack incident catalog
resolvedcritical

Malware in nw-demo

The npm package nw-demo contained malware that could fully compromise any system where it was installed or executed. GitHub Security Advisory GHSA-hmxw-6c9h-v2h2 was published on 2026-06-10 to alert users of the threat.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any system with the package installed or running
Ecosystems
Attack vectors
Affected entities
  • nw-demonpm package containing malware

The npm package nw-demo was found to contain malware. According to the GitHub Security Advisory, any computer with this package installed or running should be considered fully compromised.\n\nThe advisory recommends immediate action: all secrets and keys stored on affected computers should be rotated from a different, uncompromised system. The malicious package should be removed, though there is no guarantee that removal will eliminate all malicious software that may have been installed as a result of the initial compromise.\n\nGiven the severity of the threat and the potential for complete system compromise, users should treat any system that has run this package as potentially fully controlled by an external threat actor.

Indicators of compromise

Packages
  • nw-demo

Remediation

  • Remove the nw-demo package immediately from all systems
  • Rotate all secrets, API keys, and credentials from a clean, uncompromised computer
  • Assume full system compromise and consider rebuilding affected systems from clean media
  • Review system logs and network traffic for signs of unauthorized access or data exfiltration
  • Monitor for any suspicious activity on systems that had the package installed

Sources

  1. GitHub Advisory GHSA-hmxw-6c9h-v2h2 · GitHub Advisory Database

Cite this entry

"Malware in nw-demo." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 10, 2026; last updated June 10, 2026. https://supplychainattack.org/incident/malware-in-nw-demo-18bfns

Suggest a correction

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

  1. activecritical

    Malware in transportator

    The npm package transportator contains 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 vite-react-toolkit

    The npm package vite-react-toolkit contained malware that provided full system compromise to attackers. Any computer with this package installed should be considered fully compromised and all secrets and keys rotated immediately from a different machine.

    npmCompromised package
  3. resolvedcritical

    Malware in @malwguy/ecto-corsair-whisper-3d2a7c

    The npm package @malwguy/ecto-corsair-whisper-3d2a7c 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 coral-wraith

    Malware was discovered in the npm package coral-wraith. Systems with the package installed or running should be considered fully compromised and require immediate remediation.

    npmCompromised package