Skip to main content
All posts

Is my Lovable app secure?

What Lovable's built-in scan does and cannot do, three checks you can run without code, and what the Moltbook and CVE-2025-48757 cases show.

6 min readLovableSupabaseSecurity

Nobody can promise that, and we can't either. Lovable says it scans every app before publishing, for free. Public studies still found Lovable apps with missing database rules, mostly Row Level Security. You can check three things yourself without code: Supabase's Security Advisor, a signed-out visit and a two-account test.

What does Lovable's own security scan do?

Here is how Lovable's people describe it. Its head of security wrote in a public thread (Hacker News, November 2026): "We scan every app automatically before publish and offer a deeper SAST scan, both free for all users", and that the root cause in the apps discussed was "insufficient Row-Level Security, which is exactly what our scanning is built to catch." Lovable's CISO told The Register (2026-02-27) that every project includes a free security scan before publishing.

That counts for something. The scan is free, it runs where the app is built, and it points at the most common problem on this stack. Supabase's own Security Advisor is free too, and it does one job well: it flags tables that anyone can read.

What can a built-in scan not promise?

A built-in scan has limits, and each one below has a source.

Finding a policy is not the same as finding a correct one. When Lovable released its first security scan on 2025-04-24, researcher Matt Palmer wrote that it "merely checks for the existence of any RLS policy, not its correctness." That describes the April 2025 version. We have not tested the current one, and Lovable says it is built to catch insufficient RLS.

A finding is also not a fix. Lovable's CISO said implementing the scan's recommendations is "at the discretion of the user." (The Register)

And a scan sees only what it can reach. In the February 2026 case of a Lovable-showcased exam app, the CISO said the project "also includes code not generated by Lovable and the vulnerable database is not hosted by Lovable." The Register reported 16 vulnerabilities, six critical, and 18,697 user records exposed. (The Register)

Any scan has limits like these, ours included. Every ShipSafe report lists what it could not check.

What does an independent check add?

By independent we mean someone who did not build the app and does not sell the builder. A second reader can catch what the first one missed, and it can look at the whole repo instead of one build step.

ShipSafe reads a connected GitHub repo and reports each finding in plain English, with the file and the line. It also lists what it could not check. A live check runs only when the person asking confirms they are authorized, and past what a browser receives, only for a domain proven with a token. Servers never try a found key against its provider. It can write the fixes it can as a GitHub pull request that the owner approves, and nothing changes until they do. The pricing page says which plans include that.

It has limits. It promises nothing about your app, it reads what is in the repo, and it cannot see settings that live only in a dashboard.

What are three checks I can run without code?

  1. Open the Supabase Security Advisor. If your app uses Supabase, go to Advisors, then Security Advisor, and look for "Table publicly accessible" (lint 0013, level ERROR, per the Supabase docs). Fix those first.
  2. Visit your app signed out. Open the published app in a private window. In DevTools, open the Network tab, filter for rest/v1, reload and click the responses. If rows with other people's emails or names show up for someone who is not logged in, a table is open. This mirrors what researchers measured in the study below.
  3. Run a two-account test. Sign up two test users. Create a record as user A, then try to read, edit or delete it as user B. Also try to change your own plan, role or subscription status from the app's visible controls. If anything works that should not, the rule checks "signed in" but not "owner".

Then search your live site's JavaScript for a key that should not be there: which API keys belong in a website.

What happened with Moltbook?

Moltbook was a social network for AI agents, and its founder said publicly that he did not write code for it. Wiz reported the issue to Moltbook on 2026-01-31, and the final fix landed on 2026-02-01. A Supabase key with the sb_publishable_ prefix sat in the site's JavaScript, and Row Level Security was not set up, so that public key gave full read and write access to the production database. Wiz listed 1.5 million API authentication tokens, 35,000 email addresses and private messages. Write access stayed open after the first fix. (Wiz)

The lesson is narrow. The public key did what a public key does. What was missing was the rules inside the database. Some secondary write-ups say a service_role key leaked, but Wiz's own text does not. We found no source that describes Moltbook as a Lovable app. It is here because it is the clearest public example of the pattern. See the Supabase anon key explained.

What is CVE-2025-48757?

It is a CVE for the same pattern in Lovable-generated apps. This is Palmer's account, in which he found the vulnerability on 2025-03-20. A scan completed on 2025-03-21 found 303 endpoints across 170 projects, "approximately 10.3% of the 1645 analyzed." It looked only at projects Lovable had chosen to feature, so treat the figure as a floor for that sample, not a rate for all Lovable apps. (Palmer)

Lovable was notified on 2025-03-21 and confirmed receipt on 2025-03-24. Palmer re-notified Lovable on 2025-04-14. Lovable released "Lovable 2.0" with its security scan on 2025-04-24, and the CVE was published on 2025-05-29. The CVE says apps built on Lovable "often lack secure RLS configurations, allowing unauthorized actors to access sensitive user data and inject malicious data." Exposed items included API keys, phone numbers and emails. (Palmer)

Palmer's page gives a severity vector but no base score. Scores quoted elsewhere differ, so we don't repeat one.

What do the larger studies say?

Crissy Field, reported by Handelsblatt on 2026-11-02, found 159,041 Lovable projects in Common Crawl (December 2025 to September 2026). Of those, 34,545 used Supabase, and 24,664 websites sent database records as soon as they loaded, with no login. Records with email addresses appeared in 10,560 tables across 7,403 of those sites (30%). The researchers say that alone is not a security issue, because some data is meant to be public, and the sample is not a leak rate. They used only what each site sent a browser with its own public key. Lovable's head of security replied that the root cause was insufficient RLS. (Source: Hacker News thread quoting the report)

UpGuard, on 2026-09-23, found 16,326 Supabase databases with readable tables among about 300,000 domains tested. It does not say how many of those apps were built with Lovable or any AI tool. (UpGuard Labs)

For developers

Check with the queries in Is the Supabase anon key safe to expose?: which tables have RLS off, every policy, policies that say true, and an outside curl with the public key. In your project's code, search for service_role and sb_secret_. The signed-out test above is the same check the Crissy Field researchers describe, one tab at a time.

If you want a second reader on the repo behind your Lovable app, ShipSafe has a page for that at /for/lovable, and /pricing lists what each plan includes.

Sources

  1. Crissy Field, "Lovable apps expose passport details and more than 200K private messages", as quoted in the Hacker News thread, including Lovable's head of security: https://news.ycombinator.com/item?id=50499017 (thread read 2026-11-20; the report's own page was not opened; Handelsblatt coverage dated 2026-11-02)
  2. The Register, report on a Lovable-showcased exam app with 16 vulnerabilities: https://www.theregister.com/2026/02/27/lovable_app_vulnerabilities/ (published 2026-02-27; checked 2026-11-20)
  3. Supabase docs, Database Advisors, lint 0013: https://supabase.com/docs/guides/database/database-advisors?lint=0013_rls_disabled_in_public (checked 2026-11-20)
  4. Matt Palmer, "Statement on CVE-2025-48757": https://mattpalmer.io/posts/statement-on-CVE-2025-48757/ (events dated 2025-03-20 to 2025-05-29; checked 2026-11-20)
  5. Wiz, "Exposed Moltbook database reveals millions of API keys": https://www.wiz.io/blog/exposed-moltbook-database-reveals-millions-of-api-keys (published about 2026-02-02; checked 2026-11-20)
  6. UpGuard Labs, Supabase exposure study: https://www.upguard.com/labs/research/everything-everywhere-systemic-data-exposure-in-supabase-apps (published 2026-09-23; checked 2026-11-20)

Questions and answers

Is Lovable safe to use for a real business app?
Lovable runs a free scan before publishing and offers a deeper one, but its own CISO says acting on the findings is up to the user ([The Register](https://www.theregister.com/2026/02/27/lovable_app_vulnerabilities/)). Public studies found Lovable apps with missing database rules. Whether your app holds up depends on its tables, policies and keys, so we can't say from outside. Run the Security Advisor, a signed-out visit and a two-account test before real customers sign up.
Does Lovable's security scan catch everything?
No scan does. Lovable says its scanning is built to catch insufficient Row Level Security, and it is free. In 2025 a researcher [wrote](https://mattpalmer.io/posts/statement-on-CVE-2025-48757/) that the first version only checked whether a policy existed, not whether it was correct. A scan also cannot see code Lovable did not generate or a database it does not host. Treat it as a first pass, and add your own checks on top of it.
How do I know if my Lovable app leaks user data?
Open your published app in a private window, watch the browser's Network tab for requests to rest/v1, and read the responses. If rows with other people's emails or names come back without a login, a table is open. Then run Supabase's Security Advisor and try a second test account. A clean result covers only what you tested, so a table you did not look at can still be open.
What is CVE-2025-48757 in plain English?
It is a vulnerability record for apps built on Lovable that often lacked correct Row Level Security rules. Because the browser talks to Supabase with a public key, missing rules let outsiders read, and sometimes write, tables. In March 2025 researcher Matt Palmer found 303 exposed endpoints across 170 of 1,645 projects he analyzed ([his statement](https://mattpalmer.io/posts/statement-on-CVE-2025-48757/)). The CVE was published on 2025-05-29.
Was the Moltbook leak a Lovable problem?
The sources we checked do not describe Moltbook as a Lovable app. It was a social network for AI agents, and its founder said he wrote no code. A public Supabase key sat in the page's JavaScript and Row Level Security was missing, which opened the database ([Wiz](https://www.wiz.io/blog/exposed-moltbook-database-reveals-millions-of-api-keys)). The same pattern applies to any app that talks to Supabase from the browser, whatever tool wrote it.

You just read what AI builders ship. Now check yours.

Paste your GitHub URL. 2 minutes. You get the findings in plain English, and the report says what it could not check. Free, no card.

Scan My App Free