Malware in whs4_npm
Malware discovered in the npm package whs4_npm. Any computer with this package installed or running should be considered fully compromised. All secrets and keys must be rotated immediately from a different computer.
- Disclosed
- Last updated
- Blast radius
- Any system with the package installed or running
- Ecosystems
- Attack vectors
- Affected entities
- whs4_npm
The npm package whs4_npm has been identified as containing malware. According to the GitHub Advisory (GHSA-3wm9-8rfp-wp25), any computer that has this package installed or running should be considered fully compromised.\n\nThe advisory warns that all secrets and keys stored on affected computers should be rotated immediately from a different, uncompromised computer. 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, as the attacker may have gained full control of the system.\n\nThis represents a critical supply chain attack through a malicious npm package with potential for complete system compromise.
Indicators of compromise
- Packages
- whs4_npm
Remediation
- Immediately isolate any computer that has whs4_npm installed or running from the network
- From a different, uncompromised computer, rotate all secrets, keys, and credentials that may have been stored on affected systems
- Remove the whs4_npm package from all affected systems
- Perform a full security audit and malware scan of all affected systems
- Review system logs and access logs for any unauthorized activity during the period the package was installed
- Consider full system reimaging if complete compromise is suspected
Sources
- GitHub Advisory GHSA-3wm9-8rfp-wp25 · GitHub Advisory Database
Cite this entry
"Malware in whs4_npm." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 7, 2026; last updated July 7, 2026. https://supplychainattack.org/incident/malware-in-whs4-npm-reh9cf
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- resolvedcritical
Malicious code in test2221 (npm)
The npm package test2221 version 2.2.4 was identified as malicious by the OpenSSF Package Analysis project. The package executes commands associated with malicious behavior.
npmCompromised package - containedcritical
Malware in n8n-nodes-trust-me-im-totally-safe
Malware was discovered in the npm package n8n-nodes-trust-me-im-totally-safe, 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 - activecritical
Malware in litespeed-cache
Malware discovered in the npm package litespeed-cache. The package grants full system compromise to attackers, requiring immediate removal and credential rotation from a clean system.
npmCompromised package - containedcritical
Malware in open-worker-cli
Malware was discovered in the npm package open-worker-cli. Systems with this package installed or running should be considered fully compromised, with all secrets and keys requiring immediate rotation from a different computer.
npmCompromised package