Security roadmap
Auth security order for Account and portals, then Core-specific checks and hard gates.
Security roadmap
Status: none started. Order matters. Source: Laki’s auth security to-dos (2026-11-01) and the Core design.
Auth layer (before Core hardening)
From Laki’s auth security to-dos (2026-11-01):
-
Ziteox Account goes live with the admin and client portals.
Status: not started. -
Security bot audits the auth layer — token handling, session scope, what a compromised account can reach — before or alongside Sign-in-with-Ziteox-Account on client Payload admins.
Status: not started. -
Then Cloudflare Zero Trust access control.
Status: not started.
Core-specific
These sit on top of the auth order above. Full design: Connector & Registry (§8 and §9).
Security bot — minimum checks for Core
When the security bot reviews this slice, minimum checks (from §8):
- No plaintext secrets in logs or API responses
- Assertion verify before any management mutation
- Project tokens stored hashed (never plaintext after issue)
- Publish is PR-only (never direct to
main) - Path grants enforced
- Core KEK only in platform secrets
- Audit CHECK constraints present
Status: not started (nothing to audit until Core code exists).
Cloudflare Zero Trust (management plane)
Put Access in front of the management plane as defence-in-depth at the network edge. Assertion auth remains; Zero Trust does not replace action-bound JWS. Timing — before first prod deploy, or after — is open question 10.
Status: not started.
Hard gates (CG1–CG10)
Must be true before real GitHub App keys or production tokens. Summarised from §9 of the design; do not treat this list as a substitute for that table.
| Gate | In short |
|---|---|
| CG1 | No GitHub credential or raw zxcore_ in browser, MCP results, or log/audit fixtures |
| CG2 | Management mutations reject bad/missing assertions (aal, action, params_hash, reused jti, unknown kid) |
| CG3 | DB stores hash + prefix/last4 only; raw token returned once |
| CG4 | Insert-only audit; CHECK rejects secret-shaped meta keys |
| CG5 | Log redaction fails closed |
| CG6 | Core KEK only as a platform secret; distinct from portal SECRETS_KEK |
| CG7 | forge_core RLS on; anon/authenticated have no privileges |
| CG8 | Publish never writes main; path traversal fails; grants after normalization |
| CG9 | GitHub App least privilege on Forge repo only; PAT stopgap removed after cutover |
| CG10 | Over-limit → 429 + Retry-After; Core down → fail closed (no credential fallback) |
Status: not started (gates apply when code ships).