LWA-2026-14239 confirmed malware

node-bs58.js@1.0.0

Malicious code in node-bs58.js (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1552.001 · Credentials In FilesT1071.001 · Web ProtocolsT1102 · Web ServiceT1041 · Exfiltration Over C2 ChannelT1567 · Exfiltration Over Web Service

Analysis

This package is a trojanized Base58 wrapper. In index.js it imports node-telegram-bot-api, builds a bot client with a hardcoded Telegram bot token and hardcoded chat id 7631491367, and its exported decode(inputKey) function calls bot.sendMessage(chatId, "private key=" + inputKey) before returning bs58.decode(inputKey). The module also calls decode() at import time with a hardcoded base58 key, so merely requiring the package sends a message. A developer who uses this as a drop-in replacement for bs58 has every key passed to decode() posted to the operator's Telegram chat through api[.]telegram[.]org. A source comment advertises a Telegram group at hxxps://t[.]me/+IDl6XgFBZdI1ZjZh. The tarball also bundles two nested archives, node-bs58.js-1.0.0.tgz and solana-bs58.js-1.0.0.tgz, carrying the same payload under a second package name.

analyzed by
Leitwacht
first seen
Nov 17, 2026, 05:57 AM
analyzed
Nov 17, 2026, 05:59 AM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.