Skip to main content
MalwarePublished

eth-agent (PyPI) · Malicious Code

Affects eth-agentSource GCVE Database

0

Malicious package : remove eth-agent and rotate any secrets on hosts that installed it.

Data as of 13 Jul 2026, 09:57 UTC

Classification

Malicious package

Published to PyPI · OSV MAL-2026-10195

What to do

Remove eth-agent 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
PyPIeth-agentAffected
  • =1.0.0
  • =1.0.1
Fixed in–

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

Description

The eth-agent package on PyPI versions 1.0.0 and 1.0.1 contains malicious code that executes a remote script fetched from an IPFS gateway during import. This script collects sensitive files such as cryptocurrency wallet keys, SSH keys, and dotenv files, then uploads them to IPFS and communicates with a command-and-control server for further instructions. The malicious behavior is hidden by suppressing errors during the fetch-and-execute process, making it opaque to the user. This package is a typosquatting attempt unrelated to its stated Ethereum RPC helper purpose.

References

Community reviews

Loading reviews…