Production
Security
Technical security controls enforced across transport, authentication, retrieval, billing, and audit logging.
Production controls
| Control | Implementation |
|---|---|
| Transport | TLS 1.3 with post-quantum hybrid key exchange (X25519MLKEM768). |
| API keys | SHA-512 hashed at rest, shown once, revoked immediately. |
| Authentication | Email/password (salted scrypt) + Google and GitHub OAuth via WorkOS. |
| Sessions | 48-char random token in HttpOnly Secure SameSite=Lax cookie; SHA-512 stored. |
| ACL isolation | Caller groups filter rules before scoring and traces. |
| Zero retention | Per-request header, per-key lock, or org-wide ZDR sets stored query to NULL. |
| Webhooks | Constant-time HMAC signature verification + unique stripe_event_id idempotency. |
| Audit log | Every key, billing, team, corpus, and settings change writes to audit_events. |