A critical vulnerability in Claude Code allowed a user's prompt to inadvertently wipe an entire C: drive. The issue arose when Claude Code's system-path guard, designed to prevent deletion of sensitive directories, was bypassed by a quoting bug in a PowerShell command. This bug caused the command to recursively delete the drive root instead of the intended target folder. The incident highlights failures in the guard's ability to inspect resolved command lines, the retry mechanism's lack of awareness of prior blocks, and a timeout feature that allowed the destructive process to continue unsupervised. AI
IMPACT Highlights critical safety failures in AI coding assistants that could lead to data loss if not addressed.
RANK_REASON The cluster describes a bug in a specific AI coding tool, not a core model release or research breakthrough.
Read on dev.to — Claude Code tag →
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →