P2 · HighMalware
Malicious code in npm-bs58.js (npm)
- GHSA-fg94-4m25-m7g2
Description
`npm-bs58.js` is a `bs58` look-alike whose `decode()`/`encode()` delegate to the malicious `base128-x58` (1.0.0-2.0.2) or `base64-x58` (6.0.0), each of which sends the `decode()` input (a wallet private key in practice) to a hardcoded Telegram bot (bot8016635959 / bot8177895028). --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/0848fabb0af602072268e62c6e8bb18dfab85238/osv/malicious/npm/npm-bs58.js/MAL-2026-20040.json))
Text from the GitHub Advisory record.
Affected
npm-bs58.jsnpm
- all versions, no fix listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.