Vibeleaderboard
← All Intel
Intel / post

Perplexity open-sources SPACE, its agent sandbox platform

Source
x.com
Date
Perplexity@perplexity_ai
Thread · 5 parts

We're open sourcing SPACE, the sandbox platform that runs every task in Perplexity Computer. SPACE gives each agent task its own Firecracker microVM and controls credentials and outbound traffic from outside the VM. Available now under Apache 2.0: https://t.co/DzSmq6o1xA

Agents in Computer run commands, install packages, and call external services with root access inside the sandbox. The host stays outside the guest's control, and a per-sandbox gateway enforces egress policy on every outbound connection.

Agent work in Computer is long-running, stateful, and branching, and has to survive restarts. A SPACE sandbox outlives the request that created it and the connection carrying its output. It can pause, fork, or suspend to a memory and disk snapshot, then wake where it left off.

We tested SPACE by attacking it with frontier models. In Escaping SPACE: Part I, nine model configurations with root inside the VM made 108 escape attempts, and none reached the host. Read the research: https://t.co/UD6qHuCuO4

Read the full thread on X

Context

Perplexity has open-sourced SPACE, the platform that runs every task in its Perplexity Computer product, under the Apache 2.0 license. A sandbox is the walled-off environment where an agent runs commands, installs packages and edits files, so that a mistaken or hostile action cannot reach the machine underneath, other customers or users' secrets. SPACE gives each task its own Firecracker microVM, a small virtual machine with its own operating system kernel, and the agent gets root access inside it. The controls that matter sit outside the VM: a per-sandbox gateway decides which outbound connections are allowed, and, according to Perplexity's launch post, credentials are managed outside the sandbox so agents can reach authorized services without the secrets being stored in their workspace.

Perplexity built its own system because agent work does not fit the short-lived, stateless jobs most container sandboxes were designed for. Its July engineering write-up describes sessions that last hours or longer and have to survive pauses, crashes and branching. A SPACE sandbox outlives the request that created it, takes regular disk and full-memory snapshots, and can be suspended to object storage and resumed on any machine. A copy-on-write filesystem means a new or forked sandbox copies only metadata rather than a whole disk image. Perplexity says that, run alongside its previous provider on the same production traffic, median sandbox creation fell from 185 to 60 milliseconds, and that SPACE has handled millions of sandbox creations a day since it took over all Computer sessions in July. Akamai says it has launched SPACE on its cloud platform, Crusoe plans to offer it, and CoreWeave has published setup guidance for evaluating it. Perplexity's earlier thread introduced the platform before the code was released.

The thread's security claim, that nine model configurations made 108 escape attempts and none reached the host, comes from Escaping SPACE: Part I. Each model got root inside a guest VM and one of two capture-the-flag tasks: cross into the host and retrieve a planted AWS credential, or reach a callback URL that the egress policy blocked. Runs varied whether the model could read SPACE's source code and whether it had no network at all or partial access to package repositories plus web search. The escape task failed in all 108 runs. The network task failed in every no-network run, but with partial access four models, Claude Opus 5.0, GPT-5.6 Sol, GPT-5.6 Cyber and Kimi K3, retrieved the blocked flag. Perplexity also says Fable and GPT-6 Astra refused to attempt the tasks.

Both bypasses exploited the gap between a policy written in domain names and packets addressed by IP. SPACE's gateway learned which IPs belonged to allowed domains by watching DNS traffic. With source access, three models forged DNS replies that mapped pypi.org to the callback's address, a trick that required an internal address visible only in the code. The second route used the fact that content delivery networks serve many unrelated sites from one IP address: GPT-5.6 Sol found a Fastly developer tool reachable through PyPI's allowed IP and had it fetch the callback, and GPT-5.6 Cyber chained an image service and a screenshot service, then read the flag from the image. Claude Opus 5.0 spotted the shared-IP route but declined to use it because the instructions forbade targeting other systems. Perplexity added source-address checks that drop forged packets and now requires the hostnames in TLS and HTTP headers to be allowlisted and to match the destination IP; in a rerun under the strongest setting, no model got through.

Perplexity then tested ten third-party sandbox platforms directly, without agents, and found a network-policy bypass in eight. It reports nine: E2B, Vercel Sandbox, Modal, Daytona, Deno Sandbox, Fly.io Sprites and microsandbox showed at least one bypass, while Cloudflare Sandbox and NVIDIA OpenShell did not. Vendor responses ranged from shipped fixes to documenting the behavior as a known limitation. The report's own reading is that VM isolation and network confinement are separate boundaries to be tested separately, and that the boundaries holding in a time-limited test is not proof they are secure, since more capable models, better harnesses or longer budgets may find more.

Terms in this piece · Glossary
  • sandbox — An isolated environment where AI-generated code or agent actions run without being able to touch anything real.
  • AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.
More from Perplexity
Recommended reads
Comments

Checking sign-in…

Loading comments…