VYPR

npm · Malicious package advisory

Malware

base60-58x

MAL-2026-20035

Malicious code in base60-58x (npm)

Details

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

---
_-= Per source details. Do not edit below this line.=-_

## Source: ghsa-malware (e7eebd5e227991e41d402605279a23332dea4c95378fe4cf8681b3186ed9234a)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Compromised versions (2)

  • 5.0.2
  • 5.0.3

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.