Skip to main content
MalwarePublished

base64-x58 (npm) · Malicious Code

Affects base64-x58Source GCVE Database

0

Malicious package : remove base64-x58 and rotate any secrets on hosts that installed it.

Data as of 2 Dec 2026, 22:48 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-20036

What to do

Remove base64-x58 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
npmbase64-x58pkg:npm/base64-x58Other threatsAffected
  • =0.0.1
  • =0.0.5
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 'base64-x58' is a malicious copy of the 'base-x' encoding library that injects obfuscated code into its decode() function. This code exfiltrates input data, typically wallet private keys, by sending it to a hardcoded Telegram bot. Versions 0.0.1 and 0.0.5 are affected. Any system running this package is considered fully compromised, requiring immediate secret and key rotation from a clean environment and removal of the package.

References

Community reviews

Loading reviews…