NetSight
criticalMalware report

GHSA-qwx4-3p78-j896

Malicious code in node-bs58.js (npm)

Impact

`node-bs58.js` wraps `bs58` and sends every string passed to `decode()` (a wallet private key in practice) to a hardcoded Telegram bot (`index.js`). Bots by version: bot7764117154 (1.0.0, 3.0.0 obfuscated, 4.0.0), bot7255542329 (4.0.1), bot8177895028 (4.0.2-4.0.4, 4.0.6), bot8025408459 (4.0.5). 6.0.0 replaces the wrapper with the malicious `base64-x58`, which sends to bot8177895028. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/0848fabb0af602072268e62c6e8bb18dfab85238/osv/malicious/npm/node-bs58.js/MAL-2026-20039.json))

Affected packages

EcosystemPackageAffectedFixed in
npmnode-bs58.js> 0none recorded

Weakness classification

References