Security & Isolation Architecture

Running AI-generated shell commands and hosting multi-tenant backends requires strict isolation across kernel, network, storage, and credential boundaries.

gVisor (runsc) User-Space Kernel Isolation

All user development sandboxes and published full-stack application pods run under RuntimeClass=gvisor on dedicated, NoSchedule-tainted compute nodes. Untrusted code never shares raw host Linux syscalls with control-plane workloads.

Zero-Trust Network Micro-Segmentation

Calico ingress and egress policies enforce strict boundaries: cloud metadata IPs (169.254.169.254 / 100.100.100.200) and private cluster database subnets are blocked at L3/L4.

Zero-Exposure Credential Proxy & AES-256-GCM BYOK

Platform LLM keys and object storage credentials never enter user containers. Sandboxes authenticate with short-lived per-container tokens, and user-supplied BYOK keys are encrypted at rest with AES-256-GCM.

Pre-Publish Secret Gate & Authentication Controls

Before any static bundle is uploaded, Baselift scans compiled assets to block accidental exposure of service_role JWTs or private keys. Studio authentication enforces Argon2id hashing, OAuth PKCE S256, CSRF headers, and sliding-window rate limiting.