Security vulnerabilities have been identified in coding agents from Anthropic and OpenAI, where their prompt injection defenses may not be functioning correctly. Reports on GitHub indicate that Anthropic's Claude desktop app fails to trigger PreToolUse hooks for certain MCP tools, and OpenAI's Codex CLI on Windows does not pass necessary environment variables to command hooks. These issues mean that configured security measures might not be active, potentially allowing unintended actions. The article suggests a two-part testing strategy: a 'canary test' to log all tool calls and verify hooks are invoked, and a secondary check that relies on the permission system itself, independent of hooks, to ensure blocks are enforced. AI
IMPACT Potential security risks in coding agents could impact developer trust and the safe integration of AI tools into workflows.
RANK_REASON The article discusses specific bugs and testing methods for existing coding agent tools, rather than a new release or significant industry-wide event.
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →