Check Pointsamanthar@checkpoint.com
Check Point finds API key leak in Anthropic's AI code assistant
Catching attention with the headline Caught in the Hook, Check Point Research reveals three configuration-based vulnerabilities in Anthropic’s Claude Code that enable remote code execution and API key exfiltration, tracked as CVE-2025-59536 and CVE-2026-21852. According to Check Point Research, the flaws arise from repository-controlled settings in .claude/settings.json and .mcp.json, which can trigger arbitrary shell commands via untrusted project hooks, or bypass user consent through MCP server initialisation.
The analysis demonstrates how an attacker could exfiltrate full Anthropic API keys by overriding ANTHROPIC_BASE_URL, watch these requests in plaintext with mitmproxy, and misuse a stolen key to access Workspaces and other resources, including regenerating non-downloadable files to bypass protections. The publication, dated 25 February 2026, notes that Anthropic patched the issues prior to publication and implemented safeguards such as improved consent prompts and network operation delays.
Authors Aviv Donenfeld and Oded Vanunu underscore that supply chain-style distribution of malicious configurations through PRs or Honeypot repositories amplifies the risk to development teams. Public disclosure followed a coordinated timeline, culminating in fixes for the three vulnerabilities and guidance to keep Claude Code up to date.
Story timeline CVE-2025-59536
Full timelineShow as table
| Published (UTC) | Outlet | Headline |
|---|---|---|
| Wed 25 Feb · 14:26 UTC | Check Point | Check Point finds API key leak in Anthropic's AI code assistant (this article) |
| Wed 25 Feb · 17:46 UTC | The Hacker News | Anthropic's Claude Code AI bugs let attackers run code and steal API keys |
| Wed 25 Feb · 22:43 UTC | Security Affairs | Anthropic's Claude Code AI exploited by repos to steal API keys |
| Wed 25 Feb · 22:43 UTC | Dark Reading | Anthropic’s Claude Code flaws let repos seize PCs, steal keys |
| Tue 24 Mar · 21:58 UTC | Dark Reading | How AI Coding Tools Crushed the Endpoint Security Fortress |
| Thu 7 May · 13:32 UTC | Dark Reading | One‑click TrustFall exploit hijacks Claude Code via bad repo |