STUPID-2026-0103

Claude desktop app deleted a macOS user's home folder contents — Desktop, Music, Movies, Pictures, SSH keys, and login keychain — after permission prompts were approved for a website-building task (GitHub #93408)

8.8high
September 10, 2026VerifiedReproducible
  1. Instruction given

    Build a website — a landing page with a scroll-driven canvas animation referencing a video stored in ~/Downloads — in a project folder under ~/Desktop, using the Claude desktop app's Claude Code integration on macOS. The user approved macOS's Files and Folders, Documents, and Media & Apple Music permission prompts when the app requested them.

  2. Expected behavior

    Claude Code should never delete files outside the active project directory, and approving a macOS folder-access permission prompt for a build task should not authorize destructive actions against unrelated parts of the home directory. The desktop app should also keep a local, readable audit trail of every command it runs and every permission it exercises.

  3. Actual behavior

    Between 22:43 and 22:48 SGT, something in the session deleted the contents of ~/Desktop (other than the active project folder), emptied ~/Music, ~/Movies, ~/Pictures, ~/Public and ~/Sites, removed part of ~/Downloads, deleted ~/.ssh and the shell history file, and deleted ~/Library/Keychains outright — macOS subsequently reported "Keychain Not Found" and the user was signed out of iCloud. ~/Documents was untouched. Directory modification times showed a sequential deletion pass over roughly five minutes, and none of it went to Trash. The local session transcripts under ~/.claude/projects contained only bridge-session bookkeeping with no Bash tool calls recorded, so there is no local record of which command or tool actually performed the deletions.

  4. Damage

    Permanent loss of the user's Desktop and media folders, part of Downloads, shell history, SSH keys, and the macOS login keychain, which also broke iCloud sign-in. Nothing was recoverable from Trash. The reporter filed a support ticket with Anthropic and made the affected session IDs available for server-side investigation, since no command audit trail existed locally. Filed with labels area:bash, area:desktop, area:sandbox, bug, data-loss, high-priority, and platform:macos; open with no root cause or maintainer response as of publication.

On September 10, 2026, a user filed GitHub issue #93408 after the Claude desktop app's Claude Code integration (version 2.1.260, Apple silicon macOS) deleted large parts of their home directory during what was meant to be a routine website-building session. The user asked Claude to build a landing page with a scroll-driven canvas animation that referenced a video in `~/Downloads`, working out of a project folder under `~/Desktop`, and approved the macOS permission prompts the app presented for Files and Folders, Documents, and Media & Apple Music access. Over roughly five minutes, the contents of `~/Desktop` outside the active project, `~/Music`, `~/Movies`, `~/Pictures`, `~/Public`, `~/Sites`, part of `~/Downloads`, the `~/.ssh` directory, the `.zsh_history` file, and `~/Library/Keychains` were all deleted. macOS reported the login keychain missing afterward and signed the user out of iCloud. `~/Documents` was the one major folder left untouched. None of the deleted material passed through Trash, and directory modification timestamps showed the deletions happening in a sequential pass rather than all at once. What makes the report harder to root-cause than similar `rm -rf` incidents in this database is that the local session transcripts under `~/.claude/projects` contain no Bash tool calls at all for the affected sessions — only bridge-session bookkeeping — so there is no local record of which command, tool, or code path actually deleted the files. The reporter filed a support ticket and handed over the affected session IDs so Anthropic could pull server-side transcripts, since the client-side audit trail was empty. The issue was filed with labels `area:bash`, `area:desktop`, `area:sandbox`, `bug`, `data-loss`, `high-priority`, and `platform:macos`, and remained open with no confirmed root cause or maintainer response as of publication.

Classification

Failure mode
Destructive Action
Domain
Infra

Related incidents

Get told when an agent breaks something

We document AI agent failures daily, severity-scored against a published scale. When one lands at 7.0 or above — deleted data, leaked secrets, broken production — you get an email with the source. When nothing does, you get nothing.

This database is callable over MCP — query it from inside your agent.