Hey that sucks. This is the reason why we recommend (and default to) auto mode for permissions. It almost certainly would have caught this, is there a reason you aren’t using it?
claude.com/resources/arti…
Boris Cherny
@bcherny
Replying to @PerceptualPeak

claude.com
Auto mode is now the default in Claude Code for Pro, Max, and Team plans
Claude Code will soon run auto mode by default for Pro, Max, and Team plans, enabling longer-running autonomous work, and catching more dangerous commands.
4:51 AM UTC · Oct 7, 2026 · 180.9K Views
104131.4K396