Cases / UAI-2026-0128

Agent's SSH cleanup command, misquoted in PowerShell, ran a recursive delete that reached the remote machine's drive root.

Agent
OpenCode
Pattern
Ran a destructive command
What was harmed
Local files and uncommitted work
Severity
Severe: permanent data loss, an outage, or money lost
Recovered
The report does not say
Reported

Read the original report (opencode #65495 on GitHub)

Cite this case Unintended Agents. "UAI-2026-0128: Agent's SSH cleanup command, misquoted in PowerShell, ran a recursive delete that reached the remote machine's drive root." Reported 21 Nov 2026. https://unintendedagents.com/cases/UAI-2026-0128/

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
Likely drafted by the agent
Was anyone watching?
Oversight reduced: full-access, wildcard allow rule
Vendor response
None found
Other trackers
Not in Manifold, Eon, AIR or METR

What helps with cases like this

Make every delete target fail when its variable is empty, and keep the agent away from drives it does not need.

General advice for the pattern “Ran a destructive command”, not tested against this exact setup.

Other cases like this

  1. UAI-2026-0127 Agent's mis-quoted WSL script ran rsync --delete into /, permanently deleting about 10 GB on a mounted Windows data drive. GitHub CopilotRan a destructive commandSevereEvidence B
  2. UAI-2026-0122 The agent ran rmdir /s /q without being asked and deleted the user's local repository. Claude CodeRan a destructive commandSevereEvidence C
  3. UAI-2026-0123 Asked to commit, the agent ran a forced checkout of an old commit, rolling the project back about four months. Claude CodeRan a destructive commandModerate, could have been severeEvidence C
  4. UAI-2026-0117 Agent's orchestration script destroyed a cloud VPS before verifying result transfer, losing results and wasting about $15 of compute. OpenCodeRan a destructive commandModerate, could have been severeEvidence B
  5. UAI-2026-0109 Agent ran irreversible git filter-repo destroying history, later executed placeholder commands that moved the backup repo and broke remote URLs. Other agentsRan a destructive commandModerate, could have been severeEvidence C