base128-x58-1npm
Advisory published Updated
base128-x58-1 is a confirmed malicious npm package (MAL-2026-20108) that typosquats a legitimate package to trick installs (malicious versions 0.0.1, 0.0.2, 0.0.3…). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in base128-x58-1 (npm)
What this malware does
Malicious package. Impersonates the base-x encoding library (homepage pointing at cryptocoinjs/base-x, identical layout). The exported decode(string) in both src/esm/index.js and src/cjs/index.cjs is patched with obfuscator.io-style code that POSTs every caller-supplied input, typically a base58-encoded private key or address, to a hardcoded Telegram bot (sendMessage with {chat_id, text: string}): bot 8444411730 in early versions and bot 8040141601 in 0.0.4. Same technique as base62-86x (MAL-2026-6446). Versions 0.0.1 to 0.0.4 were verified from their source; a 0.0.5 was also published on 2025-08-04. Unpublished from npm on 2025-09-11.
Malicious versions
Detection & response playbook
TyposquatFind it
Search your lockfiles and build artifacts for base128-x58-1 (4 malicious versions).
If you installed it — respond
base128-x58-1 is a typosquat — you almost certainly intended a legitimately-named package. Remove base128-x58-1, install the correct package, and rotate any secrets exposed during the install since post-install scripts may have already run.
Did it already run?
If base128-x58-1 was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
References
Credits
- wormsign · finder
Detect & block this
O3 blocks base128-x58-1-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.