Claude Code deletes 48,000 files in about 100 seconds and corrupts Git history
An , Claude Code, deleted approximately 48,000 files in about 100 seconds and breached the Git . The agent apologized, but the missing backup caused irreparable damage.
Who is affected and how
- senior developer
- Run agents only on repositories protected by a remote backup, and require approval for destructive commands such as deletion or history rewriting.
- tech lead
- Set team-wide limits on agent permissions and make backups a requirement.
- DevOps, security
- Check that developer machines and repositories have independent, tested backups that sit outside the agent's reach.
Analyst's note
event that occurredWhat it rests on
The assumption is that the development environment recognizes and protects Windows junctions by default, whereas according to the described mechanism the agent treated them as physical folders. The assumption of irreparable damage rests on the premise that Git database corruption and the lack of a remote backup together rule out restoration.
What would refute it
The irreparability of the damage would be refuted if blobs remained in the Git object database after deletion, or if the developer had a prior backup outside the agent's scope. The precise figure of 48,218 would be refuted if system logs showed a different quantity, or if the deletion did not affect the .git/objects directory.
What to watch
In assessing similar future incidents, what matters is how new versions of Claude Code handle the os.path.islink() function in the case of Windows junctions, and whether developers implement mandatory remote backups before running coding agents. It would be significant if an independent test showed the agent distinguishing symbolic links from real directories without issuing a deletion command.
Analytical reading
Perspective
According to the wording of the sources, the news serves the interests of the developer community and security experts, who highlight the lack of remote backups and the risks of handling Windows junctions. The story approaches from the user side, with the developer's decision at the center: the lack of backups and the failure to restrict agent permissions.
Rival hypotheses
The damage may have been caused not by a lack of agent intelligence but by a configuration error in the development environment: Windows junctions were not properly isolated in the testing environment. Another explanation suggests the disaster was the result of the developer's own decision not to require the use of remote version control before allowing the agent into the production environment.
Red team
Edited counter-argument
The precise figure of 48,218 and the duration of 103 seconds come from a single, later-deleted Reddit post, without independent forensic confirmation. The GitHub issue closed by Anthropic also did not confirm the specific cause. Claims regarding the behavior of the Python os.path.islink() function are based solely on user reports cited by TechRadar and CyberSecurityNews.
Blind spot
The story does not address corporate and organizational-level business risks, such as the legal consequences of losing intellectual property or financial losses resulting from service interruptions.
Source profile
8 articles · 8 publishers · 7 independent pieces (8 press); Hungarian: 0. Published: 2026-09-28 – 2026-10-02.
No primary document (official, court or scientific publication, or company statement) was found among the sources.
Measured blind spot
- There is no Hungarian-language or Hungarian source among the listed sources.
- All listed sources were published in one language.
Background
- Claude Opus 5.5 arrives in Claude Code, with pricing tied to longer coding sessions 2026-09-22
- Claude Code's AGENTS.md support reportedly forced users to choose between privacy and the feature 2026-09-24
- Claude Code no longer cuts off a task at the 5-hour limit 2026-09-24
- AI coding agents leak credentials; Kilo and Enkrypt AI offer protection 2026-09-25
Machine analytical reading based on the story summary and the linked sources, following editorial rules. It contains no new facts; the facts come from the linked article. How is it made?
Sources
- AI coding agent deletes 48,000 files, corrupts Git databasetechgig · Sep 28, 2026
- AI coding agent deletes 48,000 files due to mishandled Windows junctions | brief | SC Mediascworld.com · Sep 28, 2026
- AI Coding Agent Deletes 48,000 Production Files — JournalArta Globaljournalarta.com · Oct 2, 2026
- "I broke something": Claude Code deleted 48,000 files in 100 seconds and simply apologized to the developerdev.ua · Sep 28, 2026
- Claude Code Deleted 48,000 Files. Here's How to Stop Itaitoolbriefing.com · Sep 28, 2026
- Claude Code Agent Deleted 48,000 Files in 100 Seconds: What Went Wrong — DiffVibediffvibe.com · Sep 30, 2026
- Claude Code Deleted 48,000 Files in 103 Seconds. The Missing Backup Did the Real Damage. | SpecPilotspecpilot.dev · Sep 29, 2026
Machine-generated summary based on the titles and excerpts of the source articles. The facts come from the linked article.
What do you make of this piece?
The split shows after 20 votes.
Why? Your answer is not shown publicly; it helps the editors.