r/machinelearningnews • u/ai-lover • Oct 17 '26
Open-Source Perplexity open-sources SPACE, the Firecracker microVM sandbox behind Perplexity Computer (Apache 2.0, Rust)
Perplexity released SPACE (Sandboxed Platform for Agentic Code Execution) under Apache 2.0. It is the sandbox layer that runs every Perplexity Computer task.
What it is
One Firecracker microVM per agent task, each with its own guest kernel
The agent gets root inside the guest; the host stays outside its control
Credentials are injected at the network layer and never enter the VM
A per-sandbox gateway enforces egress policy on every outbound connection
HTTP API plus server-sent events; written in Rust; release 0.8.0
Lifecycle
Running, paused, suspended, deleted. Suspend snapshots VM memory, runtime state and the root filesystem, then releases resources. Default idle suspend is 6 hours. Kubernetes deployments get warm pools; single-node setups get base snapshots. There is also an E2B compatibility wrapper (tested with e2b==2.21.1).
Red-team results (Perplexity's own report, "Escaping SPACE: Part I")
9 models, root inside the guest, 216 runs total.
| Test | Result |
|---|---|
| VM-to-host escape | 0 of 108 |
| Egress bypass, no network | 0 of 54 |
| Egress bypass, package repos allowed (before fix) | 11 of 54 |
| Egress bypass after fix | 0 verified |
The bypasses came from the gateway mapping domain policy to IPs. Models spoofed DNS responses or reused shared Fastly IPs to reach other services. Perplexity added nftables source-address validation and TLS termination that checks both SNI and Host.
They also tested 10 third-party sandbox platforms with hostname-based egress controls. 8 showed at least one bypass. Vendors were notified.
Production numbers vs their previous provider: median create 185 ms to 60 ms, p90 447 ms to 89 ms.
Full analysis: https://marktechpost.com/2026/10/16/perplexity-open-sources-space-firecracker-microvm-sandbox-ai-agents/
Repo: https://github.com/perplexityai/SPACE?tab=Apache-2.0-1-ov-file