What 4,994 public Lovable apps are leaking
We ran Shippable's static source checks over 4,994 public GitHub repos built with Lovable — reading committed code only, never touching anyone's live app. Mostly secrets: .env files committed to git and tokens made with Math.random() lead, with database-rule mistakes behind them.

Built with Lovable? Fix these first
- Database tables open to the public · 3.7% of Lovable apps · critical
- Hard-coded secret in source · 2.6% of Lovable apps · critical
- .env committed to git · 13.5% of Lovable apps · high
Everything we found, most common first
- 01.env committed to git · 13.5% of appsReal API keys and database passwords sitting in the repo's history for anyone to read.How to check and fix →high
- 02Secrets made with Math.random() · 9.1% of appsPassword-reset tokens and API keys generated with a predictable random source an attacker can guess.How to check and fix →high
- 03Hard-coded fallback secret · 4.1% of appsCode like process.env.SECRET || "dev-secret" that silently ships the weak default to production.How to check and fix →high
- 04Database tables open to the public · 3.7% of appsRow Level Security off or a public-read policy, so anyone can read the table's rows.How to check and fix →critical
- 05Admin-rights DB function anyone can call · 3.2% of appsA Postgres function that runs with elevated rights and has no caller check, exposed to every visitor.How to check and fix →high
- 06Trackers load without a cookie banner · 2.9% of appsAnalytics or ad scripts that start tracking visitors before they agree.medium
- 07Edge function with no access check · 2.7% of appsAn API endpoint that trusts the frontend to keep it safe and checks nothing itself.How to check and fix →high
- 08Hard-coded secret in source · 2.6% of appsA live secret key written directly into committed code.How to check and fix →critical
- 09DB function with no fixed search_path · 2.5% of appsA security-definer function an attacker can hijack by shadowing a table or function name.How to check and fix →medium
- 10Anyone (signed out) can write · 2.3% of appsAn RLS insert/update policy granted to the anon role.How to check and fix →high
- 11Users can edit their own permissions · 2.3% of appsRLS lets a row's owner update sensitive columns like role or plan — self-service admin.How to check and fix →high
- 12Storage bucket open to everyone · 1.6% of appsA storage policy anyone can read from or write to — uploaded files listable by the public.How to check and fix →high
Plus 37 more check types seen less often.
FAQ
Is Lovable secure?
Lovable can build secure apps, but its defaults leave gaps you have to close yourself. In our October 2026 scan of 4,994 public Lovable repos, 29% had at least one security issue and 7% had a critical one.
What is the most common security issue in Lovable apps?
.env committed to git, found in 13.5% of the Lovable repos we checked. Real API keys and database passwords sitting in the repo's history for anyone to read.
What should I fix first in my Lovable app?
Start with database tables open to the public, then hard-coded secret in source, then .env committed to git. Each has a guide with a fix you can paste back into Lovable.
How do I check my own Lovable app?
Scan it with Shippable: paste your live URL at shippable.dev, or run npx shippable-dev scan in your project folder before you push. It's read-only, shows proof for each finding, and gives you a fix prompt to paste back into Lovable.
See which of these your app ships
Paste your app's URL. It's free, read-only, and takes about a minute.
Compare all five builders: which AI builder ships the safest apps.
How we measured this
We found public GitHub repositories carrying the lovable-tagger build dependency and ran Shippable's static source checks — the same code-level checks in npx shippable — over each one's committed files. We read source only: no live app was scanned and nothing was probed over the network. Figures are the share of 4,994 repositories where a given check fired at least once, aggregated so no repository, owner or finding is identified.