The Cloudflare Sandbox SDK (@cloudflare/sandbox) runs untrusted or generated code in per-user Linux sandboxes on Cloudflare's edge. Each sandbox is a Durable Object paired with a Container, controlled from a Worker.
It supports file transfer, S3 bucket mounts and saving and restoring directories to R2. Start with npm create cloudflare@latest -- my-sandbox --template=cloudflare/sandbox-sdk/examples/minimal. Apache 2.0 licensed.