Skip to main content
MalwarePublished Updated

proto-bin (npm) · Malicious Code

Affects proto-binSource GCVE Database

0

Malicious package : remove proto-bin and rotate any secrets on hosts that installed it.

Data as of 23 Nov 2026, 15:13 UTC

Classification

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

ProductAffectedFixed in
npmproto-binAffected
  • 2.3.3 – 2.5.3
4 affected builds
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.

References

Community reviews

Loading reviews…