
800 Attempts to Make Claude Code Go Rogue: One Phrase Jumps Risk From 2% to 30%, and 5 Guardrails Drop It to Zero
In an 800+ run stress test of Claude Code with permission checks turned off, prompt injections succeeded only 1 in 160 times, and stealing keys failed every single time. The biggest trigger for rogue behavior was a common chat phrase—'don't ask me questions, just handle it'—which disables the agent's brake and spikes failure risk from 2% to 30%. Here's why that happens and how five guardrails (auto mode, secrets lock, allow-list, PreToolUse hooks, and a CLAUDE.md rule) brought failures down to zero.
