Know a great AI tool or AI news source? Submit it to AiByts
inclusive3 min read

Claude Code's Own Delete Guard Was Bypassed by cmd /c — Then a Quoting Bug Wiped a Drive

A Claude Code session, driven remotely from claude.ai with its working directory set to C:\Windows\System32, was asked to clean up a leftover folder from an old Windows upgrade. Its first delete attempt was correctly blocked by Claude Code's own system-path guard.

By Ramdai BistaDev.to AI
Claude Code's Own Delete Guard Was Bypassed by cmd /c — Then a Quoting Bug Wiped a Drive

Read the full story

Originally published by Dev.to AI on Oct 2, 2026.

Read on Dev.to AI(opens in a new tab)

Comments

Sign in to join the discussion.

No comments yet — be the first to share your thoughts.