Cases / UAI-2026-0056

Unquoted rm -rf in agent-written script deleted repo root including .git.

Agent
Claude Code
Pattern
Ran a destructive command
What was harmed
Local files and uncommitted work
Severity
Severe: permanent data loss, an outage, or money lost
Reported
4 Nov 2026

Read the original report (claude-code #107271)

How sure are we?

Further right means the case carries more weight.

Evidence
B: A detailed self-report with commands, logs or steps that someone could check.
Who wrote the report
Written by the user
Was anyone watching?
Oversight reduced: bypassPermissions
Vendor response
None found
Other trackers
Not in Manifold, Eon, AIR or METR

The guard that would have stopped it

Not written yet. See the guards we have.

Other cases like this

  1. UAI-2026-0083 Subagent rsync --delete with empty variable wiped WSL root and mounted Windows drive folders. Claude CodeRan a destructive commandSevereEvidence B14 Nov 2026
  2. UAI-2026-0061 Agent deleted entire workspace while fixing an unrelated bug. Claude CodeRan a destructive commandSevereEvidence C5 Nov 2026
  3. UAI-2026-0055 rm -rf by agent deleted 12 months of git history. Claude CodeRan a destructive commandSevereEvidence C4 Nov 2026
  4. UAI-2026-0051 Quoting error made a recycle command delete user's whole 50 GB projects folder; recovered from backup. Claude CodeRan a destructive commandSevereEvidence B2 Nov 2026
  5. UAI-2026-0034 Subagent test payload ran rm -rf ~ on real home, deleting projects and unpushed work. Claude CodeRan a destructive commandSevereEvidence B27 Oct 2026