typescript-base58 (npm) · Malicious Code
Affects typescript-base58Source GCVE Database
Malicious package : remove typescript-base58 and rotate any secrets on hosts that installed it.
Data as of 9 Jul 2026, 09:52 UTC
Malicious package
Published to npm · OSV MAL-2026-6925
What to do
Remove typescript-base58 from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmtypescript-base58 | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The typescript-base58 package version 1.0.0 on npm is a malicious package that acts as a one-line re-export of another package base58-core. It misleadingly advertises zero dependencies while actually introducing base58-core as a runtime dependency. The package itself does not perform malicious actions directly, but the risk comes from the base58-core package it depends on, which is not analyzed here. Any system with this package installed should be considered fully compromised, and all secrets and keys must be rotated immediately. Removal of the package does not guarantee full remediation due to potential persistent compromise.