Skip to main content
MalwarePublished Updated

anthropy (PyPI) · Malicious Code

Affects anthropySource GCVE Database

0

Malicious package : remove anthropy and rotate any secrets on hosts that installed it.

Data as of 9 Jul 2026, 09:52 UTC

Classification

Malicious package

Published to PyPI · OSV MAL-2026-5273

What to do

Remove anthropy 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
PyPIanthropyAffected
  • 0.0.1 – 0.0.6
6 affected builds
Fixed in–

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

Description

The PyPI package 'anthropy' is a malicious typosquat of the legitimate 'anthropic' SDK. It contains code that opens a reverse shell to a remote attacker upon import or when its CLI is invoked. This allows an attacker to execute arbitrary commands on the victim's machine. The package provides no legitimate functionality and is purely designed for unauthorized remote access.

References

Community reviews

Loading reviews…