bs58-60 npm package is malware — full machine compromise, no safe version exists
Severity: critical · Patch status: no-fix-needed · Since 2026-12-02
GitHub published advisory GHSA-x3qr-9562-g654 on 2026-12-02 flagging the npm package bs58-60 as malware (CWE-506, embedded malicious code). All versions (= 0) are affected and no patched version exists. The advisory states any computer with the package installed or running should be considered fully compromised, with full control potentially handed to an outside entity. The package is a typosquat-style lookalike of the legitimate bs58 library, with ~576 weekly downloads and 235 GitHub stars. Removal of the package does not guarantee removal of the malicious software. Organisations with the package installed should treat secrets and keys on affected machines as stolen and rotate them from a clean machine.
What to do
- Treat any machine with bs58-60 installed as fully compromised; rotate all secrets, keys and credentials from a clean computer
- Remove the package and rebuild/reimage affected machines; do not assume removal clears the malware
- Audit dependency trees and lockfiles for bs58-60 and similar typosquats of bs58
- Block/flag bs58-60 in npm registries, CI and dependency-scanning tooling
- Review logs and network traffic on affected hosts for attacker activity
Sources
All live incidents on Threat Watch