proto-bin (npm) · Malicious Code
Affects proto-binSource GCVE Database
Malicious package : remove proto-bin and rotate any secrets on hosts that installed it.
Data as of 23 Nov 2026, 15:13 UTC
Malicious package
Published to npm · OSV MAL-2026-5921
What to do
Remove proto-bin from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmproto-bin | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'proto-bin' is a malicious package that masquerades as a prototype utilities library. Its main function, pack(), downloads and executes a platform-specific binary from an attacker-controlled URL without verification, persisting it under deceptive names in user-writable locations on Windows and Linux systems. This behavior effectively turns the package into a dropper, enabling remote code execution and full system compromise. Removal of the package alone may not eliminate the threat, as the attacker may have established persistent control.