Private by architecture, defensible by default
Clewstone handles sensitive judgments about real people. Isolation, access control, and auditability are built into the core — here’s how.
Tenant isolation
Every record is bound to a workspace and enforced with a per-request membership check on the server. There is no header-only trust — a request only sees data for a workspace the caller actually belongs to.
Role-based access control
Granular roles — viewer, member, analyst, admin, super-admin — enforced server-side on every route. Permissions are checked at the boundary, not assumed in the UI.
Tamper-evident audit trail
A hash-chained audit log records who did what, when, and on what basis. The chain makes silent edits detectable — an evidence trail for the platform itself.
Session & CSRF hardening
Authentication uses httpOnly cookies (no tokens exposed to page scripts), with signed double-submit CSRF protection that fails closed in production and refresh-token reuse detection.
Encryption & secrets
Credentials such as AI-provider keys are encrypted at rest. Secrets are validated at startup and never shipped in code or images.
Egress & input safety
Outbound fetches pass an SSRF guard that blocks private-network targets; uploads are validated and sanitized; all database access is parameterized.
Security practices, in plain terms
The controls below are part of how the platform is built and operated — not a future roadmap. Our full trust documentation is available under NDA during onboarding.
- Invite-only registration with admin-approved onboarding
- Least-privilege roles enforced on every API route
- Parameterized SQL across the entire service layer
- Signed, fail-closed CSRF protection on all mutations
- Refresh-token rotation with reuse (replay) detection
- SSRF protection on all server-side outbound requests
- File-upload validation, sanitization, and size limits
- Encrypted storage of third-party provider credentials
- Hash-chained, queryable audit log with severity levels
- CI security scanning and dependency advisory checks
Your evidence stays yours
Sources, evidence, and reports live inside your workspace under strict isolation. Access is least-privilege, every action is audited, and AI-provider spend and calls are governed and recorded.
Scoped storage
Evidence and outputs are stored per workspace with membership-enforced access.
Governed AI usage
Per-workspace AI budgets and usage metering keep model calls accountable and bounded.
Full provenance
Every conclusion links to its evidence, and every action to its actor and timestamp.
Review our controls with your security team
We’ll walk through architecture, data handling, and access controls as part of onboarding.