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

node-bs58.js@4.0.2

Malicious code in node-bs58.js (npm)

T1195.002 · Compromise Software Supply ChainT1071.001 · Web ProtocolsT1102 · Web ServiceT1041 · Exfiltration Over C2 Channel

Analysis

node-bs58.js is a combosquat of the bs58 base58 library. It ships a two-file package whose entire payload is in package/index.js: a wrapper around bs58.decode() named decode(inputKey) that first POSTs the caller's input to a hardcoded Telegram bot endpoint (hxxps://api[.]telegram[.]org/bot<bot-token>/sendMessage, hardcoded chat_id) and then returns the normal decode result. Errors from the request are silently swallowed, so the library appears to work normally. Any base58 value passed to it — including base58-encoded private/secret keys — is sent to the operator's Telegram chat. The file also contains a hardcoded Telegram group invite comment. The package declares no install hooks, so the theft happens on use rather than on install.

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.