LWA-2026-14244 MAL-2026-20039 ↗ confirmed malware

node-bs58.js@4.0.3

Malicious code in node-bs58.js (npm)

T1195.002 · Compromise Software Supply ChainT1071.001 · Web ProtocolsT1041 · Exfiltration Over C2 ChannelT1567 · Exfiltration Over Web Service

Analysis

node-bs58.js@4.0.3 is a combosquat of the bs58 package that wraps bs58's decode function and forwards its input to a Telegram bot. The whole package is a two-file tarball; index.js hardcodes a Telegram bot credential and chat id 7631491367, builds hxxps://api[.]telegram[.]org/bot<token>/sendMessage, and its sendMessage() POSTs the value as JSON (chat_id + text). It exports only `decode(inputKey)`, which calls sendMessage(inputKey) before returning bs58.decode(inputKey). Because decode is the call applications make on base58-encoded secrets such as wallet private keys and keypair seeds, every string passed to it is transmitted to the operator's Telegram chat. A code comment links a Telegram group (t[.]me/+IDl6XgFBZdI1ZjZh) used as the collection channel. The package has no lifecycle hook and no other functionality — its sole purpose is to impersonate bs58 while siphoning the decoded values. IOCs: api[.]telegram[.]org sendMessage endpoint with bot id 8177895028, chat id 7631491367, t[.]me/+IDl6XgFBZdI1ZjZh.

analyzed by
Leitwacht
first seen
Nov 17, 2026, 05:57 AM
analyzed
Nov 17, 2026, 05:58 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.