Privacy Policy
Last updated: November 2026 • Zero-knowledge token lifecycle & ephemeral workspace policies.
1. GitHub OAuth and Scopes
API Sandbox utilizes GitHub OAuth exclusively for zero-friction developer authentication and repository orchestration. We only request the minimum permissions required to run your ephemeral environments:
- user:email: Identifies your engineering user session and prevents unauthorized access to private sandbox instances.
- repo: Required solely to securely clone the target repositories into your ephemeral container volume and push user-initiated commits from the in-browser IDE back to your remote branches.
2. Token Storage & Encryption at Rest
Your OAuth tokens are never transmitted unencrypted or exposed in client bundles. Tokens are encrypted at rest using AES-256-GCM authenticated encryption utilizing a host-isolated master key (SECRETS_ENCRYPTION_KEY). Decryption is permitted strictly inside server-side Go orchestrators when performing authenticated Git pulls and pushes.
3. Data We Collect and Store
To provide deterministic runtime execution, our control plane temporarily stores:
- Developer Profile: GitHub username, avatar, and linked email address.
- Environment Metadata: Repository URL, selected branch, container port, and builder type.
- Runtime Telemetry: Real-time container exit codes, memory metrics, and live stdout/stderr logs streamed over WebSockets.
- Workspace Files: Temporary project source code on the dedicated sandbox host disk.
4. Ephemeral Lifecycles & Automated Idle Reaping
Sandboxes are strictly ephemeral by design. When an environment is destroyed—whether explicitly deleted by you or automatically reaped by the background inactivity cleaner—all ephemeral container filesystems, sidecar volumes, and host directories are permanently wiped clean. We do not retain, backup, or sell your source code.
5. Self-Hosting Disclosures & Security Reports
When deployed on your own infrastructure, your team retains 100% control over the host boundaries, Docker daemon socket, and network proxies. To report platform vulnerabilities or clarify security policies, please reach out to your system administrator or open an issue on our GitHub repository.