Skip to main content
MalwarePublished

bs58-12 (npm) · Malicious Code

Affects bs58-12Source GCVE Database

0

Malicious package : remove bs58-12 and rotate any secrets on hosts that installed it.

Data as of 12 Aug 2026, 17:00 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-13759

What to do

Remove bs58-12 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
npmbs58-12Affected
  • =6.0.1
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-12 masquerades as the legitimate bs58 base58 library but is a thin wrapper that depends on another suspicious package, base65-12x. While bs58-12 itself does not contain direct malicious code such as exfiltration or destructive scripts, the risk depends on the behavior of base65-12x, which has not been analyzed here. Security sources warn that any system with bs58-12 installed should be considered fully compromised, recommending immediate secret and key rotation and removal of the package. Complete remediation cannot be guaranteed by removal alone due to potential persistent compromise.

References

Community reviews

Loading reviews…