Supabase · audit scope · 6 minute read
Supabase RLS spot check vs full audit: what each one proves before you pay
An anon-key checker just told you your tables are readable. Now you are looking at four numbers — free, $95, $195, $450 — and they are not four sizes of the same thing. They are answers to four different questions. Picking by price alone is how you end up with a report that is correct about a question you did not have.
This page is the scope comparison, written from the delivery side: what each tier actually reads, what it can conclude, and what stays open afterward. If you want the free self-serve layer first, that is a legitimate path and it is linked at the end.
What the free anon-key check actually settles
The free checker fires unauthenticated REST reads against your project URL and reports which tables answer. That is one surface — the “anyone with the link” case — and when it fires, it is real evidence: something is readable without a credential.
What it structurally cannot see is everything that happens insidean authenticated session: user A reading user B’s rows, an UPDATE policy without WITH CHECK, a SECURITY DEFINER function running as its owner, a view over an RLS table reading as the view owner, a public Storage bucket, or an ALTER DEFAULT PRIVILEGES grant that only attaches to tables created next week. A green free check and an open database are fully compatible — the checker is one tripwire, not a verdict.
What the spot check adds
The spot check is a fixed scope, fixed price, named question: does one specific leak surface actually leak, and what does the catalog say around it? In practice that means taking the tables and roles you name, reading the relevant policies and grants read-only, and returning a ranked findings list — what leaks, in which access path, with the migration-level fix for each row.
Two things make it useful as a first paid step. The scope is small, so the report is useful in a day (the anon-key spot check) rather than after a week. And it is scoped by your question — if what worries you is cross-tenant reads on the orders table, that is the report you get, not a generic list of fifty catalog rows.
What it does not do is claim the project is safe. A spot check answers one surface; the other surfaces from the previous section remain unread. That is the honest boundary — and if the findings look systemic (the same policy pattern everywhere), the right next step is the full audit, not ten more spot checks.
What the full audit adds
The full audit removes the “one named surface” limit: every table in scope, every access path that reaches it. The reading list is fixed so the comparison stays honest:
- RLS enabled and
FORCE ROW LEVEL SECURITYper table — including whether the owner bypass is closed. - Every policy:
USINGandWITH CHECKevaluated separately, permissive and restrictive policies combined as they actually apply. - Role structure and effective grants, including
pg_default_acl— grants that attach to future tables. SECURITY DEFINERfunctions:search_pathpinning and owning role.- Views over RLS tables without
security_invoker. - Storage objects and their policies, and the client bundle’s exposure of keys and URLs.
The output is one ranked findings report with a fix order — what to change first, what can wait — plus the catalog queries behind each finding so your team can re-run them after remediation. It is read-only throughout: no writes, no service_role in a client, no changes to your database. The trade is time: a full audit is a fixed-scope engagement of about 48 hours rather than 24.
What a documents-only review settles
The $450 documents-only review is a different shape, not a bigger audit. No runtime probes at all: it reads the source, schema and policy packet you provide — migrations, policy definitions, the client-side calls — and returns the ranked findings plus a handoff-ready plan. Two things follow from the shape:
- It can settle structural questions that the packet answers on its own: a surviving grant, a permissive policy in a migration, a mismatch between what the code calls and what the policies allow.
- It cannot prove runtime behaviour — whether a specific token actually reads a specific row — because no runtime pass happens. Those questions stay explicitly open in the report rather than being assumed.
The sequence matters: scope fit is confirmed in writing first, the engagement starts only after the funds sit in escrow, and the delivery deadline is written down before work begins. If you need the runtime answer too, the documents review and a full audit are complementary, not substitutes.
Choosing by question, not by price
| Your question | Scope | What you get | What stays open |
|---|---|---|---|
| “Is anything readable without a login?” | Free anon-key check | A readable-tables list, immediately | Every authenticated access path |
| “Is my configuration still closed tonight?” | Free nightly drift monitor | A NEW/RESOLVED diff against your own baseline | What the findings mean; it detects change, not safety |
| “Does this one surface actually leak?” | Spot check (fixed scope) | Ranked findings on the named tables/roles, in a day | All other surfaces; systemic patterns |
| “Where does my project actually leak?” | Full audit (every access path) | Complete ranked report with fix order, re-runnable queries | Runtime evidence on live traffic; intent — whether the policy matches what your team meant |
| “Is this packet safe to ship, without giving anyone access?” | Documents-only review | Ranked findings + handoff plan from source and packet alone | Runtime behaviour — no probes, by design |
The pattern: the free tiers are detectors — cheap, repeatable, and honest about one surface. The paid tiers are answers — scoped, fixed-price, and finished on a written date. Buying a detector when you need an answer wastes a day; buying an answer when a detector would do wastes budget.
The free self-serve path first
Before any paid scope, the layer worth having is the nightly drift check: thirteen read-only catalog checks and a baseline diff, on your own schedule, with no service_rolecredential anywhere in the setup. It does not answer whether your policies are right. It answers the question that ruins audits — “when did this change?” — and it fails closed: an unreadable baseline alerts instead of silently reporting zero findings.
Get the free RLS Drift Monitor (n8n workflow + standalone SQL) →
If, after a few nights of that, the findings list is confusing or the answers matter for a launch, the paid scopes above are the next step. The spot check and the key-triage review are fixed-price and can be bought either here or through the Upwork escrow checkout:
- Spot check — one named leak surface, ranked findings (Gumroad, instant) or documents-only exposed-key triage via Upwork escrow.
- Full audit — every table, every access path, ranked report, or the fixed-scope drift-monitor setup on Upwork.
Honest limits
None of these tiers prove a project is safe, and none of them claim to. Zero findings is a statement about the checks that were run — not a certificate. Read-only scopes see configuration; they do not see intent, traffic, or what a hosted platform rewrites behind your back. Where a scope cannot prove something, the report says so instead of assuming it.
One process note, because it is the part people have a right to know before paying: paid work starts only after the platform holds the funds in escrow, the delivery date is written down before work begins, and there are no discounts on the fixed prices. If the scope does not fit, the honest answer is a smaller one — not a cheaper promise.
Read the next guide: what a free anon-key check cannot prove, anon vs service_role vs sb_secret_: which key opens what, or what a documents-only review settles without runtime access.