← BACK TO CRUCIBLEHARDWARE KVM ISOLATION · FAIL-CLOSED ARCHITECTURE
Security & Isolation Architecture
1. Hardware-Isolated Firecracker KVM MicroVMs
Every live Linux War-Room executes inside its own ephemeral Fly.io Firecracker MicroVM running an independent Linux kernel. Learner terminals run strictly as unprivileged UID 1000 (operator), while the immutable grading engine and hidden verification suites live under root-owned 0700 permissions outside the learner workspace.
2. Client-Side WebAssembly Code Execution
All 74 timed Python, DSA, and SQLite 3.45 Cold Drills run 100% inside isolated browser Pyodide WebAssembly workers with AST import/call guards, eliminating server-side remote code execution surfaces.
3. Cryptographic Receipts, RLS & Payment Security
- HMAC-SHA256 Signed Credentials: Lab receipts and certification credentials are signed server-side and independently verifiable at
/verify/[sha256]. Direct client inserts to ledger tables are blocked by PostgreSQL Row-Level Security (RLS). - Stripe PCI-DSS Isolation: All card processing occurs exclusively inside Stripe Checkout and Stripe Billing Portal; webhook payloads require valid HMAC-SHA256 signatures and idempotent event deduplication.
- Transport & Headers: Strict HSTS, TLS 1.3,
X-Content-Type-Options: nosniff, and fail-closed authorization boundaries on all API routes.
4. Responsible Disclosure
If you discover a security vulnerability in CRUCIBLE, ArchOS, or our sandbox orchestrator, please report it privately to security@sageideas.dev. We acknowledge reports within 24 hours.