Lovable's new security checks: what runs before publish, and what doesn't
On 23 November 2026 Lovable redesigned its project security checks and now runs them before publish, at no credit cost. Since 18 November a workspace block on critical findings covers every publish route. It still doesn't block by default.
Lovable shipped two changes to its security tooling in the last week. On 18 November 2026 it made the workspace setting "Block publishing with critical issues" apply to every way you can publish: the project chat, Chats, Lovable in Slack, the Lovable API and the Lovable MCP server. On 23 November 2026 it redesigned the project security checks, now opened from More, then Security, and started running the automatic checks before publish. Running checks costs no credits.
Both are good changes. Neither means your app is now secure by default, and the gap between those two statements is what this post is about.
What actually runs, and when
Lovable has two scans, and the docs are clear that they are not the same thing.
The quick scan runs in the publish dialog and takes about ten seconds. According to the publish docs it checks database access rules, including RLS policy mistakes, your dependencies and MCP server exposure. A result looks like "2 critical security issues found."
The deep scan takes "3 to 13 minutes, and at most 15" per the publish docs (the security page says about three minutes). It looks for exposed secrets, unsafe input handling and authorization gaps. The publish dialog does not run it. You trigger it yourself, and on Business and Enterprise plans you can schedule it.
The 23 November redesign puts checks first in the Security view, with Findings and Dependencies on their own pages. "Run checks" runs every check that is out of date, including the advanced checks that read all of the app's code. Since that costs nothing, there is no longer a reason to skip it.
The block is opt-in
This is the part people will misread. Lovable's publish docs say: findings "do not block publishing by default". The block only exists if a workspace admin or owner turns it on under Workspace settings, Security, Privacy and security. New Enterprise workspaces that Lovable creates start with it enabled. Everyone else starts with it off.
What changed on 18 November is the reach of that block once it is on. Before, you could have the setting enabled and still ship from the chat or through the API while a critical finding was open. Now publishing is blocked on all of those routes, and findings from every scan count: the deep scan, the dependency audit and AI pentests, not just the quick scan. If you drive Lovable from Claude Code or another agent through the MCP server, that matters: your agent can no longer publish around a finding.
Whether "publish anyway" from the Security view still works with the block on isn't stated in the docs we read, so don't build a process that relies on either answer.
What the scans can't see
The scanner reads configuration and code patterns. Elysian Crest, reviewing the publish-time workflow Lovable rolled out in early August 2026, calls it "configuration and pattern linting" rather than a pentest. Take RLS as the example: a scanner can tell you a table has RLS disabled, or a policy that is literally using (true). It cannot tell you that your policy compares user_id to the wrong column, or that a security definer function returns every row to whoever calls it.
The issues that hurt Lovable apps most are exactly the ones that pass a pattern check:
- A policy that exists and looks right, but lets any signed-in user read every other user's rows. That is our page on users reading each other's data.
- A Stripe or payment flow where the client tells the server what to charge.
- An Edge Function that trusts a
user_idfrom the request body instead of reading it from the JWT. - A service role key that ended up in a
VITE_variable and therefore in the browser bundle.
The deep scan is meant to catch some of the secrets and authorization gaps, which is one more reason to run it, but none of the sources claims it proves isolation between users.
What to do today
- Open your project, go to More, then Security, and press Run checks. It's free since 23 November. Read every critical finding before your next publish.
- If you are a workspace admin or owner, turn on Block publishing with critical issues. Since 18 November it covers chat, Slack, the API and MCP, so it actually holds.
- Do the one test no scanner does: sign up as two different users, create data as user A, then query the same table as user B with the anon key from the browser console. If B sees anything of A's, your RLS is wrong, whatever the scan says.
If that last test turns up something, our page on a database that is open to anyone walks through the usual causes. And if the scan comes back clean and the two-user test passes, that's a genuinely good place to be.
Quick answers
What changed in Lovable's security checks in November 2026?
On 23 November 2026 Lovable redesigned the Security view (More, then Security), moved Findings and Dependencies to their own pages and started running its automatic checks before publish. Running checks does not consume credits. On 18 November it extended the critical-findings publish block to chat, Slack, the API and MCP.
Does Lovable block publishing when its security scan finds a critical issue?
Only if a workspace admin or owner turns on Block publishing with critical issues under Workspace settings, Security, Privacy and security. Lovable's publish docs say findings do not block publishing by default. Since 18 November 2026 the block, once on, covers every publish route.
Which scans does the Lovable publish dialog run?
The publish dialog runs the quick scan, about 10 seconds, covering database access rules including RLS mistakes, dependencies and MCP server exposure. The deep scan, which looks for exposed secrets, unsafe input handling and authorization gaps, takes minutes and is not run by the dialog.
Does a clean Lovable security scan mean my app is secure?
No. The scans catch configuration and known patterns. They cannot prove that one user's rows are invisible to another, and they don't review business logic, payment flows or auth edge cases. Test those yourself with two real accounts.
Not sure whether this touches your app? That is exactly what the audit answers.
Book my audit