Claude Code's rm -rf Followed an NTFS Junction Out of a Worktree and Wiped a User's Documents
This story is from 2026-10-01. It is preserved in the archive; the latest stories are on the live feed.
A Claude Code user on Windows asked the agent to remove two git worktrees from a pnpm monorepo. The agent ran a recursive delete on the worktree paths. The delete didn't stop at the worktree — it followed an NTFS junction out of it and tore through the user's Documents, Downloads, Pictures, Music,…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-10-01 11:10 · DEV Community — AI
Claude Code's rm -rf Followed an NTFS Junction Out of a Worktree and Wiped a User's Documents