Skip to main content
MalwarePublished

py-base58 (PyPI) · Malicious Code

Affects py-base58Source GCVE Database

0

Malicious package : remove py-base58 and rotate any secrets on hosts that installed it.

Data as of 13 Jul 2026, 09:59 UTC

Classification

Malicious package

Published to PyPI · OSV MAL-2026-10193

What to do

Remove py-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

ProductAffectedFixed in
PyPIpy-base58Affected
  • =2.1.3
  • =2.1.4
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The py-base58 package versions 2.1.3 and 2.1.4 on PyPI contain malicious code that, upon import, drops and executes a hidden Linux ELF binary masquerading as a system daemon. This binary acts as a cryptocurrency wallet stealer targeting BIP-39 mnemonics and keystore files for wallets such as Phantom, MetaMask, Ledger, and Exodus. It establishes persistence via a user crontab entry and exfiltrates stolen data encrypted with an embedded RSA public key to multiple public file hosting services. The package also removes its own installation metadata to evade detection by package management tools.

References

Community reviews

Loading reviews…