bs58-33 (npm) · Malicious Code
Affects bs58-33Source GCVE Database
Malicious package : remove bs58-33 and rotate any secrets on hosts that installed it.
Data as of 14 Aug 2026, 16:48 UTC
Malicious package
Published to npm · OSV MAL-2026-14017
What to do
Remove bs58-33 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 |
|---|---|---|
| npmbs58-33 | 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 bs58-33 is a typosquatting package that re-exports a malicious dependency base65-33x. The base65-33x package exfiltrates any string passed to its decode() function by sending it via HTTP POST to a hardcoded command-and-control server. Since base-x/bs58 libraries are commonly used to decode cryptocurrency private keys and seeds, this exfiltration can leak sensitive secrets. The bs58-33 package was published alongside related malicious packages by the same maintainer in a coordinated campaign. Installing bs58-33 introduces this key-exfiltration behavior into dependent projects.