Sandboxes Papers
354 papers in 11 categories, ranked within each. Last updated November 2026. Starts to matter at L5 and is mandatory by L10.
Threat Models, Surveys and Containment Architecture33 papers
Isolates each third-party app in its own LLM execution context behind a mediated hub. Authors report under 30% overhead on three-quarters of queries.
Maps 116 OS mechanisms to agent counterparts: 11 isomorphic, 65 missing, most of them protections. Thirteen experiments on Claude Code, Codex CLI and Gemini CLI test enforcement that documentation cannot settle.
SoK on the agent harness as de-facto kernel. Separates crossings that can be checked deterministically over provenance from those needing semantic judgment, and argues an irreducible residual remains.
Systematises 39 papers into 17 categories and notes that isolation designs are almost never compared on a shared benchmark.
Survey that treats isolation as the organising principle of agent safety, with a taxonomy of five boundaries: user-agent, agent-tool, agent-execution, agent-agent and system-environment.
Sandbox Escape and Isolation Attacks25 papers
SandboxEscapeBench: 18 nested-sandbox CTF scenarios across orchestration, runtime and kernel layers. Frontier models escape misconfigured containers; ICML 2026 oral, from UK AISI.
Collects 223 real exploits and runs them against containers, giving a concrete measure of what kernel sharing leaves exposed.
Shows injected context can shape permissions shown for approval, leading to escalation on Claude Code and Codex CLI.
Instruction privilege escalation achieved all 13 objectives on six harnesses under unrestricted action execution.
Bulkhead detects and remediates container-escape path-resolution flaws automatically. The authors report 20 zero-days, 43% of the total found over the past decade, and 3 CVEs.
Code-Execution Safety Benchmarks and Red-Teaming26 papers
Benchmark of risky code execution and generation, with 4,050 Docker-run test cases. Shows agents frequently run dangerous commands.
ToolEmu uses an LM to emulate tools and spot risky agent behaviour without real side effects. The early case for a simulated sandbox.
Runs 12 coding agents on Terminal-Bench 2.1 under nested restrictions. Under the strictest policy, success losses reach 18.3 points and cost inflation 167.3%.
500 scenarios and about 7,500 runs measuring out-of-scope actions on benign tasks; removing a consent line lifts Claude Code's rate from 0.0% to 17.1%.
Hand-crafted test suite probing sensitive-information exposure, filesystem manipulation and external communication in environments that run LLM-generated code. Working paper.
OS-Level Confinement, Capabilities and Least Privilege43 papers
Zero-Trust Agent Cells: a kernel sandbox whose only route out is a broker that decides on resolved objects, not names. Against 74 attacks an allowlist loses 66, allowlist plus command sandbox loses 56, ZTAC loses 2.
ShellSieve finds 69.0-98.6% of 1,709 real command denylists fragile. The strongest evidence against denylists as a boundary.
Confines agent code with Landlock, seccomp and user-space supervision, no root; authors report about 5 ms startup and bare-metal Redis throughput.
AgentSight watches agents from outside with eBPF, correlating LLM traffic with syscalls at under 3% overhead.
Capability mode for UNIX processes. The conceptual base for unprivileged self-sandboxing.
MicroVMs, Containers and Virtualization47 papers
Purpose-built Rust VMM behind AWS Lambda and Fargate. The authors report millions of production workloads and trillions of requests a month. The reference design for agent microVMs.
Compares Firecracker and gVisor as ways of blending container and VM techniques for serverless. Only the abstract's first sentence was retrieved, so this is a title-level summary.
LightVM shows VMs can match container boot times and density when the toolstack and guest are stripped down.
Shares serverless execution environments across functions; authors report up to 7x lower P99 latency, and apply it to LLM-agent sandboxes. ACM TOCS.
Elastic cloud platform replacing OS-sandbox boots with a lighter execution model. SOSP 2025.
Network, Egress and Filesystem Policy24 papers
Snowflake's multi-layer egress architecture for sandboxed customer code. One of few production designs for sandbox egress; accepted at an IEEE/IFIP conference.
Declarative policy mechanism inspired by Android permissions, plus an enforcement engine for MCP servers. Across 296 servers, policies were generated at 80.9% accuracy.
Kairos: a reference monitor at the isolation boundary of an unmodified agent. It holds ambiguous effects while the agent continues speculatively, then releases or refuses them on the trace.
Connection escrow: a 98-instruction eBPF program parks each outbound TCP connection in connect() until an isolated verifier signs a verdict for that socket. Passes a 36-check adversarial suite.
Analyses 290 public reports of agents damaging files, and proposes agent-native filesystems with introspection, undo and gated access.
Snapshots, Forking, Rollback and Transactions38 papers
REAP: finds snapshot restores of Firecracker VMs dominated by page faults, and prefetches a recorded working set.
Restores sandboxes from checkpoints and forks from templates to skip initialisation. Early sandbox-fork design for gVisor.
Statepoints span local and remote state for undo and parallel exploration; authors report up to 15x better task quality at 3% overhead.
Gives an exact algorithm for deciding whether Checkpoint, Fork, Restore or Merge edits to a running agent are safe, returning every safe continuation or a checkable proof that none exists.
Claims the first systematic security study of agent checkpoint and rollback. Five failure modes, and three end-to-end attacks on Hermes, Cline and LangGraph including double payment. Correct rollback does not imply secure recovery.
Sandbox Infrastructure for Training and Serving at Scale26 papers
Amazon's production sandbox service: 3.1M sandboxes for 122 runs in two weeks, peak 11,858 concurrent.
DeepSeek's production platform: FnCall, container, microVM and full-VM backends behind one SDK; about 3M sandboxes a day and over 380,000 concurrent.
Separates private state capsules from shared runtimes, giving transactional resets and branches for computer-use RL.
WeEnv: environment management for agentic RL at WeChat. Reduces initialisation 5.6-14.2x over E2B, Docker and AgentENV, cutting its share of iteration time from up to 53.4% to 9.1%.
Compares containers, hosted sandboxes, Kubernetes and cloud VMs for coding RL: up to 110x cold-start variation, 1.8x projected cost spread.
WebAssembly and Language-Level Sandboxes15 papers
Shows memory bugs in source languages survive into Wasm and can be exploited within the sandbox.
Defines WebAssembly and its formally specified sandboxed semantics.
Verified Wasm compilation approaches giving machine-checked sandbox guarantees.
RLBox isolates third-party libraries in Wasm-based sandboxes in production Firefox.
Uses software fault isolation with shared memory regions, so isolated functions avoid the cost of containers.
Computer-Use, Browser and Mobile Environments42 papers
Argues agentic browsers and extensions undermine site isolation.
Hybrid sandbox joining a VM operating system with Docker web platforms to test computer-use agents under injection; 864 examples. ICLR 2026 oral.
Real-computer benchmark running in VMs with execution-based evaluation across operating systems. The base for most later desktop-agent environments.
Browser-level sandbox mapping agent actions to policy over site-level HTTP semantics, limiting prompt-injection blast radius.
150 tasks measuring misuse, injection and model misbehaviour for computer-use agents on OSWorld. NeurIPS 2025 spotlight.
Executable Environment Construction35 papers
First training environment for SWE agents: 2,438 Python tasks with executable runtimes; authors report up to 19% absolute gains.
89 hard terminal tasks in containers; frontier agents score under 65%. Its Harbor framework became the common runner.
32,079 executable tasks across 20 languages and 3,617 repositories with pre-built images. ICML 2026.
Automated pipeline collecting decontaminated interactive SWE tasks with executable environments. NeurIPS 2025.
8.7K procedurally built executable tasks for training SWE agents, with hybrid verifiers.
Know a paper, tool, or repo that should be listed here? We want this index to be exhaustive.
Comments and recommendations
Discuss this page, or recommend a paper, tool, system or correction.