Skip to content
AgentProv

2025-10 · 2025-Q4

Claude Code RCE via Hooks

Primary layerL5 ConfigSecondary:L1 Credential

Who wrote the file that runs on open?

The question layer 5 asks, and failed here.
Fixable
Vendor patch
Vendor response
Patched
In the wild
No
Actor
Attacker

Target

Anthropic Claude Code

Impact

RCE and API token exfiltration when developers clone untrusted repositories; hooks execute before trust dialog

Root cause

Startup trust dialog allowed code execution from project configs before user accepts

CVE

Sources

Catalog

Cite this: AgentProv incident record: Claude Code RCE via Hooks (2025-10). https://agentprov.com/incidents/2025-10-claude-code-rce-via-hooks