SYS_ARCH // GVISOR_SANDBOX_RINGDETERMINISTIC AGENT EVALUATION

Systems Dissection: Google’s Mirror Dimension & User-Space Kernel Isolation for Browser Agents

Evaluating autonomous browser agents like Chrome’s Gemini-driven auto-browse requires solving a distributed systems trilemma: zero real-world side effects, bit-exact benchmark reproducibility, and high-throughput adversarial red-teaming. Mirror Dimension achieves all three by pairing gVisor user-space kernel interception with pre-verified stateful synthetic origins and clean-slate snapshot resets.

Isolation BoundarygVisor Sentry
Outbound Live Packets0 Egress
State RollbackClean-Slate COW
Adversarial InjectionHeader-Driven
plane_01_gvisor_sentry_netstack.trace
$ runsc --network=sandbox exec chrome-agent-worker-07
[sentry:syscall] PID 412 -> socket(AF_INET, SOCK_STREAM, IPPROTO_TCP) = fd:19
[sentry:netstack] connect(fd:19, "198.51.100.42:443", SNI="retail-checkout.example")
[sentry:redirect] Host NIC bypassed -> routed to synth-origin-mesh:8443
[egress_guard] External packet count: 0 | Live web mutation risk: 0.00%

gVisor implements a user-space application kernel (Sentry) with its own Go-based TCP/IP stack. Chromium believes it is conversing with external HTTPS origins while every packet stays hermetically sealed inside the synthetic cluster.

benchmark_determinism_model.sh
Mirror Dimension0.00% Drift
Live Web Rollouts47.3% Corrupted
Cluster Throughput36,571 / hr
RobertsCreations Systems Topology of Google Mirror Dimension gVisor Kernel and Synthetic Agent Mesh
Architectural Blueprint — Syscall-level socket interception via gVisor Sentry, pre-verified stateful replicas, and header-injected indirect prompt-injection stress testing.
isolation_and_state_engineering.md

Why Standard Linux Containers Were Not Enough

When an autonomous browser agent executes untrusted JavaScript, WebAssembly, and complex multi-step form mutations across thousands of simulated domains, sharing a raw host Linux kernel via standard chroot or basic Docker namespaces leaves too wide a syscall attack surface—and risks accidental packet egress if routing tables misconfigure. By running Chrome inside gVisor (runsc), the user-space Sentry kernel intercepts application syscalls directly and routes network sockets through an isolated virtual netstack straight into the synthetic web cluster.

Comparing Agent Evaluation Isolation Primitives

Runtime BoundaryNetwork ContainmentReset LatencySuitability for Agent RL & Red-Teaming
Live Public WebNone — hits real external serversImpossible (mutates third parties)Unsafe: triggers real orders, WAF blocks, and benchmark noise.
Raw OS Namespacesiptables / veth bridge rules~50–150 ms container cycleFast, but shares host kernel syscall surface with untrusted pages.
Full Hardware VMVirtual NIC hypervisor tap500 ms – 3,000 ms snapshotStrong isolation, but heavier memory footprint at 2,000+ workers.
Mirror Dimension (gVisor)User-space Sentry netstack redirectSub-millisecond clean-slate state resetOptimal balance: kernel isolation, realistic URLs, and 0% drift.

Two-Stage Synthetic Site Integrity & Indirect Prompt-Injection Scaling

A subtle failure mode in synthetic benchmarks is training agents on broken generated websites—where a checkout button lacks an event listener or a form route throws a 500 error. Mirror Dimension eliminates that noise by deploying dedicated development and verification agents ahead of time to build and validate every simulated workflow before any Chrome evaluation worker touches it.

Once functional fidelity is locked, security teams use the same infrastructure as an adversarial range. Hidden instructions are injected across DOM text and metadata, visual imagery and ARIA screen-reader labels, and simulated web-tool API responses—measuring whether alignment critics and delimiter spotlighting keep the browser agent anchored to the user’s authorized objective across thousands of automated trials.