LatchDog

← Guides

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):

LatchDog does not test Storage, does not call /rest/v1/rpc/, and cannot see policies, grants, functions or triggers.

Side by side

Supabase Security AdvisorLatchDog
Looks atYour project's database configuration, from inside SupabaseYour deployed website, from the outside
Sees RLS settings, policies, views, functions, grantsConfiguration covered by its documented lints; not an exhaustive authorization auditNo. It cannot see policies, grants, functions or triggers
Leaked secret keys in your live JavaScript and source mapsNot what it checks (it lints the database)Yes (shown masked)
Exposed .env / .git, security headers, HTTPS redirect, CORSNot what it checksYes (.env / .git, headers and HTTPS in the free check; CORS in the deep scan)
Whether the public key actually gets rows backNot by request; it reads configurationYes, 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 functionsYes for the lints that cover themNot tested
NeedsAccess to your Supabase projectJust a URL; domain verification for the deep scan
When it runsStudio, CLI, MCP and Management API entry points are documented; automatic cadence not verifiedFree 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
PriceBuilt into Supabase; separate Advisor pricing not verified in the fetched sourceFree 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

  1. After every schema change or migration, run Security Advisor (Studio, or supabase db advisors in CI) and fix errors first. For lint fixes, see our guide to rls_disabled_in_public and the other Advisor errors.
  2. 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);
  3. 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).
  4. After every deploy, check the live site from outside: no sb_secret_ or service_role key 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.