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→KNOWN 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.
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, validate the policy against representative traffic, and move to enforcement with explicit bypass controls.