# GHSA-PR75-5V46-HGRG: Malicious code in base60-58x (npm)

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

## Affected versions

- base60-58x (npm): all versions
- base60-58x (npm): 5.0.2
- base60-58x (npm): 5.0.3

## Description

`base60-58x` is a copy of the `base-x` encoding library (package.json still points at the cryptocoinjs/base-x repository) with one obfuscated statement injected at the start of `decode()` (`src/cjs/index.cjs`, `src/esm/index.js`). Every call to `decode()` POSTs the input string to a hardcoded Telegram bot (bot7837266935, chat 7974622428). Base58 `decode()` input is typically a wallet private key. Same publisher, bot and chat as `ethers-wallet-latest`; imported by `bs58-60`.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/0848fabb0af602072268e62c6e8bb18dfab85238/osv/malicious/npm/base60-58x/MAL-2026-20035.json))

## References

- https://github.com/ossf/malicious-packages/blob/0848fabb0af602072268e62c6e8bb18dfab85238/osv/malicious/npm/base60-58x/MAL-2026-20035.json
- https://wormsign.io/portfolio/base60-58x
- https://github.com/advisories/GHSA-pr75-5v46-hgrg

Page: https://cve.now/GHSA-PR75-5V46-HGRG

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