Malicious code in base60-58x (npm)
- GHSA-pr75-5v46-hgrg
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))
Text from the GitHub Advisory record.
Affected
base60-58xnpm
- all versions, no fix listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.