Skip to content
SiScaller.
Search
Color theme
EN
Digital Products →
Menu

Reference

The SiScaller Sovereign Platform Architecture

Comprehensive blueprint of SiScaller's zero-trust execution stack, forced PostgreSQL RLS, and autonomous copilot modules.

By AbdelPublished 1 min readadvanced

Why build it this way

Most content sites trade security for caching: either every page is rendered per request to carry a CSP nonce, or the policy allows inline scripts. SiScaller does neither. Pages are prerendered, and a post-build step hashes every inline script so the policy can stay strict while the CDN caches the HTML.

Architectural Highlights

  • Static pages get a per-build hash CSP: they stay cacheable without 'unsafe-inline'.
  • Zero tokens in the browser: sessions are AES-256-GCM encrypted in Redis behind an opaque cookie.
  • Forced Row-Level Security: every table enforces RLS; each writer runs under a separate NOLOGIN role.
  • Isolated WASM compilation: search runs client-side with Pagefind; only /search is granted 'wasm-unsafe-eval'.

Core Subsystems

  • Content pipeline: typed MDX collections validated with Zod at build time; drafts can never reach production.
  • Identity: Keycloak OIDC with PKCE, back-channel logout, and application-owned user ids.
  • Community: moderated comments, a double opt-in newsletter, and a member dashboard.

The architecture decisions are recorded as ADRs in the repository, and the article A Strict Content Security Policy for Static Next.js Pages explains the CSP design in depth.

Sovereign Venture Dispatches

Actionable startup feasibility studies, zero-trust architectures, and cognitive decision frameworks delivered directly to your inbox. Double opt-in, zero algorithmic noise.

Discussion

Loading the discussion…