http-errors-cli npm package is malware — full machine compromise for any installer
Severity: critical · Patch status: no-fix-needed · Since 2026-12-03
GitHub published advisory GHSA-h3pr-w965-7mgw on 2026-12-03 flagging the npm package http-errors-cli as malware (CWE-506, Embedded Malicious Code). Every published version (= 0) is affected and there are no patched versions, so the package cannot be safely used at all. The advisory states that any computer with the package installed or running should be considered fully compromised, with control potentially handed to an outside entity; all secrets and keys on affected machines must be rotated. The package sees roughly 139 downloads per month, so exposure is limited but real. Removal of the package alone is not guaranteed to remove all malicious software it installed. No fixed version exists; remediation is removal plus host forensics and credential rotation.
What to do
- Rotate all secrets, keys, and credentials stored on machines where http-errors-cli was installed, using a clean computer
- Remove the package from all projects and lockfiles and block/flag it in dependency scanning
- Rebuild affected machines or run full malware forensics, since removal may not eliminate the compromise
- Audit npm install logs and CI systems for any use of the package
- Check for unauthorized access or exfiltration from affected hosts
Sources
All live incidents on Threat Watch