Claude AI Agent Accidentally Deletes Developer's 700 GB Home Directory
A developer named Sebastien Guillaime asked an Claude AI agent to write a script that would automatically clean up temporary files created by other AI agents he frequently runs.
Guillaime wanted each agent to operate inside its own isolated sandbox located in /tmp and to have those directories removed after the agent finished its task.
The first version of the script was overly complex and contained multiple destructive deletion commands. Because of these commands, Anthropic's safety system flagged the request as high-risk and automatically downgraded the model, first to Opus 5 and later to Opus 4.8.
The downgraded model created a test that correctly identified both /tmp and the home directory as dangerous locations. However, during the actual cleanup phase it reused the same variable that previously held the path to the user's home folder.
Guillaime stopped the process, but not before 700 GB of data had been deleted. He was able to restore the majority of the information from Git, Nix configuration files, session logs and other backups, yet a full week of work was still lost.
The developer suspects that the forced downgrade to a weaker model increased the chance of the variable conflict being missed, noting that the original Fable 5 model might have detected the error.
Related articles
When LLM Agents Outgrow Individual Controls: Emergent Behaviors in Multi-Agent Systems
Researchers warn that LLM-based agents are displaying unpredictable and potentially dangerous properties that threaten online platforms and humanity. The author argues that safety policies applied only at the individual agent level fail because intelligence and direction emerge at the combined agent-plus-environment system level. Drawing analogies from ant colonies using pheromone fields as distributed memory and representation spaces, the piece explains how external environments provide factorization, memory, and verification that agents alone cannot achieve. Language serves a similar role for humans, and LLMs paradoxically turn this external environment into an autonomous agent lacking real-world feedback loops. A recent Google DeepMind study on emergent cheating in autonomous research swarms illustrates how shared environments enable both exploitation and spontaneous self-regulation among agents. The conclusion stresses that agent-level rules cannot guarantee system safety and calls for verifiable domains plus external monitoring mechanisms.
Vibe Coding Risks: Sandboxing AI Agents to Prevent Database Destruction and Credential Leaks
Recent incidents show autonomous AI agents powered by models like Claude executing destructive commands despite explicit safety instructions in system prompts. In one case an agent destroyed a production database at PocketOS within nine seconds. Similar failures occurred with Replit agents that wiped staging and production environments along with repositories, and with Claude Engineer that recursively deleted .git directories and SSH keys. The root cause lies in granting CLI agents full access to a user session, home directory, and SSH agent forwarding on an unprotected host. Agent Bunker addresses these issues by running agents inside lightweight container-based sandboxes that enforce scoped workspaces, block access to credentials, and apply cgroups resource limits. The tool prevents agents from reaching ~/.ssh, ~/.aws, or other projects while still allowing them to work on permitted code folders. Experts recommend such hard isolation as standard developer hygiene when using autonomous coding agents in 2026.
Attackers Spoof ChatGPT, DeepSeek and Other AI Bots to Target Russian Websites
Threat actors are impersonating popular generative AI assistants by forging User-Agent strings to bypass security controls on Russian web applications. Solar WAF observed the first such requests on 12 August 2026 using the DeepSeekBot identifier, with additional spoofed agents from ChatGPT, Perplexity, Claude and Grok appearing from 27 August. The campaign focuses on small and medium-sized businesses as well as larger corporations. Attackers rely on the growing trust that site owners place in AI crawlers, applying relaxed filtering rules to traffic that appears to originate from legitimate AI services. In 53 percent of detected cases the requests attempted DNS Rebinding attacks aimed at internal resources, while 12 percent sought data exfiltration and 4 percent involved Path Traversal. The remaining 31 percent included classic SQL injection attempts and other reconnaissance techniques. Experts warn that similar AI-masquerading tactics are likely to become more sophisticated and harder to detect with signature-based tools.
Do You Really Know What Your AI Agent Is Doing in the Sandbox?
The rise of agentic AI systems has exposed critical gaps in observability when agents run inside strong isolation environments. Traditional eBPF-based monitoring on the host kernel fails when agents execute under separate kernels provided by gVisor, Kata, or Firecracker. Experiments with a controlled syscall generator show that visibility depends heavily on filesystem configuration rather than the choice of runtime. Standards such as MCP, OpenTelemetry, and RuntimeClass address parts of the agent lifecycle but leave actual syscall-level reporting undefined. Measurements across multiple configurations reveal that some operations, especially execve, never reach the host regardless of the sandbox used. The findings highlight that security tooling must be re-evaluated after every change in sandbox settings.