
Agent2Shell: AI Coding Agents Already Executing Attacker Code - Pre-Prompt RCE Vulnerability
臼田佳祐2026.11.17
- • Discovered "pre-prompt RCE" vulnerability where attacker code executes in AI coding agents (Claude Code CLI, Cursor, Gemini CLI) before prompt input reaches the LLM
- • Pwn2Own Berlin 2026 research demonstrates security measures like trust dialogs and sandboxes are ineffective, with 20+ proof-of-concept attack patterns
- • Attacks exploit local configuration files (.git/config, .vscode/tasks.json) and workspace analysis, bypassing security boundaries through responsible vulnerability disclosure

