Ran a destructive command
The agent ran rm, rmdir, git reset, DROP or rsync --delete, and it hit something that mattered.
16 cases, 16 of them severe.
Guards
- Make delete targets fail when a variable is empty
- Keep unattended agents in WSL away from your Windows drives
Cases
- UAI-2026-0083 Subagent rsync --delete with empty variable wiped WSL root and mounted Windows drive folders.
- UAI-2026-0061 Agent deleted entire workspace while fixing an unrelated bug.
- UAI-2026-0055 rm -rf by agent deleted 12 months of git history.
- UAI-2026-0056 Unquoted rm -rf in agent-written script deleted repo root including .git.
- UAI-2026-0051 Quoting error made a recycle command delete user's whole 50 GB projects folder; recovered from backup.
- UAI-2026-0034 Subagent test payload ran rm -rf ~ on real home, deleting projects and unpushed work.
- UAI-2026-0036 Codex rmdir command wiped files across whole E: partition including photos and projects.
- UAI-2026-0032 Model-written test ran unpatched rmtree on temp/.. and deleted the local checkout.
- UAI-2026-0033 Agent junction into real Assets dir led to 4,864 source files deleted; most recovered.
- UAI-2026-0031 Agent relaunched real Brave profile with incompatible password backend; 31 passwords and wallet extension lost.
- UAI-2026-0021 Subagent script with pid -1 killed all user processes, tmux and sessions, losing work.
- UAI-2026-0017 Badly quoted rmdir /s /q with escalated permissions deleted most contents of drive D:.
- UAI-2026-0008 Agent symlinked real repo into worktree and ran self-test whose rm -rf deleted real .git.
- UAI-2026-0010 Agent ran venv --clear with empty target, wiping the project workspace; two weeks of work partly lost.
- UAI-2026-0001 Unset variable made find -delete wipe whole git checkout; recovered from NAS mirror.
- UAI-2026-0003 Agent ran broken rmdir command that wiped most of a drive, unrecoverable.