Skip to main content
Low reported severity

Developer says a coding agent restored a file from a two-week-old archive, silently undoing four security fixes and a moderation layer (first-person)

In a public post to r/ClaudeCode created on 8 October 2026, a developer who runs Claude Code and OpenAI's Codex together writes that an agent, asked to revert some wording it had changed in a privacy policy, found a .tar.gz archive in the project root and copied server.js out of it. By the poster's account the archive was a two-week-old snapshot, the copy overwrote four verified security fixes, which the same agent had written, tested and deployed about forty minutes earlier, and an entire moderation API layer, and the agent reported success without noticing. Nothing was in git. The poster says the loss came to light two days later when an endpoint returned 404, and that the lost code was reconstructed from the agents' own session transcripts, which held it as tool-call arguments. The post does not say which of the two agents ran the copy. In a reply the poster accepts responsibility for shipping without tests and says a test suite and git are now in place; a new script runs the second agent in a separate git worktree.

AI system
Unidentified coding agent
Occurred
Event date unknown
Reported
8 October 2026
Event location
Unknown
What the AI did
Acted on the person’s behalf
Reported harm
Other Material Harm
Whose AI use
Their own AI use
Setting
Work
Evidence
AI involvement reported · Causal attribution alleged · 1 source
4 claims: 4 reported. 5 open questions
People reported harmed
1 person

AI system as recorded: One of the two coding agents the poster runs together, Claude Code and OpenAI Codex; the post does not say which one copied server.js out of the two-week-old archive

What Happened

The restore. The poster writes: "I had asked it to revert some wording it had changed in a privacy policy. To do that it looked around the project, found a .tar.gz in the root, and copied server.js out of it. Reasonable-looking move. The problem is that the archive was a snapshot from two weeks earlier, and the filename gave no hint of that." The agent "didn’t crash anything. It didn’t throw an error. It reported success."

What was lost. "That one cp took out four verified security fixes and an entire moderation API layer. The fixes were ones the same agent had written, tested and deployed about forty minutes earlier in the same session. It overwrote its own work and didn’t notice, because it only diffed the file it cared about." The poster lists the fixes as a fix for an unauthenticated crash, an access-control fix on private rooms, a fix for an unsigned cookie that let a user register against someone else's identity, and session invalidation on password reset, and says of the problems those fixes had closed: "All four were live again for two days and nobody knew."

Discovery and recovery. "Nothing was in git. I found out two days later when an endpoint returned 404 that should not have." Recovery came from "the agents’ own session logs": the poster says Codex keeps rollouts and a thread history and Claude Code keeps a transcript, and "The lost code was sitting in those transcripts as tool-call arguments. I reconstructed the moderation layer from one and confirmed the timeline from the other, including the exact command that did the damage, timestamped."

Which agent. The poster runs both agents: "My Claude quota runs out most days and the ChatGPT subscription sits idle, so handing the heavy reading to Codex is genuinely useful." The post does not state which agent ran the copy.

The poster's response. Replying to a commenter who pointed to git, code review and testing, the poster writes: "I shipped it, so it’s mine", that git was "the actual lesson and the one I had been putting off, through three separate reminders", and that a test suite "would have caught this". The poster adds: "The failure was not an agent writing something bad, it was an agent reverting something good with nothing in place to notice."

Reported harm

The poster says an agent's file restore silently removed four deployed security fixes and a moderation API layer from a live service for two days and cost a fortnight of work, later reconstructed from session transcripts (first-person account, uncorroborated).

Outcome

Resolved

The poster says the moderation layer was reconstructed from one agent's session transcript and the timeline, including the exact command, confirmed from the other; git, a 110-check test suite and a worktree-isolation script for the second agent were adopted afterwards. The poster says the four problems the fixes had closed were "live again for two days and nobody knew".

What remains unknown

  • Which agent, Claude Code or Codex, ran the copy; the post names both as in use.
  • The model and agent versions.
  • When the restore happened; the post of 8 October 2026 says the loss was found two days after it.
  • The service and its users, and whether anyone exploited the two-day absence of the fixes.
  • The poster's country.

What the evidence supports

AI involvement: reported. The poster states that a coding agent, acting on a request to revert wording in a privacy policy, copied server.js out of a two-week-old archive and reported success, and that this copy removed four deployed security fixes, which the agent had itself written, tested and deployed about forty minutes earlier, and a moderation API layer; the poster says the exact command was later found, timestamped, in the agent's session transcript. The agent's copy is the described action and the overwritten, two-day-absent code is its described consequence. Which of the poster's two agents (Claude Code or Codex) ran the copy is not stated. The account is the poster's own and is uncorroborated.

4 claims: 4 reported. What the statuses mean

Reported The poster says an agent, asked to revert wording in a privacy policy, copied server.js out of a .tar.gz archive in the project root that was a two-week-old snapshot, and reported success.

Causal attribution. Poster's account; the agent's command is described from the session transcript the poster read.

  • reddit.com(opens in new tab) supports · English
    'I had asked it to revert some wording it had changed in a privacy policy. To do that it looked around the project, found a `.tar.gz` in the root, and copied `server.js` out of it'; 'the archive was a snapshot from two weeks earlier, and the filename gave no hint of that'; 'It reported success'
Reported The poster says the copy removed four verified security fixes, which the same agent had written, tested and deployed about forty minutes earlier, and an entire moderation API layer, that nothing was in git, and that the loss was found two days later when an endpoint returned 404.

Causal attribution. Poster's account of the loss and its discovery.

  • reddit.com(opens in new tab) supports · English
    'That one `cp` took out four verified security fixes and an entire moderation API layer. The fixes were ones the *same agent* had written, tested and deployed about forty minutes earlier in the same session'; 'Nothing was in git. I found out two days later when an endpoint returned 404 that should not have'
Reported The poster says the lost code was reconstructed from the agents' session transcripts, where it sat as tool-call arguments, and that the four problems the fixes had closed were, in the poster's words, 'live again for two days and nobody knew'.

Causal attribution. Poster's account of the recovery.

  • reddit.com(opens in new tab) supports · English
    'The lost code was sitting in those transcripts as tool-call arguments. I reconstructed the moderation layer from one and confirmed the timeline from the other, including the exact command that did the damage, timestamped'; 'All four were live again for two days and nobody knew'
Reported The poster runs Claude Code and OpenAI Codex together, does not say which agent ran the copy, and in a reply accepts responsibility for shipping without git or tests.

Causal attribution. Poster's own statements; the acting agent is not identified in the post or the reply.

  • reddit.com(opens in new tab) supports · English
    'My Claude quota runs out most days and the ChatGPT subscription sits idle, so handing the heavy reading to Codex is genuinely useful'; 'I shipped it, so it’s mine'; 'The failure was not an agent writing something bad, it was an agent reverting something good with nothing in place to notice'

Sources

1 source inspected. Sources that repeat one account do not corroborate each other.

How the sources were read, and where the events happened

Read in English on 2026-10-09: full self-text and the 4 comments retrieved through the arctic_shift archive API by post ID, one of them the poster's reply. The poster handle is not recorded. Applies to s1.

Event countries: Unknown. Affected-person countries: Unknown. Court countries: Unknown.

No source states where the poster or the service is. No court proceedings.

Reviewed for publication 2026-10-09: Published under the public-forum rule as a concrete first-person account of a coding agent restoring a stale file and silently removing deployed security fixes and a moderation layer, with the restore, the loss, the two-day exposure and the recovery attributed to the poster. The acting agent is recorded as unidentified because the post names two agents in use without saying which ran the copy. The poster's handle, the service and the poster's GitHub account are not named.

People described

A developer running a live service with a moderation layer who uses two coding agents; no name, country or service is recorded

People reported harmed in this case

1 person

1 AI participant · 0 other people harmed

One person counted: the poster, whose deployed work the agent overwrote. Users of the service during the two days the fixes were absent are not described as harmed and are not counted.

Counted once within this case. The same person may appear in other cases. This count does not establish AI causation.

Cite this case

Compiled per our published methodology: verification statuses, sourcing standards, and corrections process.

APA

NOPE. (2026). Developer says a coding agent restored a file from a two-week-old archive, silently undoing four security fixes and a moderation layer (first-person). AI incidents. https://nope.net/incidents/2026-coding-agent-restored-server-file-from-two-week-old-archive-undoing-security-fixes-and-moderation-layer-first-person

BibTeX

@misc{2026_coding_agent_restored_server_file_from_two_week_old_archive_undoing_security_fixes_and_moderation_layer_first_person,
  title = {Developer says a coding agent restored a file from a two-week-old archive, silently undoing four security fixes and a moderation layer (first-person)},
  author = {NOPE},
  year = {2026},
  howpublished = {AI incidents},
  url = {https://nope.net/incidents/2026-coding-agent-restored-server-file-from-two-week-old-archive-undoing-security-fixes-and-moderation-layer-first-person}
}

Related cases

Low Grok Bot (reported)

First-person forum post: Grok Bot user says an agent told to stop its own task ran a stop-all that cancelled ten other bots' work

In a bug report on Cursor's community forum on 29 October 2026, a Grok Bot user says that earlier that day they told one of their agents to stop, meaning only its own current task, and the bot ran a stop-all instead, cancelling the in-flight turns and subagents of all 10 of their other bots. The user rated the bug critical, said a stop-all should need an explicit instruction or a confirmation, and added a memory rule to that bot as a workaround. No vendor reply had been posted when the thread was read.

Low Unidentified AI phone support system

First-person post in a DoorDash drivers' forum: driver says AI support kept them from an agent for 30 minutes, then unassigned the wrong order

In a Reddit post on 23 October 2026 in a forum for DoorDash drivers, a delivery driver writes that a Red Card decline that day cost them 45 minutes: an AI help line would not put them through to an agent for 30 minutes, then unassigned the wrong order from a run of three shop-and-deliver orders, and a human took another 15 minutes to put it right. The driver says they are not sure the right items reached the right customers. The post does not name the platform or the system. DoorDash and AWS have described a generative AI voice self-service system built with Anthropic's Claude that answers Dasher support calls. The account is uncorroborated and no platform response is reported.

Low Claude Code (reported)

Operator says read-only Claude Code watcher session ran a disk walk on the host serving their news site, taking it offline for about 41 minutes (first-person)

A GitHub issue opened on 22 October 2026 by the operator of a small local-news site says that a Claude Code session set up only to watch another agent session, under a prompt that said it was read-only, ran a disk walk over large folders on the Windows machine that serves the live site. According to the issue, the command ran past the tool's 120-second timeout and was moved to the background, and when the watcher later tried to stop it, the stop ended only the shell while the disk process kept running. The operator says the disk load made the site's watchdog kill and restart the app seven times and that the public site returned errors for about 41 minutes that afternoon, until the process was found and killed by its process ID. The operator attributes the outage partly to the model, which broke a rule it had in its own context, and partly to a harness defect already reported in an earlier issue. No reply appeared on the issue when it was read.

Low Claude Code (reported)

Developer says Claude Code subagent's script signalled every process they owned, ending their Linux desktop session and other agent sessions (first-person)

A GitHub issue opened on 22 October 2026 (UTC) by a developer says that a background Claude Code subagent, running a script it had written through the Bash tool on the developer's Ubuntu Linux machine, ended up calling kill(-1, SIGKILL), which killed every process the developer's user account owned: the tmux server, every other Claude Code session on the machine, the desktop shell and Chrome. According to the issue, the agent had been writing a scratch browser benchmark and, while refactoring it, swapped in -1 as a placeholder process ID but left a cleanup step that sent SIGKILL to that ID, then ran the script straight away. The developer says the machine kept running but the whole user session was gone, and that the kill also ended the agent and its parent session, so Claude Code recorded nothing; the developer pieced it together from the system journal. The developer calls it a model mistake that the harness failed to contain and asks for operating-system containment of agent commands. In two later replies on the issue the same day, the developer added that regaining control of the machine required a restart, partly because an unattended system upgrade had left the video system unstable, and that the restart lost work and transcripts the agents had kept in /tmp; the agents had to redo that work, and everything eventually picked back up. Two other users also replied; no vendor staff response appeared on the issue when it was re-read on 28 October 2026.

If you or someone you know is struggling, free and confidential support is available. Find a helpline near you at Signpost.