proto-bin: malicious npm package compromises hosts and steals secrets
Severity: critical · Patch status: unpatched · Since 2026-11-23
On 2026-11-23, GitHub's Advisory Database published GHSA-34hm-qv6p-h859, flagging the npm package proto-bin as malware. Every version from 0 onward is affected, no patched version exists, and the package had about 27 downloads per month. The advisory warns that any computer where proto-bin was installed or running should be treated as fully compromised, because the malicious package may have given an outside entity full control. Secrets and keys on such hosts should be rotated from a different computer. Removing the package is recommended but may not eliminate all malicious software, so affected systems should be rebuilt or thoroughly investigated.
What to do
- Immediately isolate any host where proto-bin was installed or running and treat it as fully compromised.
- From a different, trusted computer, rotate all secrets, API keys, tokens, SSH keys, and credentials that were present on affected hosts.
- Remove proto-bin from projects and package caches, and block it in dependency policies; do not rely on uninstall alone to remediate.
- Rebuild affected systems from trusted sources or perform forensic investigation for persistence and lateral movement.
- Review npm install logs, lockfiles, CI/CD jobs, and developer machines for proto-bin exposure and unexpected outbound activity.
Sources
All live incidents on Threat Watch