# GHSA-QWX4-3P78-J896: Malicious code in node-bs58.js (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-17
- Modified: 2026-11-17

## Affected versions

- node-bs58.js (npm): all versions
- node-bs58.js (npm): 1.0.0
- node-bs58.js (npm): 3.0.0
- node-bs58.js (npm): 4.0.0
- node-bs58.js (npm): 4.0.1
- node-bs58.js (npm): 4.0.2
- node-bs58.js (npm): 4.0.3
- node-bs58.js (npm): 4.0.4
- node-bs58.js (npm): 4.0.5
- node-bs58.js (npm): 4.0.6
- node-bs58.js (npm): 6.0.0

## Description

`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))

## References

- https://github.com/ossf/malicious-packages/blob/0848fabb0af602072268e62c6e8bb18dfab85238/osv/malicious/npm/node-bs58.js/MAL-2026-20039.json
- https://github.com/advisories/GHSA-qwx4-3p78-j896

Page: https://cve.now/GHSA-QWX4-3P78-J896

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
