CyberSIXT Search
Original
Image: Security Affairs

Security AffairsPierluigi Paganini

Anthropic's Claude Code AI exploited by repos to steal API keys

Part of the CVE-2025-59536 story · 6 articles · 4 outlets · since 25 Feb

Untrusted repositories turn Claude code into an attack vector reports that flaws in Anthropic’s Claude Code could allow remote code execution and theft of API keys when users open untrusted repositories. Check Point Research found multiple vulnerabilities that abuse features such as Hooks, MCP servers, and environment variables to run arbitrary shell commands and exfiltrate Anthropic API credentials simply by cloning and opening a malicious project.

According to Check Point Research, the critical vulnerabilities CVE-2025-59536 and CVE-2026-21852 enable remote code execution and API key theft through repository-level configuration files. Researchers warned that Claude Code’s project-level configuration files can act as an execution layer, allowing a single malicious repository to trigger abuse and pivot from a developer’s workstation into shared enterprise cloud environments without visible warning.

Anthropic addressed the issues by tightening trust prompts, blocking external tool execution, and restricting API calls until user approval, as the article notes, while highlighting that AI-powered coding tools demand reassessed security boundaries as configuration files can influence execution, networking and permissions. The piece is dated 25 February 2026.

Story timeline CVE-2025-59536

Full timeline
Show as table
CVE-2025-59536 coverage
Published (UTC)OutletHeadline
Wed 25 Feb · 14:26 UTCCheck PointCheck Point finds API key leak in Anthropic's AI code assistant
Wed 25 Feb · 17:46 UTCThe Hacker NewsAnthropic's Claude Code AI bugs let attackers run code and steal API keys
Wed 25 Feb · 22:43 UTCSecurity AffairsAnthropic's Claude Code AI exploited by repos to steal API keys (this article)
Wed 25 Feb · 22:43 UTCDark ReadingAnthropic’s Claude Code flaws let repos seize PCs, steal keys
Tue 24 Mar · 21:58 UTCDark ReadingHow AI Coding Tools Crushed the Endpoint Security Fortress
Thu 7 May · 13:32 UTCDark ReadingOne‑click TrustFall exploit hijacks Claude Code via bad repo

Sources

On this device

Following

Intel

VendorsThreat actorsResearch reports

Settings

CyberSIXT summarises security news every 30 minutes.

↑↓ move↵ open⌘C copy CVE IDEsc close

Keyboard shortcuts

Everything works with a mouse or touch. Shortcuts are a faster path.

Search ⌘K
Search /
Next item J
Previous item K
Go to Today GT
Go to News GN
Go to CVEs GC
Go to Briefing GB
Reduce motion on this device