2026-02-22
Claude Code's --dangerously-skip-permissions ("YOLO mode") bypasses all interactive permission prompts, enabling fully autonomous execution. While productive, it introduces risks: arbitrary code execution, data exfiltration, and destructive filesystem operations. The built-in sandbox exists but isn't automatically enabled with YOLO mode, and allowUnsandboxedCommands defaults to true, letting Claude retry blocked commands outside the sandbox without approval.