Safe defaults
Enforce mode blocks non-read-only or unparseable SQL, denies dangerous functions, masks configured output, and fails closed on unsafe protected shapes.
Safe Boundary is a zero-trust-aligned enforcement layer: it makes explicit decisions on routed requests and fails closed in enforce mode. It is not yet a product-wide zero-trust identity and policy system.
PARSED REQUEST→AVAILABLE IDENTITY→CURRENT POLICY→Why this exists
The current product provides safe defaults: read-only classification, configured masking, dangerous-function denial, inference protection, RLS-safe passthrough, and structured audit. Optional human SSO adds verified certificate identity on the wire path.
Zero trust requires more than a proxy. Direct endpoints must be unreachable to constrained callers, every workload needs verified and revocable identity, credentials must be short-lived, policy must be workload-scoped and versioned, and audit and usage controls must persist across processes. Some of that remains roadmap work.
What it does
Enforce mode blocks non-read-only or unparseable SQL, denies dangerous functions, masks configured output, and fails closed on unsafe protected shapes.
Wire passthrough does not hold the database password on the live path; MCP connects locally; REST forwards the caller’s JWT to PostgREST.
PostgreSQL roles, SSO certificates, Supabase JWTs, and MCP labels retain distinct meanings in the product story and audit.
Trust model
| Decision | Safe Boundary enforces | Your infrastructure enforces | Not current |
|---|---|---|---|
| Examples | Parsed read-only decisions, configured masks, dangerous-function denial | Routing, private endpoints, egress, secret distribution | Universal workload identity, durable quotas, signed per-workload policy |
| Operator action | Review policy outcomes and fail-closed cases | Remove direct credentials and test bypasses | Do not describe roadmap controls as product guarantees |
How it works
Inventory every direct and indirect path to PostgreSQL data.
Put each constrained caller through the matching enforcement surface.
Remove direct credentials and enforce network egress and endpoint restrictions.
Test identity, policy, revocation, logging, and bypass behavior as one system.
Protected when
Important boundaries
Continue the story
Route constrained callers through the boundary and close direct access paths.
See why database permissions alone do not govern every AI-era data path.
See how the three enforcement surfaces share policy and audit semantics.
Start in observe mode and validate the policy against representative traffic before you enforce it. That gives the team evidence for each decision, along with explicit bypass controls for the cases that need a deliberate exception.