Skip to main content
MalwarePublished

base128-x58 (npm) · Malicious Code

Affects base128-x58Source GCVE Database

0

Malicious package : remove base128-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-20034

What to do

Remove base128-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
npmbase128-x58pkg:npm/base128-x58Other threatsAffected
  • =0.0.1
  • =0.0.2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The base128-x58 npm package is a malicious fork of the base-x encoding library that injects obfuscated code into its decode() function. This code exfiltrates the input string, typically a wallet private key, by sending it to a hardcoded Telegram bot. Any system using this package is at high risk of compromise, and all secrets on the system should be rotated immediately.

References

Community reviews

Loading reviews…