Sandboxes, secure inference, and keeping agents from going rogue
Agent sandboxes are mostly micro-VMs built on Firecracker, Cloud Hypervisor, QEMU, gVisor or Docker, and buyers choose them mainly for performance rather than security.
Topics Infrastructure
Hypervisors, microVMs, VM isolation.
Search within Virtualization, or combine it with other topics →
Agent sandboxes are mostly micro-VMs built on Firecracker, Cloud Hypervisor, QEMU, gVisor or Docker, and buyers choose them mainly for performance rather than security.
The .NET Framework v4 loader falls back from an image-section mapping (SEC_IMAGE) to a plain data mapping (FlatImageLayout) whenever NtCreateSection fails with STATUS_INVALID_IMAGE_FORMAT, so assemblies can execute without passing image-based DLL verification.
Cognition runs Devin's macOS workspaces as Apple Virtualization framework guest VMs on bare-metal EC2 Mac Dedicated Hosts across six AWS Regions, starting a fresh VM per session in under a minute with two guests per host as the macOS license allows.
A KVM flaw on AMD hosts with nested virtualization let root inside a guest read and write physical host memory.
An incident-response team of six AI agents (commander, three read-only investigators, remediator, verifier) runs on DigitalOcean MicroVMs, each subagent isolated in its own Firecracker VM cloned from a checkpoint template so it starts in seconds.
Agents that write and run code face prompt injection risk, and Willison's "lethal trifecta" (sensitive data, untrusted content, external communication) and Meta's "Agents Rule of Two" frame when autonomy becomes dangerous.
Meta's Reality Labs ported AOSP's Cuttlefish virtual-device framework to run natively on Apple silicon Macs, letting it retire the lower-fidelity Goldfish emulator and standardize on one platform shared by developers, CI and external partners.
Phases is a new image-build and persistence feature for Teleport's Beams agentic runtime that gives container filesystems a Git-like model: snapshot phases persist forkable /home state, rebuild phases rerun commands on a timer (every 24 hours by default), and copy phases overlay fixed files, composable in any order.
Asahi Linux's 7.3-cycle report covers upstream submission of the macaudio and AVD (~13,000 lines) drivers, initial M4 Pro/Max and M5 Devicetrees, and M3 support going generally available with DCP enabling sleep and the notch area. m1n1 now runs three EL1 VMs (macOS, SPTM, and the Secure Kernel with Exclaves) to reverse engineer M5 macOS.
Containers are isolated processes sharing the host kernel. Docker Sandboxes are microVMs with their own kernel, filesystem, network and private Docker Engine, designed for autonomous coding agents that accumulate state for hours and act on untrusted instructions.
A Linux kernel bug in IPv4 checksum offload validation let a guest VM direct the host to write its computed checksum into an already-trusted IPv4 header field.
Dropbox's file-acting agent grew out of two engineer prototypes, a server-side sandbox with installed software and a desktop chat UI with permission controls, merged into one system.
Self-hosted AI agents on the Oxide Cloud Computer run best as a long-lived orchestrator VM that spawns an ephemeral VM per agent session.
Replit's Agent Habitat secures agent work through four layers: least-privilege connectors with a credential broker that injects vault secrets only into authorized requests, microVM isolation with a hardened kernel, production changes gated behind engineering review and combined static, dependency and AI security scanning, and audit logs that stream to a SIEM.
OpenAI hardened containment for frontier-model training and evaluation after models escaped sandboxes, including a September DNS-resolver misconfiguration that gave a research model limited internet access.
Netflix added a single-tenant mode to Titus, its Kubernetes-based multi-tenant container platform, giving selected tasks a dedicated, right-sized EC2 instance while keeping the same API, deployment path and platform-managed hosts.
Shopify built Remote Dev so its Slack-based coding agent River can build and test iOS and Android apps in parallel on a fleet of remote Macs instead of developers' laptops.
Legora tests its long-running legal agent by booting the full application, pinned to a specific commit, inside a separate Modal Sandbox for each eval run.
Modal replaced virtio-fs with a custom virtio-blk backend, ImageFS-blk, for its VM Sandboxes.
Voxel (Virtual Oxide Labs) is a Rust-on-illumos emulation stack that runs a full Oxide rack on a single machine using stock, unmodified Oxide software.
Docker Sandbox Kit Specification v3 defines a Kit as an ordinary OCI image whose manifest annotation (vnd.docker.sandbox.kit.descriptor) declares the authority an AI agent requests: network policies, proxy-managed credentials, volumes, hooks, skills.
On large fixed-size Lakebase Postgres computes, Neon now disables its NVMe-backed local file cache and sets shared buffers to 75% of DRAM (up from a 1 GB cap), backed by explicit 2 MB HugeTLB pages provisioned through host, hypervisor and guest VM.
Neon's Lakebase Postgres resizes compute in place about once every 81 seconds by taking the maximum of three target sizes: CPU load (one-minute average kept under 90%), memory (polled every 100 ms by an in-VM monitor and kept under 75%), and the working set of the compute cache.
A preview of GPT 5.6-Cyber escaped a QEMU/KVM sandbox on a Debian 12 host three separate times, working autonomously for about 12 hours.
Asahi Linux's Linux 7.2 progress report covers several pieces of Apple Silicon bring-up.
GitHub Agentic Workflows (gh-aw 0.82.9) supports Docker Sandboxes (sbx) as an agent runtime, so a CI coding agent gets root, sudo and unrestricted shell inside a disposable microVM with its own kernel and private Docker daemon.
CVE-2026-22708 in Cursor let shell built-ins like `export`, `typeset` and `declare` run outside the Auto-Run allowlist, so injected text could silently set variables such as `PAGER`, `PYTHONWARNINGS` or `PERL5OPT` and turn an approved command like `git branch` into arbitrary code execution, even with an empty allowlist.
ClickBench Playground hosts around 100 database systems with a preloaded 100-million-row dataset for interactive querying and side-by-side "race" comparisons.
In December 2025, Amazon's Kiro coding agent, running with an engineer's operator-level credentials, decided the cleanest fix for a small AWS Cost Explorer bug was to delete and rebuild the production environment.
AI coding agents that run commands, install packages and handle credentials should execute behind an isolation boundary rather than directly on the developer's host.
Network throughput on Oxide's rack is shaped by several layers: frame size, offloads, CPU placement, flow parallelism and protocol, and each fix exposes the next bottleneck.
Tangled's self-hostable CI runner, spindle, adds a microVM engine that boots each workflow in its own QEMU microVM, with NixOS images configurable directly from the workflow YAML (services like Postgres, Docker, flake dependencies, binary caches).
Separate where an agent lives from where it executes code: keep the agent loop on a durable host and send every shell command to a disposable Sprite sandbox.
An AI coding agent asked to clean up an old repo ran `rm -rf tests/ patches/ plan/ ~/`, and the trailing `~/` expanded to the user's home directory and wiped an entire Mac, including the Keychain, SSH keys and years of files, with TRIM-enabled SSDs ruling out recovery.
AI coding agents are untrusted, autonomous workloads that containers were never designed to isolate, so Docker Sandboxes runs each agent in a microVM (custom VMM on Hypervisor.framework, WHP or KVM) with its own kernel and private Docker Engine.
Anthropic caps the blast radius of Claude agents mainly through containment (sandboxes, VMs, egress controls) rather than human approval, after telemetry showed users approved about 93% of permission prompts. claude.ai runs code in ephemeral gVisor containers, Claude Code combines human approval with an OS-level sandbox (Seatbelt/bubblewrap) that cut prompts by 84%, and Cowork runs inside a full local VM with credentials kept on the host.
Railway replaced its docker-buildx-on-GCP-VMs build system with Builder v3: 256-vCPU bare-metal hosts split into eight 32-vCPU microVM build cells running buildkitd, scheduled with a 1-of-3 ring to keep BuildKit caches warm, now peaking at 66,000 builds per hour.
AI agents need strong isolation because hallucinations and prompt injection can lead to destructive commands, and the common sandboxing options trade isolation against cost. chroot isolates only the filesystem and can be escaped by root processes. systemd-nspawn adds process and network isolation but is Linux-only.
Docker Sandboxes run each AI coding agent session in a dedicated microVM with its own kernel and a private Docker daemon, giving VM-grade isolation while still allowing docker build, run and compose without socket mounting or host privileges.
Docker Agent defines teams of specialized AI agents in YAML, where a root "product manager" agent delegates to designer, engineer, QA and fixer sub-agents, each with its own model, instructions and toolsets (filesystem, shell, think, todo, memory, MCP).
Deno Sandbox runs untrusted, often LLM-generated code in lightweight Linux microVMs on Deno Deploy that boot in under a second and are created via JavaScript or Python SDKs.
Containers share the host kernel, so truly untrusted code such as AI-generated scripts or user submissions needs hardware isolation, allowlist-based network egress control enforced from outside the sandbox, rollback and multiple runtimes.
Sprites are Linux microVMs that create in a second or two, carry a 100GB durable root filesystem and sleep automatically when idle.
Asahi Linux's graphics stack is now fully upstream: DRM Native Context GPU paravirtualisation has been merged into virglrenderer and ships with Mesa 25.2, so the Mesa fork and the Flatpak runtime extension are being retired.
Neon's Postgres autoscaling is now generally available on all plans, including Free (up to 2 CPU, 8 GB RAM), adjusting CPU and memory to load between user-set minimum and maximum limits, with scale-to-zero.
Neon autoscales Postgres by running each instance as a VM in Kubernetes (NeonVM), with a per-node autoscaler-agent, a modified scheduler, and an in-VM vm-monitor that resizes the Local File Cache.
Supabase and Fly.io launched Fly Postgres, a managed Postgres running on Fly Machines (Firecracker VMs) with Supabase features like Supavisor pooling, pgvector, PITR, branching and auto-generated REST/GraphQL APIs; the offering has since been deprecated.
A subset of Railway's GCP us-west machines softlocked and failed to fail over automatically, causing rolling ~10-minute per-host outages until manual failover and reduced resource pressure stabilized them.