Malicious npm package item-validates — full compromise of installed machines; no safe version exists
Severity: critical · Patch status: no-fix-needed · Since 2026-11-19
GitHub's malware advisory database published GHSA-pm45-rm93-2g47 on 2026-11-19 flagging the npm package item-validates as embedded malicious code (CWE-506). All versions (=0) are affected and no patched version exists. GitHub's guidance states that any computer with the package installed or running should be considered fully compromised, meaning attackers may have obtained full control, including access to secrets and keys. The package sees roughly 485 downloads per month, so exposure is limited but real. Because the malware may grant an outside entity persistent control, removal of the package alone cannot be assumed to eliminate the compromise. There is no fix; remediation is removal plus full incident response on affected machines.
What to do
- Rotate all secrets, keys, tokens and credentials stored on or accessible from any machine where item-validates was installed, using a clean machine
- Remove item-validates from all projects and lockfiles and audit for other typosquat/malicious dependencies
- Rebuild or wipe affected machines; do not assume removal of the package removed the malware
- Review logs and network traffic for signs of exfiltration or attacker access since installation
- Block installs of the package and report/flag it to npm
Sources
All live incidents on Threat Watch