COMPARE / MANUAL RLS REVIEW VS DRIFT MONITOR
Manual RLS review or a nightly drift monitor? They answer different questions.
The monitor is a change signal over thirteen read-only PostgreSQL catalogue surfaces. The manual review is a judgement over USING / WITH CHECK, roles and a two-user runtime matrix. One does not certify the other.
Side by side
| Decision | Manual policy review | Read-only drift monitor (free) |
|---|---|---|
| Question answered | Are these policies correct for this tenant model? | Did any of the thirteen catalogue surfaces change since the baseline? |
| What is read | USING, WITH CHECK, TO roles, permissive/restrictive combination, two-user runtime results | RLS flag, FORCE, USING (true), missing WITH CHECK, PUBLIC policies, definer owner/search_path, default ACLs, view ownership, grants and EXECUTE |
| Access needed | Schema/policies plus a staging role matrix; production reads only when authorised | Catalogue-only read role; no service_role, no superuser, no application rows |
| Output | Written verdict with SQL that reproduces each finding | NEW / RESOLVED diff rows; a failed check stops the run instead of deleting the baseline |
| What it cannot prove | Future drift after the review ends | Application-row isolation or whether a predicate expresses the intended business rule |
How to decide
Manual policy review: Best before launch or after a policy change.
Read-only drift monitor (free): Best for catching a silent change between reviews.
Run the monitor nightly, keep the manual review at launch and after policy edits. When the diff fires, re-read the policy — do not treat a green night as a security certificate.
Honest limits
- A catalogue signal is not proof of a leak; zero findings is not proof of safety.
- Hosted platform revision is not visible from this repository-based check; no live project was tested for this page.
- The upstream links in the evidence registry are source/behaviour records, not findings about your database.
Verify the claims
The technical claims behind these pages are tied to the public evidence registry, where each row names the upstream source and the part that was not verified. Closest upstream records: supabase-storage-1717 · supabase-realtime-2625
Related guides:
- Detect RLS drift: 13 read-only checks
- Real output from a synthetic PG17 fixture
- How to test policies with a role matrix
Questions people ask before choosing
Does the free monitor replace a policy review?
No. It reports catalogue changes; it does not decide whether USING and WITH CHECK express the intended tenant boundary. Keep the review at launch and after policy changes.
Does the monitor need service_role?
No. The included role template runs the catalogue checks with a read-only role and denies direct application-table SELECT on the PostgreSQL 17 fixture used to build it.
A night was green. Is the database safe?
It means the thirteen checked surfaces matched the last baseline. It does not mean the predicates were correct or that no runtime bypass exists.
Pick the next step
Free first step: the 13-check RLS Drift Monitor. It reads the catalogue, never application rows; zero findings is not proof of safety.
Prefer the verdict instead of running the toolkit yourself?
Fixed-price reviews with the evidence, the SQL and the written verdict. Fixes are quoted separately. Instant checkout, no account needed.
Want the free first step? The RLS Drift Monitor runs 13 read-only catalog checks on a schedule. It never reads application rows; zero findings is not proof of safety.
Prefer escrow? $49 drift monitor setup or $95 exposed-key triage on Upwork. Work starts only after the fixed-price milestone is funded.