Skip to main content
MalwarePublished Updated

anthropic-toolkit (npm) · Malicious Code

Affects anthropic-toolkitSource GCVE Database

0

Malicious package : remove anthropic-toolkit and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 15:56 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-6673

What to do

Remove anthropic-toolkit 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
npmanthropic-toolkitAffected
  • 0.1.0 – 1.3.1
22 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 anthropic-toolkit npm package is a typosquatting malicious package that does not provide legitimate library code but instead executes a post-install script that collects extensive sensitive information from the host system. This includes host and user identifiers, git configuration and history, SSH public key emails, cloud account details, internal DNS domains, and CI environment metadata. The collected data is sent to a remote server, enabling high-value reconnaissance for targeted phishing and supply-chain attacks. Installation of this package compromises the host, and all secrets and keys on the affected system should be rotated from a separate, trusted machine.

References

Community reviews

Loading reviews…