Skip to content
ML2
Vibe-Coding & Prompt-to-AppWorkflowsecuritySupabaseLovablelaunch checklist

Pre-launch security check for a Lovable or Supabase app

Added Updated NewCopyable prompt below

Published Last verified

Our verdict

The most common way a vibe-coded app leaks data is a database table anyone can read. Lovable and Supabase both ship free checks for exactly this: Lovable's Quick scan runs when you open the publish dialog, and Supabase's Security Advisor flags public tables without row-level security, views that skip it and policies that trust user-editable data. The catch is that Lovable's Deep scan of your app code only runs when you start it, and both vendors say their scans don't replace a professional review. Apps with payments or personal data need a pentest or a human on top.

Who it's for
Anyone about to publish a Lovable, Bolt or v0 app backed by Supabase
Leverage
Catches the classic data-leak mistakes in minutes
Effort
Low
Date added

What the pre-launch security check does

Lovable's Quick scan checks your database access rules (tables without row-level security, rules that let everyone through, leaked-password protection turned off), your npm dependencies for critical known vulnerabilities, and any MCP server your app exposes without sign-in. The Deep scan adds a review of your app code for access control, endpoints anyone can trigger, injection, leaked secrets, payments, authentication and personal data in errors or logs. Supabase Advisors are deterministic checks you can run in Studio (Security Advisor), with supabase db advisors from the CLI, through the MCP get_advisors tool or the Management API. Error-level checks include public tables without RLS, security-definer views, policies that read user_metadata and sensitive columns exposed without RLS.

How builders use the pre-launch security check

  • In Lovable, open the Security view and click Run deep scan before publishing; the publish dialog only runs the Quick scan. Fix Critical findings first.
  • In Supabase, open Security Advisor in Studio, or run supabase db advisors from the CLI, and clear every ERROR-level finding.
  • Let your coding agent do the Supabase pass: with the Supabase MCP server connected it can call get_advisors with type security and explain each finding.
  • Replace placeholder USING (true) policies with owner checks like (select auth.uid()) = user_id, and add WITH CHECK on insert policies so users can't create rows for someone else.
  • Keep the service_role key server-side: it bypasses RLS, so a correct policy doesn't help if that key ships in the browser.
  • Turn on leaked-password protection if you use email and password sign-in.

Which check catches what (checked 24 Nov 2026)

CheckWhen it runsWhat it flagsCost
Lovable Quick scanAutomatically when you open the publish dialog, or on demand in the Security viewTables without row-level security, rules that let everyone through, leaked-password protection off, critical npm vulnerabilities, an MCP server open without sign-inFree
Lovable Deep scanOnly when you start it (Security view, workspace Security center or project chat); scheduled scans on EnterpriseEverything in the Quick scan plus access control, open endpoints, injection, leaked secrets, payments, auth and exposed personal data in your codeFree to run; fixes past 10 free ones use credits
Supabase Security AdvisorStudio, supabase db advisors (CLI), get_advisors (MCP) or the Management APIDeterministic lints on your database: open public tables, views that skip RLS, unsafe policies, exposed sensitive columnsShips with the platform
Aikido A.I. pentest (optional)Connected per Lovable workspace, run per projectIssues confirmed by agents attacking the running appBilled by Aikido, not Lovable credits

Supabase Advisor findings to clear before launch

  • rls_disabled_in_public (0013, ERROR): a public-schema table has RLS off, so anyone with your project URL can read, edit and delete every row.
  • sensitive_columns_exposed (0023, ERROR): the same problem on a table with columns that look like passwords, API keys or personal identifiers.
  • security_definer_view (0010, ERROR): a view runs with elevated privileges and ignores RLS, so it can expose more than the table policies allow.
  • rls_references_user_metadata (0015, ERROR): a policy trusts user_metadata, which signed-in users can edit themselves.
  • auth_users_exposed (0002, ERROR): a view exposes your users' personal data to anyone who can reach your API.
  • permissive_rls_policy (0024, WARN): an always-true condition like USING (true), the usual placeholder an app builder leaves behind.
  • public_bucket_allows_listing (0025, WARN): a broad SELECT policy lets clients list every file in a public storage bucket, which public URLs don't need.

The pre-launch security check: limits and gotchas

  • Neither vendor promises complete security. Lovable recommends an extra professional review for apps that handle sensitive data or critical functions.
  • The Deep scan never runs on its own. If you only click Publish, you get the Quick scan, which doesn't read your application code.
  • Only dependency vulnerabilities rated critical become Lovable findings, so a clean dependency audit doesn't mean no advisories exist.
  • Some Advisor findings are intentional, for example a table that really is public. Supabase says to check each one against your access model before changing anything.
  • Static scans read code and configuration; they can't prove an issue is exploitable. That takes a dynamic test against a running copy.
  • Asking Lovable in chat to review your security, or to fix findings in Build mode, uses credits. The scans themselves are free.

The pre-launch security check compared with other tools here

  • Shannon: an open-source A.I. pentester that attacks a running copy of your app and only reports what it could exploit. Run it on a staging copy after this checklist, before a launch with payments.
  • Cloudflare security-audit skill: turns Claude Code, Codex or Cursor into a code auditor with a second agent that tries to disprove each finding. Better for a whole codebase that isn't built around Supabase.
  • Supabase MCP server: lets your coding agent run the security advisors and read the results itself, instead of you copying findings out of Studio.
  • Lovable: where the Quick and Deep scans live. They only cover Lovable projects.
  • v0 by Vercel: and other builders can ship Supabase-backed apps too; the Supabase Advisor half of this checklist applies to them unchanged.

When to pick the pre-launch security check

  • Pick this checklist if your app runs on Supabase, whether you built it in Lovable, Bolt, v0 or by hand, and real users or real data are about to arrive.
  • Add Shannon or an Aikido pentest if the app takes payments or stores personal data.
  • Pick the Cloudflare security-audit skill instead if your stack isn't Supabase and you want an agent to audit the code.

Copy this: Pre-launch review prompt

Review my app's security before I publish.
1. List every database table, whether row-level security is enabled, and the policy on each one. Flag any policy that is always true or that relies on user_metadata.
2. Find any API key or secret in frontend code and move it to a server-side function using stored secrets.
3. List every endpoint or function that can be called without signing in and explain whether that is intended.
4. Check that users can only read and change their own records.
Show me the findings first; don't change anything until I confirm.

The pre-launch security check questions

Is Lovable's security scan free?

Yes. Running the Quick scan or the Deep scan is free. Fixes from the Security view draw on 10 free fixes shared across your account, each available again 24 hours after use; beyond that, fixes and chat security reviews use credits.

How do I run Supabase Security Advisor from the terminal?

Run supabase db advisors with the Supabase CLI. An agent connected to the Supabase MCP server can call get_advisors with type set to security.

Does passing these scans mean my app is secure?

No. They catch common mistakes such as open tables, leaked keys and unsafe policies. Lovable and Supabase both say they don't replace a professional review for sensitive apps.

Related discoveries

See the newest picks →
  • ToolVibe-Coding & Prompt-to-App

    Lovable

    Full-stack web apps from natural language, with real code you can export.

    Effort: LowPrompt

  • ToolVibe-Coding & Prompt-to-App

    Bolt.new

    Prompt to a working web or mobile app in the browser, with a built-in database, hosting and GitHub sync.

    Effort: Low

Get the best new A.I. picks in your inbox

The best new agent workflows and tools we’ve vetted, with a clear verdict on each. Short, occasional, useful.

More in Vibe-Coding & Prompt-to-App →

Free. No spam. Unsubscribe anytime.