Observatory defense blueprint · ATO.M0006

Ephemeral MicroVM & gVisor Agent Code Sandboxing

Execute untrusted LLM-generated code, shell tools, and headless browsers inside hardware-virtualized microVMs or gVisor kernels with default-deny network egress and zero raw secrets.

Control blueprint overview

Control ID
ATO.M0006
Framework
Observatory defense blueprint
Stack layers
Tool/Sandbox Boundary · Network/IAM
Techniques addressed
0
OWASP LLM Top 10
NIST AI RMF
Reference URI
https://observatory.silvauren.com/catalog/mitigations/ato-m0006/

Open ATO.M0006 in Interactive Defense Workbench

Control mechanism

Replaces shared host processes and vanilla Docker containers with strong kernel-boundary sandboxes—Firecracker microVMs, Kata Containers, gVisor user-space kernels, or Cloudflare Sandbox/Workers Isolates—pairing ephemeral per-task snapshots with outbound credential-injecting proxies so sandboxed code never accesses host filesystems, metadata IPs, or raw API keys.

Implementation steps

  1. Route every LLM code-interpreter, terminal, and browser tool call to Firecracker/E2B microVMs, gVisor, Kata, or Cloudflare Sandboxes.
  2. Attach strict CPU, memory, disk-quota, PID-limit (`RLIMIT_NPROC`), and wall-clock execution timeouts per sandbox invocation.
  3. Block private VPC/metadata CIDRs and route approved outbound HTTPS requests through an external secret-injecting proxy.
  4. Destroy and discard sandbox state at session end unless explicitly checkpointed into a scanned artifact workspace.

What this control stops

Known bypass conditions & residual risk

Latency, usability & false-refusal trade-offs

Latency: +50-200 ms cold microVM boot (<5 ms on pre-warmed sandbox pools or V8 isolates). | False-Refusal Risk: None; legitimate code executes identically inside the isolated Linux environment. | Operational Cost: Medium compute/orchestration cost for KVM/nested-virtualization or managed sandbox infrastructure.