Supabase security · free tool · 2 minute run
Free Supabase anon-key readability check
The anon key is public by design — it ships in every browser bundle. The question is never “is the key secret” but what that key can read. This page runs the probe entirely in your browser: it lists the tables your Data API exposes to the anon role and asks each one for a single row.
Run the free anon-key check
Everything runs in your browser: your key is sent only to your own project, never to this site. At most one row per table is requested (select=*&limit=1). Run it only on your own project.
What this cannot prove.The probe sees only the anon surface. It cannot see authenticated cross-user reads (a signed-in user reading another tenant's rows), writes without WITH CHECK, SECURITY DEFINER functions, or storage paths that need a signed URL. Zero readable tables is a clean anon surface, not a certificate — the catalog checks in the free nightly monitor close the rest.
When the browser is not enough
A browser probe can come back unclearfor reasons that live in the visitor's network rather than in the project: a strict Access-Control-Allow-Originlist that does not include this site, a corporate proxy, an ad-blocker, or an extension that rewrites requests. None of those say anything about how the project answers a stranger — so the page offers a second pass from our server, which runs the same probe shapes outside the browser's CORS rules. Same limits as everything else here: read-only, status codes only, one row at most, nothing stored.
Optional server pass
Re-run the five probes from our server
Use this when the browser check answered "unclear" — a strict Access-Control-Allow-Originon your project, a corporate proxy, or an ad-blocker can refuse the browser probe without saying anything about the project itself. The same five probes then run from a server that your browser's CORS rules do not apply to. The two fields are sent to our route, used for this single run, and never stored: the answer holds status codes and header names only — no row data, no key material.
What the probe actually does
For every path in your project's OpenAPI document (GET /rest/v1/), the tool sends GET /rest/v1/<table>?select=*&limit=1 with your anon key in both the apikey and Authorization headers — the same shape supabase-js uses. One row per table, no pagination, no writes. It also lists the Storage buckets visible to anon, because a public bucket is a separate leak surface from RLS.
Verdicts are deliberately separated: readable (HTTP 200 with rows), reachable but empty (200 with zero rows — RLS filtering or a genuinely empty table), blocked (401/403/404 — grants or policy refuse), and unclear (network, CORS, or timeout). A blocked table is not automatically safe, and a readable table is not automatically a leak — the verdict names the HTTP fact, not a legal conclusion.
Why one clean run does not settle anything
This probe sees the anon surface only. It is structurally blind to four things that show up in every real review:
- Authenticated cross-user reads. A policy of
USING (true)forauthenticatedlets any signed-in user read every row. Nothing anon-visible appears here. - Writes without
WITH CHECK. Readable does not mean writable — the other direction is invisible too. SECURITY DEFINERfunctions and views withoutsecurity_invoker, which read as their owner.- Grants attached to future tables via
ALTER DEFAULT PRIVILEGES, which live inpg_default_acland never appear in the API surface.
Zero readable tables means a clean anon surface — not a safe project. The two catalog checks for default privileges and view owners and the 13-check nightly drift monitor cover what this page cannot.
Where your key goes
The default path has no server behind it. Your project URL and key go into requests addressed to your project, from your browser — not to this site. The tool refuses sb_secret_ keys and JWTs carrying role=service_role before doing anything else, because those keys must never be pasted into a third-party page. If one was ever exposed, rotation is the answer — the rotation runbook covers the order that leaves no window. The optional server-side pass above is the one exception: the two fields travel to our route, are used for that single run, and are not written to disk or a database.
From probe to a fixed-scope answer
When the report names a table that should not be readable, the next question is scope: is this a single-policy spot check, or the full catalog review? The scope-by-question comparison settles which tier answers which question — and what each tier explicitly cannot prove.
Fixed-price lanes, work starts only after escrow funds the milestone: