Fault-Tolerant Sandboxing for AI Coding Agents: A Transactional Approach to Safe Autonomous Execution
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
The transition of Large Language Models (LLMs) from passive code generators to autonomous agents introduces significant safety risks, specifically regarding destructive commands and inconsistent system states. Existing commercial solutions often prioritize interactive user safety, enforcing authentication barriers that break the headless loops required for true autonomy. This paper presents a Fault-Tolerant Sandboxing framework designed to mitigate these risks through a policy-based interception layer and a transactional filesystem snapshot mechanism. We hypothesize that wrapping agent actions in atomic transactions can guarantee safety with acceptable latency, outperforming the heavy initialization overhead of containers or the interactive friction of commercial CLIs. We validated this approach by deploying the Minimind-MoE LLM served via nano-vllm on a custom Proxmox-based testbed utilizing EVPN/VXLAN isolation. Experimental results demonstrate a 100% interception rate for high-risk commands and a 100% success rate in rolling back failed states. Crucially, our prototype incurs only a 14.5% performance overhead (approx. 1.8s) per transaction. In contrast, benchmarking against the Gemini CLI sandbox revealed that it requires interactive authentication ("Sign in"), rendering it unusable for headless, autonomous agent workflows.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 5 of its 20 references that are in the map. First posted on arXiv 14 Dec 2025.
Builds on
5 of 20 references.
References · 5
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,906
- 2023CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Societycited by 1,348
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026Code as Agent Harnesscited by 40
- 2026DeltaBox: Scaling Stateful AI Agents with Millisecond-Level Sandbox Checkpoint/Rollbackcited by 10
- 2026Reframing LLM Agent Security as an Agent-Human Interaction Problemcited by 8
- 2026From Tool Orchestration to Code Execution: A Study of MCP Design Choicescited by 3
- 2026Human-on-the-Loop Orchestration for AI-Assisted Legal Discoverycited by 0
- 2026The Balkanization of Execution-Security Research for AI Coding Agents: Isolation, Access Control, and Time-of-Check-to-Time-of-Use Vulnerabilitiescited by 0
- 2026Data Leakage Prevention in Agentic Applications via Preemptive Hardeningcited by 0
- 2026Data Leakage Prevention in Agentic Applications via Preemptive Hardening21 Jul 2026
- 2026The Balkanization of Execution-Security Research for AI Coding Agents: Isolation, Access Control, and Time-of-Check-to-Time-of-Use Vulnerabilities7 Jul 2026
- 2026Human-on-the-Loop Orchestration for AI-Assisted Legal Discovery18 Jun 2026
- 2026Reframing LLM Agent Security as an Agent-Human Interaction Problem23 May 2026
- 2026DeltaBox: Scaling Stateful AI Agents with Millisecond-Level Sandbox Checkpoint/Rollback21 May 2026
- 2026Code as Agent Harness18 May 2026
- 2026From Tool Orchestration to Code Execution: A Study of MCP Design Choices17 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2025Architecting Resilient LLM Agents: A Guide to Secure Plan-then-Execute Implementations
- 2026MAGS: Multi-agent Auto-formalization Guarantees Safety for Agentic Outputs
- 2026ClayBuddy: A Framework, Evaluation, & Mitigation of Coding Agent Failures
- 2026Engineering Reliable Commit Gates for Agentic AI: Cost-Aware Verification Portfolios under Common-Mode Data Failures
- 2026Tool Specifications Matter: Uncovering and Mitigating Safety Risks in AI Agents
- 2026Harness as an Asset: Enforcing Determinism via the Convergent AI Agent Framework (CAAF)
- 2026Toward Safe LLM Agents: A Survey of Specification, Verification, and Enforcement
- 2026Sovereign Agentic Loops: Decoupling AI Reasoning from Execution in Real-World Systems