Lovable security findings before you publish: what to do

By Arif Khan, AIVolve LLC · Updated November 27, 2026

"I clicked Publish and Lovable showed a list of critical security findings. Should I click Publish anyway, let it try to fix them, or ignore them? And if it says there are no security issues, is my app safe?"

Short answer: Click Review first, not Publish anyway. A critical finding is, in Lovable's words, usually a weakness someone could use to attack your app. Try to fix sends every critical finding to Lovable in one request and does not publish, so after it finishes, run the checks again and test the app yourself. Then turn on Block publishing with critical issues in your workspace settings, because it is off by default. And no, a clean result does not mean the app is safe: the check that runs when you click Publish does not read your app's code, and Lovable's own docs say passing the block does not prove your app is secure.

What changed in November 2026

Lovable reworked this flow three times in two weeks, so older posts (including some of ours) describe it differently:

Lovable's changelog used to call the two scans the Quick scan and the Deep scan. Its docs now call them the automatic checks and the advanced checks.

The two kinds of check

Automatic checks Advanced checks
When they run On their own, including when you open the publish dialog Only when you start them (Run checks, or asking Lovable to review security), or on a schedule on Enterprise
How long A few seconds Usually 3 to 13 minutes, at most 15
What they look at Database access rules and settings (a table without row-level security, a rule that lets everyone in, leaked-password protection off), an MCP server your app offers without sign-in, and packages with known vulnerabilities All of your app's code: sign-in and accounts, access permissions, private data, keys and passwords, user input, app actions, and payments and paid features
Cost Free Free

The important line in Lovable's publish docs: the dialog does not run the advanced checks. If you only ever click Publish, the checks that read your code may never run.

Asking Lovable in the project chat to "review my app's security" also starts the advanced checks, and adds a written report. The checks are free, but the conversation uses credits.

What the three buttons do

If your project uses the built-in backend and has unresolved critical findings, clicking Publish opens Review security findings. It lists up to three findings and how many more there are:

Our order: Review, then Try to fix, then Run checks again, then test (see below), then publish. We would only click Publish anyway for a finding you have read, understood and would be comfortable explaining to a customer.

Ignoring a finding

If a finding does not apply, you can ignore it from its … menu with a reason: This is intended, I accept this risk, This is wrong, or your own. Ignored findings move to an Ignored tab and no longer count toward the publish block. Lovable's docs are blunt that ignoring a finding does not fix the issue. Ignore one only when you are sure, and look at the Ignored tab again whenever the app changes.

One detail that surprises people: if only signed-in people can open your app, a finding that would be Critical on a public app shows as a Warning when its code can only be reached after signing in. A Warning in a members-only app can still matter if anyone can create an account.

Turn on the publish block

Block publishing with critical issues is available on all plans but disabled by default, except on new Enterprise workspaces that Lovable creates. A workspace admin or owner turns it on in Workspace settings → Security → Privacy & security → Publishing. Lovable recommends enabling it on every workspace.

With it on, nobody can publish while critical findings are unresolved. The publish dialog shows Resolve findings instead, the chat and Slack refuse to start publishing, and the API and MCP server return a 400 error of type security_critical_findings. If you let an AI agent publish for you through the MCP server, this is what stops it from shipping around a finding.

Two limits of the block, both from Lovable's docs: it uses the latest results of each check even when they are out of date, and it does not require a fresh run of the advanced checks. So the block only knows what the last checks found.

What a clean result does not tell you

Lovable says its checks find common problems but cannot guarantee your app is secure or replace a full security review, and recommends a security professional for apps with sensitive data. Scanners look at settings and code patterns. They can see that a table has no row-level security. They cannot always see that a rule which looks right still lets one customer read another customer's rows, or that a paid feature unlocks without a real payment.

Three tests catch most of what scanners miss, and none of them needs code:

  1. The two-account test. Sign up as two different users. As user B, try to open user A's records, pages and files. Our 15-minute Lovable security check walks through it.
  2. The logged-out test. Open your app in a private window without signing in and see what data still loads. Our RLS check shows how to test a table directly.
  3. The paid-feature test. If you charge for anything, try to reach the paid part without paying, and check that the server, not the browser, decides who has paid.

A 10-minute routine before every publish

  1. Open More → Security and click Run checks. Wait for the advanced checks to finish.
  2. Fix every Critical finding, then read every Warning.
  3. Open the Dependencies page and fix high-severity package vulnerabilities.
  4. Run the checks again after the fixes, because the earlier results are now out of date.
  5. Do the two-account, logged-out and paid-feature tests above.
  6. Publish. Repeat after big changes, new packages or a new sign-in method.

A prompt for Lovable (Chat mode)

Before I publish, explain my open security findings. Do not change any code yet. 1. List every Critical finding and every Warning from the Security view, with the table, file or function it points to. 2. For each one, say in one sentence what a stranger or another signed-in user could do because of it. 3. Tell me which findings you think are safe to ignore and why, and which must be fixed before real users arrive. 4. Tell me whether the advanced checks have run on the latest version of the app. Never print a key or secret value. Wait for my approval before changing anything.

FAQ

Should I click Publish anyway on Lovable's security findings?+

Only for a finding you have read, understood and decided to accept. Lovable says a critical finding is usually a weakness someone could use to attack your app. Click Review first, then Try to fix, run the checks again and test before you publish.

Does Try to fix publish my Lovable app?+

No. Try to fix sends every unresolved critical finding to Lovable in one request. Lovable works on the fixes in the project chat and does not publish your project. It uses one of your account's 10 free fixes. Run the checks again afterwards to confirm the findings are gone.

Does Lovable block publishing with critical security findings by default?+

No. Block publishing with critical issues is disabled by default, except on new Enterprise workspaces that Lovable creates. A workspace admin or owner can turn it on in Workspace settings, Security, Privacy and security, Publishing. Lovable recommends enabling it on every workspace.

Does the publish dialog run Lovable's full security scan?+

No. The publish dialog runs the automatic checks, which take a few seconds and look at database rules, packages and public MCP access. The advanced checks, which read all of your app's code, run only when you start them from the Security view or ask Lovable to review your app's security.

If Lovable says there are no security issues, is my app secure?+

Not necessarily. Lovable's docs say its checks cannot guarantee your app is secure and that passing the publish block does not prove it. Test with two separate accounts, check what loads when you are signed out, and make sure paid features need a real payment.

Want a second pair of eyes?

Lovable's checks are a good first pass, and they are free, so run them. When the app is about to hold real customers' data or money, a person should look too. Our free X-ray takes about 2 minutes and needs no code or passwords. You get a plain-English verdict, and an AIVolve developer reviews every one within 1 business day. Get a free X-ray →

Related: Is my Lovable app secure? The 15-minute check before real users · Supabase RLS for AI-built apps: the 10-minute check · Supabase Security Advisor warnings: which to fix first · Lovable app stopped working after credits ran out

Written by Arif Khan, AIVolve LLC. VibeCoderSOS isn't affiliated with Lovable. Based on Lovable's documentation (security overview, project Security view, publishing, privacy and security settings) and its changelog entries of November 12, 18 and 23, 2026, checked on November 27, 2026. We have not tested these steps on a live Lovable project, and Lovable changes this flow often, so trust the labels on your screen if they differ.

Need help?

Not sure which Lovable findings are real for your app? A free X-ray tells you what works, what only looks done and what to fix first.

Get a free X-ray →