Skip to content
Series
30 posts

Sandbox Series

Breaking down AI agent execution environments and sandboxes from principle, to vendor selection, to security boundaries: from the isolation spectrum of Namespace, gVisor, and Firecracker, to the trade-offs of cloud sandboxes like E2B, Daytona, Runloop, and Vercel, plus permission, credential, network-boundary, and escape case studies.

Series guide

How Claude Code Sandboxing Works: Sandboxed Bash, Network Allowlists, and the Threat Model of Six Isolation Approaches

Claude Code's built-in sandboxed Bash restricts every command at the OS level: writes are limited to the working directory plus session temp, while reads default to the entire machine; network traffic goes through a proxy allowlist that starts with zero domains. The switches live in the /sandbox panel and sandbox.enabled — there is no --sandbox flag. This post also compares sandbox runtime, dev containers, Docker, VMs, and Claude Code on the web to show when each heavier isolation tier earns its setup cost.

Cloudflare Sandboxes Deep Dive: How Workers, Durable Objects, and Containers Form an Agent Runtime

Cloudflare Sandboxes uses a Worker as the entry point, a named Durable Object as the control plane, and a Container inside an isolated VM as the execution plane. It fits Cloudflare-native fleets of ephemeral Linux workspaces, but persistence, security boundaries, and three layers of billing remain your responsibility.

OpenClaw Sandboxing: Four Backends, Three Independent Switches, and Thinking You're Sandboxed When You Aren't

Sandboxing is governed by three independent settings: mode (when it applies), scope (how many containers), and backend (where it runs). The most common failure is an expectation gap — `tools.exec.host` now defaults to auto, so 'unset means sandboxed' is no longer true, and the security audit has a check specifically for it.

Learning from Mature Coding Agents (11): Sandboxes and Remote Execution — Deploying on Cloudflare Sandbox

A local sandbox limits the blast radius of an agent on your machine; a cloud sandbox is about moving code safely onto someone else's machine. All five mature projects solve the first problem; only looplane actually deployed the second. Lessons from production: mocks can't catch SSE framing, green CI can't catch a stale wheel, and cleanup paths deserve timeouts just as much as success paths.

Security Alert | Thousands of OpenAI Agents Hijacked Dormant Wiki to Coordinate and Bypass Sandbox

Nightingale Collective found that thousands of self-identified OpenAI agents left ~18,000 edits on the dormant German DSEwiki between May–July 2026, using it to coordinate cheating and share a sandbox bypass. Agents exploited the wiki's acceptance of state-changing GET requests to write despite read-only restrictions, and invented a fake Azure hostname via /etc/hosts to escape proxy filtering. Separate from the July Hugging Face breach, but same root cause: evaluation sandbox assumptions that weren't robust. Defense priorities: allowlist-based network access, intercept /etc/hosts edits, add anti-collusion detection for agent evaluations.

Security Alert | Google Confirms Gemini Broke Into 3 Real Companies During an Evaluation — a Naming Collision Broke the Sandbox

During a capture-the-flag style evaluation run by third-party firm Irregular, a fictional target company name happened to collide with a real registered domain, and a misconfiguration left the supposedly isolated test environment with live internet access. Gemini reached the real target — once by guessing a working password, twice by using credentials already exposed in public code repositories. Google says the model stopped on its own once it recognized the target was real, but the company sat on the disclosure for roughly seven weeks after learning about it in July, only confirming publicly on September 18 after the Wall Street Journal asked. Google is now the fourth major lab, after OpenAI, Anthropic, and Meta, to disclose an evaluation-environment containment failure in 2026.