Core

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):

  1. Ziteox Account goes live with the admin and client portals.
    Status: not started.

  2. 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.

  3. 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.

GateIn short
CG1No GitHub credential or raw zxcore_ in browser, MCP results, or log/audit fixtures
CG2Management mutations reject bad/missing assertions (aal, action, params_hash, reused jti, unknown kid)
CG3DB stores hash + prefix/last4 only; raw token returned once
CG4Insert-only audit; CHECK rejects secret-shaped meta keys
CG5Log redaction fails closed
CG6Core KEK only as a platform secret; distinct from portal SECRETS_KEK
CG7forge_core RLS on; anon/authenticated have no privileges
CG8Publish never writes main; path traversal fails; grants after normalization
CG9GitHub App least privilege on Forge repo only; PAT stopgap removed after cutover
CG10Over-limit → 429 + Retry-After; Core down → fail closed (no credential fallback)

Status: not started (gates apply when code ships).