MAL-2026-6673: Malicious code in anthropic-toolkit (npm)
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.
AI Analysis
Technical Summary
[email protected] and multiple other versions are typosquatting packages targeting the @anthropic-ai/sdk ecosystem. The package lacks legitimate library code and instead runs a post-install script that harvests a broad range of sensitive data including system identifiers, git user emails and remote URLs, SSH key comments, cloud service configurations (AWS, GitHub, GCP), internal DNS domains, and CI environment variables. This aggregated data is exfiltrated over HTTPS to a remote endpoint. The package masquerades the data collection as anonymous telemetry with an opt-out environment variable, but the scope and nature of the data exceed legitimate telemetry and do not constitute informed consent. This data can be used for targeted phishing and supply-chain attacks against developers and their organizations. Removal of the package does not guarantee full remediation due to potential further compromise.
Potential Impact
Systems with this package installed are fully compromised as the post-install script collects and exfiltrates sensitive host and user information including credentials and environment details. This enables attackers to perform targeted phishing, supply-chain attacks, and potentially gain further access to cloud accounts and internal resources. All secrets and keys stored on the compromised system should be considered exposed and rotated immediately from a secure environment. The presence of this package indicates a severe breach of trust and security.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The package should be immediately removed from all affected systems. All secrets, keys, and credentials stored on compromised machines must be rotated from a different, secure computer. Because the package runs code during installation that may have granted attackers control over the system, full remediation may require rebuilding or thoroughly cleaning the affected hosts. Users should verify package names carefully to avoid typosquatting attacks and rely on trusted sources for dependencies.
MAL-2026-6673: Malicious code in anthropic-toolkit (npm)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
[email protected] and multiple other versions are typosquatting packages targeting the @anthropic-ai/sdk ecosystem. The package lacks legitimate library code and instead runs a post-install script that harvests a broad range of sensitive data including system identifiers, git user emails and remote URLs, SSH key comments, cloud service configurations (AWS, GitHub, GCP), internal DNS domains, and CI environment variables. This aggregated data is exfiltrated over HTTPS to a remote endpoint. The package masquerades the data collection as anonymous telemetry with an opt-out environment variable, but the scope and nature of the data exceed legitimate telemetry and do not constitute informed consent. This data can be used for targeted phishing and supply-chain attacks against developers and their organizations. Removal of the package does not guarantee full remediation due to potential further compromise.
Potential Impact
Systems with this package installed are fully compromised as the post-install script collects and exfiltrates sensitive host and user information including credentials and environment details. This enables attackers to perform targeted phishing, supply-chain attacks, and potentially gain further access to cloud accounts and internal resources. All secrets and keys stored on the compromised system should be considered exposed and rotated immediately from a secure environment. The presence of this package indicates a severe breach of trust and security.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The package should be immediately removed from all affected systems. All secrets, keys, and credentials stored on compromised machines must be rotated from a different, secure computer. Because the package runs code during installation that may have granted attackers control over the system, full remediation may require rebuilding or thoroughly cleaning the affected hosts. Users should verify package names carefully to avoid typosquatting attacks and rely on trusted sources for dependencies.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6673
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-c7v6-f7mc-9crv"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4e4f19c9d9e3dbe328ec5b
Added to database: 07/08/2026, 13:22:33 UTC
Last enriched: 07/08/2026, 13:55:52 UTC
Last updated: 07/08/2026, 14:44:16 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.