
Check Point Research and Anthropic disclosed critical security vulnerabilities in Claude Code, an agentic AI coding tool. The flaws allowed attackers to execute arbitrary shell commands and exfiltrate sensitive API keys by tricking users into opening malicious project directories.
Key Vulnerabilities
The vulnerabilities leveraged “supply chain” attack vectors, where a malicious repository configuration (e.g., in a .claude/settings.json file) could trigger actions without user consent.
ANTHROPIC_BASE_URL environment variable in a project’s configuration, an attacker could redirect all of Claude Code’s API traffic to a server they controlled. This allowed them to capture the user’s Anthropic API key immediately when the tool started, with no user interaction required.Impact of Stolen API Keys
Researchers found that a stolen API key provides more than just billing access; it allows an attacker to:
Remediation & Status
Anthropic worked closely with researchers to patch these issues before public disclosure.
#alert: #allow #and #api #claude #code #critical #expose #flaws #keys #news #rce #security — News
© Bulletproof Servers. All rights reserved.