node-bs58.js (npm) · Malicious Code
Affects node-bs58.jsSource GCVE Database
Malicious package : remove node-bs58.js and rotate any secrets on hosts that installed it.
Data as of 2 Dec 2026, 22:48 UTC
Malicious package
Published to npm · OSV MAL-2026-20039
What to do
Remove node-bs58.js 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 |
|---|---|---|
npmnode-bs58.jspkg:npm/node-bs58.jsOther threats | 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 node-bs58.js npm package contains malicious code that exfiltrates sensitive data by sending every string passed to its decode() function, typically wallet private keys, to hardcoded Telegram bots. Multiple versions of the package are affected, with later versions replacing the original wrapper with another malicious package that continues this behavior. Any system with this package installed should be considered fully compromised, and all secrets should be rotated immediately.