HighTyposquatPyPI1 affected version

anthropic-sdk

anthropic-sdk has 1 version on PyPI flagged in 1 incident we track. Only the exact versions listed below were named by the source advisories.

anthropic-sdk never had a legitimate version. It was published to be mistaken for a real package, so any install of it was an install of the payload.

Affected versions

Check what you actually have installed with pip show anthropic-sdk.

  • anthropic-sdk@0.1.0

The incident that flagged it

High

pip `anthropic-sdk` typosquat of Anthropic`s official `anthropic` SDK - credentials, env vars, AI chat files, SSH keys exfiltrated over HTTPS and DNS (OpenSSF campaign `2026-10-anthropic-sdk`, GHSA-xxp4-7566-29xj)

A single-version PyPI package anthropic-sdk@0.1.0 (GHSA-xxp4-7566-29xj) typosquats the official Anthropic Python SDK (real name: anthropic). On install it fingerprints the sandbox, downloads a remote stage, and exfiltrates credentials, env vars, AI chat files, and SSH keys over HTTPS and DNS. Classify typosquat + high.

Versions named here: 0.1.0

What to do if you installed one of these

Treat the machine as compromised rather than simply upgrading. Packages in these incidents typically execute at install time, so the payload has already run with whatever credentials were in the environment.

  1. 1.Rotate every credential that machine or CI job could reach - registry tokens, cloud keys, SSH keys, CI secrets - from a different machine.
  2. 2.Pin to a version not listed above, then reinstall from a clean lockfile.
  3. 3.Clear caches and private mirrors. Artifactory, Nexus, Verdaccio, and devpi routinely keep serving a tarball after the public registry has pulled it.
  4. 4.Read the incident write-up above - recommended actions differ per incident, and some have specific indicators of compromise worth grepping your logs for.

Check your whole project

anthropic-sdk is one of many packages in these incidents, and it is usually pulled in as a transitive dependency rather than one you installed directly. Paste your requirements.txt to check every dependency at once - it runs in your browser and nothing is uploaded.

Version data comes from the public advisories cited on each incident page. We list only versions those advisories name - we don't infer additional ones. Think this is wrong or incomplete? Tell us.