TechBroz · techbroz.com74 incidents on record · updated as they happen
← Today in agent chaos

Agent chaosAs reported·4 Dec 2026

A Claude Code test wiped files on another computer, then a fresh session broke a system service while building the safeguard

As reported One person’s public account. We couldn’t independently confirm it, and we’ll update this if the facts change.

A developer says a Claude Code test that should have been make-believe ran for real on 2 December: it connected to another of their computers and deleted data, logins and settings there. The next day a brand-new session, building safeguards against exactly that, deleted a real system service on their machine.

This is one person's account on GitHub, not independently confirmed.

What happened

The developer builds software that manages their own computers, and uses Claude Code to write it. Like many programmers, they write a test first, watch it fail, then write the code. Tests like that are supposed to run in a safe, fake setup, so nothing real gets touched.

On 2 December, they say, one of Claude Code's tests used real commands instead. It connected to another of their machines, opened its home folder over the network and ran a cleanup across it. They say it deleted a large amount of work data, removed the machine's login keys and settings, damaged installed software and switched off a service they rely on.

Then it happened again

On 3 December a brand-new Claude Code session, not the one from the day before, was working on safeguards so this could never happen again. Its own test faked some commands, but still used the real home folder. It overwrote and then deleted a real system service on the developer's machine, the one that connects their network drives. Nobody noticed at first, because the old copy was still running. It would have failed at the next restart.

What the AI said

According to the developer, the agent admitted it had repeated the same mistake from the day before, and that a safety rule saved in its memory had not stopped it. It restored the service and suggested pausing all testing until a proper locked-down test area was in place.

Our take

This is our opinion. Rules written in a chat or a memory file are advice, not a fence. If an agent's tests can reach your real folders and other computers, sooner or later one will. Run its tests in a box that can only see the project folder, with no network.

Lesson for builders

A rule the agent has read is not a wall. Run its tests where they cannot touch your real files or other machines.

Fail card: A Claude Code test wiped files on another computer, then a fresh session broke a system service while building the safeguard
The fail card

This story in one shareable card. Tap to open it full size.

Share on X All fail cards →

More agent chaos

Every day of agent chaos →

More fails

Get TechBroz Weekly free → All 74 fails