LatchDog vs Supabase Security Advisor: what each checks, and why we suggest using both
Short answer: they look at different sides of the same app, so we do not think of LatchDog as a replacement for Security Advisor. Security Advisor is Supabase's built-in set of checks on your project's database configuration (RLS, policies, views, functions, extensions), and it sees things no outside scan can. LatchDog checks your deployed website from the outside, the way a visitor's browser sees it, for leaked keys, exposed files, headers and, after you verify your domain, whether the tables/views named in the JavaScript the scan finds return rows to the public key; on Starter and Pro it does that every day and after every deploy.
What Supabase Security Advisor is
Supabase describes Advisors as "deterministic checks that ship with the platform. They flag health, security, and performance issues in your project, such as elevated error rates, misconfigured RLS policies, or missing indexes." You or an agent can run them from Studio (Health Advisor, Security Advisor, and Performance Advisor), the MCP tool get_advisors (with type set to security or performance), the CLI (supabase db advisors) or the Management API (security, performance, and health advisors). The security checks listed include rls_disabled_in_public, policy_exists_rls_disabled, rls_enabled_no_policy, security_definer_view, function_search_path_mutable, rls_references_user_metadata, sensitive_columns_exposed, permissive_rls_policy, public_bucket_allows_listing, and anon / authenticated security_definer function executable. Supabase also notes: "Some findings may be intentional, so check them against your intended schema and access model before you change anything." (Supabase: Advisors, read Nov 12, 2026.)
What LatchDog is
An outside-in monitor for the live app. From our How LatchDog scans page (re-checked Nov 12, 2026):
- Public check, no sign-up: your homepage over HTTPS and HTTP (headers and TLS behavior), up to 6 same-origin JavaScript files and up to 2 source maps, scanned for leaked keys, AI SDKs called from the browser, exposed AI system prompts and n8n/Make/Zapier webhook URLs, plus exposed
.env/.gitchecks. It does not test your database. - Deep scan, verified owners only (DNS TXT, meta tag or
/.well-known/latchdog.txt): higher limits (up to 15 JavaScript files and 3 source maps), a CORS check,.env-style paths and/.git/HEADand/.git/config, and for Supabase oneSELECT ... LIMIT 1, with the public anon or publishable key found in your own bundle, to each of up to 15 tables or views named in the JavaScript the scan finds with.from("..."). It records only whether a row came back. A returned row establishes public readability, not whether its public access was intentional. On hosted Supabase, names the JavaScript does not use are not tested. - "At most 45 requests per scan, 10-second timeouts, size caps, no form submissions, no logins, no writes."
LatchDog does not test Storage, does not call /rest/v1/rpc/, and cannot see policies, grants, functions or triggers.
Side by side
| Supabase Security Advisor | LatchDog | |
|---|---|---|
| Looks at | Your project's database configuration, from inside Supabase | Your deployed website, from the outside |
| Sees RLS settings, policies, views, functions, grants | Configuration covered by its documented lints; not an exhaustive authorization audit | No. It cannot see policies, grants, functions or triggers |
| Leaked secret keys in your live JavaScript and source maps | Not what it checks (it lints the database) | Yes (shown masked) |
| Exposed .env / .git, security headers, HTTPS redirect, CORS | Not what it checks | Yes (.env / .git, headers and HTTPS in the free check; CORS in the deep scan) |
| Whether the public key actually gets rows back | Not by request; it reads configuration | Yes, deep scan only, up to 15 tables/views named in the JavaScript the scan finds, one SELECT ... LIMIT 1 each, row contents discarded. A returned row establishes public readability, not whether its public access was intentional |
| Tables your code never names, storage, RPC functions | Yes for the lints that cover them | Not tested |
| Needs | Access to your Supabase project | Just a URL; domain verification for the deep scan |
| When it runs | Studio, CLI, MCP and Management API entry points are documented; automatic cadence not verified | Free check on demand; Starter/Pro daily and after every deploy (deploy hook) |
| Alerts | (not stated on the Advisors page) | Email only when something is new, worse or fixed |
| Price | Built into Supabase; separate Advisor pricing not verified in the fetched source | Free check and one deep scan; Starter $19/month (3 apps), Pro $39/month (10 apps); $9 one-time Full Report |
Neither one proves your app is secure. Live frontend bundles are not covered by the documented database lints. LatchDog can't see a policy that lets a signed-in user read another user's rows, or a column a user can update that they shouldn't (see Can a Supabase user make themselves admin?).
Using both: a simple routine
- After every schema change or migration, run Security Advisor (Studio, or
supabase db advisorsin CI) and fix errors first. For lint fixes, see our guide torls_disabled_in_publicand the other Advisor errors. - Define policies for your intended access model. The owner-only orders policies below are examples for private orders, not a rule for deliberately public/shared data. Substitute the real ownership column and enable RLS; test all applicable operations.
create policy "owners read their orders" on public.orders for select to authenticated using ((select auth.uid()) = user_id); create policy "owners add their orders" on public.orders for insert to authenticated with check ((select auth.uid()) = user_id);
- Test as a second signed-in user that you can't read or change the first user's rows (pgTAP with
supabase test db, or a throwaway account). - After every deploy, check the live site from outside: no
sb_secret_orservice_rolekey in the JavaScript, no public source maps, no/.env, and the tables/views named in the JavaScript the scan finds don't return private rows to the publishable key. On Starter and Pro, LatchDog repeats its bounded outside checks, not an exhaustive secret search or proof that all private rows are protected. A returned row establishes public readability, not whether its public access was intentional. More on that outside check: how to monitor your Supabase app for leaked keys and open RLS.
Paste-in prompt for your AI coding tool
I ran Supabase Security Advisor and pasted the findings below. For each finding: tell me whether it is a real problem for this app or intentional, show the SQL fix, and do not disable RLS or use the secret or service_role key in the browser to make anything work. Preserve deliberate public, team and shared access. For private owner-scoped rows, use the real ownership column and policies scoped to authenticated with (select auth.uid()). Explain any intentional exceptions and test both authorized and unauthorized users. Then list any secret keys or private data my frontend code sends to the browser. [paste Security Advisor findings here]
Check yours
Run Security Advisor in your Supabase dashboard now, then run the free LatchDog check on your live URL (no sign-up). If you want the outside check repeated daily and after each deploy, verify your domain and choose Starter or Pro.
Pricing (from latchdog.com/pricing, read Nov 12, 2026)
Free: public check, no sign-up, plus one deep scan after you verify your domain. Starter $19/month, up to 3 apps; Pro $39/month, up to 10 apps; both deep-scan every day and after every deploy (deploy hook; at most once every 10 minutes and 48 a day per app) and email only when something is new, worse or fixed. Full Report $9 once: one more full deep scan of a verified app, kept 30 days; subscribe within 30 days and the $9 comes off your first month (once per account). 7-day full refund by email to support@latchdog.com.
Keep watching your app, not just checking it once
LatchDog keeps watching your live app after launch. Starter ($19/month, up to 3 apps) and Pro ($39/month, up to 10 apps) re-scan it automatically every day and after every deploy (triggered by a deploy hook from your host or CI), and email you only when something changes. Nothing to install: you verify your domain once.
Start with the free check (headers, HTTPS, leaked keys in your JavaScript, source maps, .env/.git). Open-table checks run after you verify your domain. See plans
Free, read-only public check: no sign-up, no card. Headers, HTTPS, leaked keys in your JavaScript (always masked), public source maps and exposed .env/.git files. Supabase table checks run after you verify you own the domain.
Want the open-table check too? Get my free deep scan: sign in with your email (no password) and verify you own the domain. Your first deep scan is free and adds CORS, more of your JavaScript and, if your app uses Supabase, whether anyone can read its tables and views with your public key.