2.1.226
1 years ago
1 days ago
Known vulnerabilities in the @anthropic-ai/claude-code package. This does not include vulnerabilities belonging to this package’s dependencies.
Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.
Fix for free| Vulnerability | Vulnerable Version |
|---|---|
@anthropic-ai/claude-code is an Use Claude, Anthropic's AI assistant, right from your terminal. Claude can understand your codebase, edit files, run terminal commands, and handle entire workflows for you. Affected versions of this package are vulnerable to Covert Storage Channel via the Note: This is only exploitable if an attacker can add untrusted content into the context window. How to fix Covert Storage Channel? Upgrade | >=0.2.54 <2.1.163 |
@anthropic-ai/claude-code is an Use Claude, Anthropic's AI assistant, right from your terminal. Claude can understand your codebase, edit files, run terminal commands, and handle entire workflows for you. Affected versions of this package are vulnerable to UNIX Symbolic Link (Symlink) Following. An attacker can cause arbitrary files to be written outside the intended workspace by leveraging symlink manipulation and prompt injection to execute code in a sandboxed context, which is then followed by an unsandboxed process writing to the symlink target. Note: This is only exploitable if an attacker can inject untrusted content into the context window to trigger sandboxed code execution via prompt injection. How to fix UNIX Symbolic Link (Symlink) Following? Upgrade | <2.1.64 |
@anthropic-ai/claude-code is an Use Claude, Anthropic's AI assistant, right from your terminal. Claude can understand your codebase, edit files, run terminal commands, and handle entire workflows for you. Affected versions of this package are vulnerable to Reliance on Untrusted Inputs in a Security Decision via the Workspace Trust Dialog. An attacker can gain unauthorized tool execution by committing a How to fix Reliance on Untrusted Inputs in a Security Decision? Upgrade | <2.1.80 |
@anthropic-ai/claude-code is an Use Claude, Anthropic's AI assistant, right from your terminal. Claude can understand your codebase, edit files, run terminal commands, and handle entire workflows for you. Affected versions of this package are vulnerable to UNIX Symbolic Link (Symlink) Following via the file access process. An attacker can access restricted files by leveraging symbolic links to bypass deny rules configured in How to fix UNIX Symbolic Link (Symlink) Following? Upgrade | <2.1.7 |
@anthropic-ai/claude-code is an Use Claude, Anthropic's AI assistant, right from your terminal. Claude can understand your codebase, edit files, run terminal commands, and handle entire workflows for you. Affected versions of this package are vulnerable to Command Injection via improper validation of directory changes in the How to fix Command Injection? Upgrade | <2.0.57 |
@anthropic-ai/claude-code is an Use Claude, Anthropic's AI assistant, right from your terminal. Claude can understand your codebase, edit files, run terminal commands, and handle entire workflows for you. Affected versions of this package are vulnerable to Command Injection via improper validation of commands containing piped Note: This is only exploitable if the How to fix Command Injection? Upgrade | <2.0.55 |
@anthropic-ai/claude-code is an Use Claude, Anthropic's AI assistant, right from your terminal. Claude can understand your codebase, edit files, run terminal commands, and handle entire workflows for you. Affected versions of this package are vulnerable to Arbitrary Code Injection via the How to fix Arbitrary Code Injection? Upgrade | <2.0.72 |
@anthropic-ai/claude-code is an Use Claude, Anthropic's AI assistant, right from your terminal. Claude can understand your codebase, edit files, run terminal commands, and handle entire workflows for you. Affected versions of this package are vulnerable to Directory Traversal via the ZSH clobber syntax. An attacker can write arbitrary files outside the intended directory by injecting untrusted content into the context window while the user is operating in a ZSH environment. Note: This is only exploitable if the user is using ZSH and allows untrusted content to be added to the context window. How to fix Directory Traversal? Upgrade | <2.0.74 |
@anthropic-ai/claude-code is an Use Claude, Anthropic's AI assistant, right from your terminal. Claude can understand your codebase, edit files, run terminal commands, and handle entire workflows for you. Affected versions of this package are vulnerable to Insufficiently Protected Credentials via the How to fix Insufficiently Protected Credentials? Upgrade | <2.0.65 |