Security & Stealth Architecture
- Zero-Leakage Server-Side DB: All Supabase operations run exclusively in Next.js API routes and Server Components using
SUPABASE_SERVICE_ROLE_KEY. NoNEXT_PUBLIC_SUPABASE_ANON_KEYis ever shipped to the browser. - AES-256-GCM Encryption: External DMFlow webhooks and integration keys are encrypted using AES-256-GCM before database persistence.
- HMAC-SHA256 Sessions: Authenticated sessions use HTTP-only, signed cookies.