WS Sandbox Proxy
ActiveOpen SourceMITSelf-hosted sandbox control plane that runs owner-scoped Incus KVM virtual machines on Linux hosts you enroll, with a /v1 HTTP API, TypeScript SDK, MCP endpoint, browser terminal, template builds and an nftables egress guard.
- Metered unit
- your own Linux hosts
- Free Tier · Open Source
- Idle billing
- Zero cost while idle
- 347 listings stay free while idle
- State kept on pause
- Disk only
- Resume latency not published
Overview
WS Sandbox Proxy, whose CLI and node daemon are both called wssp, is the self-hosted answer to the hosted sandbox APIs: it puts the control plane on a small server and the VMs on Linux machines you already own. A Rust node daemon on each enrolled host dials the control plane over an outbound WebSocket and drives the local Incus daemon, so no host needs an inbound port, a public address or a VPN. Sandboxes are owner-scoped Incus KVM VMs booted from exact template revisions, reachable through the dashboard, the native /v1 HTTP API with an OpenAPI document, the @wssp/sdk TypeScript client, a 49-tool /mcp endpoint and the wssp CLI, which also offers interactive shells, port forwards and keyless SSH. Host pools place a sandbox on an eligible member, templates build from a JSON recipe or a Dockerfile subset, and every lifecycle change is an idempotent operation with a recorded outcome. Egress defaults to open IPv4 behind a root-owned nftables guard, with loopback, private, CGNAT, metadata and the host's own networks blocked; a create can instead pin an allowlist of exact domains and IPv4 prefixes that is fixed for the sandbox's life and re-applied on every cold boot. Credentials live in a write-only CLI-login vault and webhooks are signed. The limits are stated plainly by the project: it is not an E2B drop-in replacement, guest ports get no public URLs, snapshots, restore and fork are unsupported, there is no live migration or failover, the host daemon is Linux-only in 1.0.1, and the control plane runs as a single replica. The VMs are full KVM machines rather than microVMs, so density comes from the hardware you give them, and the shared-pool model leaves host owners with administrative reach over every VM on their node.
Key capabilities
- Owner-scoped Incus KVM VM per sandbox on Linux hosts you enroll
- Outbound-WebSocket host relay, so nodes need no inbound ports
- Native /v1 HTTP API with an OpenAPI document and @wssp/sdk for TypeScript
- 49-tool /mcp endpoint with OAuth, plus a wssp CLI, shells and port forwards
- Web dashboard with browser terminal and PWA support
- Host pools with a FIFO wait queue and explicit per-key grants
- Template builds from a JSON recipe or a Dockerfile subset
- Open IPv4 egress by default or an immutable allowlist chosen at create
- nftables guard blocking RFC 1918, CGNAT, metadata and the host's own networks
- CLI-login credential vault, signed webhooks and four separate auth planes
- Stop keeps the disk; optional S3 image store offloads and restores it elsewhere
- MIT-licensed, self-hosted from published Docker images
- Known gaps: no E2B parity, public guest URLs, snapshots, fork or live migration
wssp-create.ts
import { createWsspClient } from "@wssp/sdk";
const wssp = createWsspClient({
baseUrl: "https://wssp.example.com",
apiKey: process.env.WSSP_SDK_KEY ?? "",
});
const sandbox = await wssp.sandboxes.create({
name: "ci-runner",
cpuCount: 2,
memoryMiB: 2048,
diskGiB: 32,
sandboxHostId: "host_id",
template: "revision/tpl_id",
lifecycle: { onTimeout: "kill" }, // five minutes by default
});
console.log(sandbox.name, sandbox.id);Similar alternatives
Technical specifications
- Runtime architecture
- One Incus KVM virtual machine per sandbox, named wssp-sbx-<id> in a dedicated Incus project on a Linux host you enroll
- Runtime notes
- The node daemon runs unprivileged and dials the control plane over outbound WebSockets, so sandbox hosts need no inbound ports
- A root-owned, drop-only nftables guard on each node enforces egress policy in the kernel path, even while the control plane is unreachable
- The control plane is a Hono server with PostgreSQL 18 and Valkey 9, published as Docker images for one server replica
- Cold-start boot time
- No boot figure is published; the readiness check runs as the template's user, and a cold boot re-applies the sandbox's recorded network policy
- Max vCPU
- 1 vCPU per sandbox by default, with cpuCount accepted from 1 to 32 at create and fixed for the sandbox's life; a host's per-VM cap can lower the ceiling
- Max memory
- 1024 MiB per sandbox by default, with memoryMiB accepted from 512 to 65536 in 256 MiB steps and fixed at create
- Storage model
- 32 GiB root disk by default, from the template revision's minimum up to 2048 GiB; a stopped disk can be offloaded to an S3 image store and restored on another eligible host
- Network isolation
- Sandboxes have open IPv4 egress by default behind a root-owned nftables guard, or an allowlist of exact hostnames and IPv4 prefixes chosen at create and then immutable. Loopback, RFC 1918, link-local, cloud metadata, CGNAT and tailnet ranges, the host's own addresses and other sandboxes are always blocked, and an operator blocklist adds ranges. Domain grants are host-resolved IPv4 grants rather than hostname isolation, and IPv6 egress is not available. The daemon user is an Incus admin, so a host owner can reach every sandbox on that node, including other users' shared-pool sandboxes.
Lifecycle & capabilities
- Filesystem persistence
- Supported
- Memory / disk snapshot
- Not supported
- Instant forking
- Not supported
- GPU acceleration
- Not supported
- GUI desktop / VNC
- Not supported
- Mobile / cloud phone
- Not supported
- Browser automation
- Not supported
- Network egress control
- Supported
- Pause / auto-sleep
- Not supported
- MCP protocol server
- Supported
- REST API & SDKs
- Supported
- Idle billing
- Zero cost while idle
- State kept on pause
- Disk only
- Session limit
- Lifetimes are relative: five minutes and destroy by default, or stop to keep the disk. Stop is a clean shutdown that keeps disk, not RAM or processes. There is no idle timer; a lease expiry stops or destroys the sandbox, and a stopped disk can move to another eligible host only through the optional S3 image store.
- SDKs
- TypeScript
Pricing model
Pending AuditRate read 5 Dec 2026.
MIT-licensed and self-hosted, with no account, subscription or hosted tier: the server runs from published Docker images and each sandbox runs on Linux KVM hosts you own, so a run costs the hardware, power and bandwidth it uses. No plan, rate card or paid edition is published, so the absence of a vendor charge is Pending audit rather than a published commitment.