# GHSA-VHG4-83FQ-5QRP: Malicious code in base128-x58-1 (npm)

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

## Affected versions

- base128-x58-1 (npm): 0.0.1
- base128-x58-1 (npm): 0.0.2
- base128-x58-1 (npm): 0.0.3
- base128-x58-1 (npm): 0.0.4

## Description

Malicious package. Impersonates the `base-x` encoding library (homepage pointing at cryptocoinjs/base-x, identical layout). The exported `decode(string)` in both `src/esm/index.js` and `src/cjs/index.cjs` is patched with obfuscator.io-style code that POSTs every caller-supplied input, typically a base58-encoded private key or address, to a hardcoded Telegram bot (`sendMessage` with `{chat_id, text: string}`): bot 8444411730 in early versions and bot 8040141601 in 0.0.4. Same technique as `base62-86x` (MAL-2026-6446). Versions 0.0.1 to 0.0.4 were verified from their source; a 0.0.5 was also published on 2025-08-04. Unpublished from npm on 2025-09-11.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/750998ca1156ba3ee4d2ce4d9f312738ae69d8b3/osv/malicious/npm/base128-x58-1/MAL-2026-20108.json))

## References

- https://github.com/ossf/malicious-packages/blob/750998ca1156ba3ee4d2ce4d9f312738ae69d8b3/osv/malicious/npm/base128-x58-1/MAL-2026-20108.json
- https://wormsign.io/portfolio/base128-x58-1
- https://github.com/advisories/GHSA-vhg4-83fq-5qrp

Page: https://cve.now/GHSA-VHG4-83FQ-5QRP

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