9.2Kritik
Claude Agent SDK: Argument Injection via resume Option Allows Arbitrary Command Execution
anthropics claude-agent-sdk-python
Claude Agent SDK is a Python SDK for Claude Code. Prior to 0.2.121, the resume option is passed to the Claude CLI as a separate token without validation, so a dash-leading value is parsed as an independent CLI flag. An attacker can inject the --mcp-config fla…