Claude deleted everything on C: drive after agent was launched without permission prompts

An incident shows why AI coding agents should not run with full system access and disabled permission prompts.
A real failure happened: a developer launched Claude Opus with permission prompts disabled, and the agent ended up deleting everything on their C: drive.
Fortunately, they had backups. Without them, the incident could have been catastrophic.
Lesson: never run AI agents with full system access and disabled permission prompts. Use auto-permissions in Claude Code or Auto-review in Codex.
Why it matters
AnalysisAutonomous agents can perform irreversible filesystem operations, so sandboxing, approval controls, and backups are essential for safe agentic coding.
Discuss in community
Share your questions and insights with developers
Related in Ecosystem
Practical guides, core terminology, and agent skills
Claude Code Projects: How a Single AI Orchestrates a Team of Autonomous Agents
A deep dive into Claude Code Projects: Coordinator and Threads architecture, parallel branches, shared memory via MEMORY.md, and cloud agent management.
Fresh Agent Skills: What Engineers Are Installing in Claude Code, Codex, and Cursor
A comprehensive analytical guide to the Agent Skills ecosystem: SKILL.md architecture, the Best Skills global ranking, top tools for software engineering, UI design, databases, and package management via skills CLI.
AI Agents (Autonomous Agents)
Software systems based on LLMs that can autonomously perceive the state of the environment, decompose complex goals, invoke external tools, and iteratively correct their own mistakes.
Claude Code
The official terminal agent from Anthropic, operating directly in the command line via Claude 3.7 Sonnet with native support for Bash, Git, file systems, and the MCP protocol.