Which AI builder ships the safest apps?
We ran Shippable's static source checks on about 25,000 public GitHub repos across five AI builders, reading committed code only and never touching anyone's live app. Bolt leaks the most by a wide margin; the others are closer together, and v0 has the fewest critical issues.

Key findings
- Bolt apps leak the most: 51% had at least one security issue and 20% a critical one, well ahead of every other builder.
- Database rules are Bolt's problem. 26% of Bolt repos had a table open to the public and 17% let users edit their own role or plan.
- Lovable leaks secrets: 29% had an issue and 7% a critical one, led by .env files committed to git (14% of repos).
- v0 has the fewest critical issues (4%) and Replit the fewest issues overall (18%).
- Weak secrets show up everywhere. Every builder had repos generating tokens with Math.random() (7% to 14%) and committing .env files (3% to 14%).
| Builder | Apps | ≥1 issue | Critical | Most common leak |
|---|---|---|---|---|
| Bolt | 4,994 | 51% | 20% | Database tables open to the public (26%) |
| Lovable | 4,994 | 29% | 7% | .env committed to git (14%) |
| Cursor | 4,977 | 31% | 6% | Secrets made with Math.random() (12%) |
| Replit | 4,970 | 18% | 6% | Secrets made with Math.random() (7%) |
| v0 | 4,995 | 26% | 4% | Secrets made with Math.random() (10%) |
Read the full report for each builder
The same leaks, builder by builder
Every problem we found in at least two builders' repos, worst first. Each figure is the share of that builder's repos where we found it at least once; a dash means we saw it in under 1% of that builder's repos. Click a problem to see how to check and fix it.
| Problem | Bolt | Lovable | Cursor | Replit | v0 |
|---|---|---|---|---|---|
| Database tables open to the public → | 25.6% | 3.7% | 1.3% | – | – |
| DB function with no fixed search_path → | 23% | 2.5% | 1.7% | – | – |
| Users can edit their own permissions → | 16.7% | 2.3% | – | – | – |
| Admin-rights DB function anyone can call → | 14.6% | 3.2% | 1.1% | – | – |
| Secrets made with Math.random() → | 14.4% | 9.1% | 12% | 6.6% | 9.6% |
| Anyone (signed out) can write → | 13.9% | 2.3% | – | – | – |
| .env committed to git → | 10.4% | 13.5% | 8.2% | 4.6% | 2.8% |
| Edge function with no access check → | 11.3% | 2.7% | – | – | – |
| Storage bucket open to everyone → | 8.5% | 1.6% | – | – | – |
| Hard-coded fallback secret → | 5.1% | 4.1% | 7.8% | 2.9% | 5.2% |
| Injectable PostgREST filter → | 7.6% | 1.2% | 2.8% | 2.6% | 2.4% |
| Trackers load without a cookie banner | 3.2% | 2.9% | 4.8% | 3.3% | 3.8% |
| Hard-coded secret in source → | 3.1% | 2.6% | 4.5% | 4.5% | 2.4% |
| Stack traces leaked to users | 4.2% | 1.2% | 2.9% | 1.1% | 4.3% |
| Source maps published → | 3.7% | 1.3% | 2.6% | – | – |
| Weak sign-up settings → | 2.7% | – | 1.2% | – | – |
| Emails anyone can inject markup into | 1.9% | – | – | – | 1.1% |
| Account enumeration on auth | – | 1.6% | – | – | 1.1% |
| Open redirect | – | – | 1.5% | – | 1.5% |
| Server trusts a client-supplied value | 1.4% | – | – | – | 1.1% |
Why the builders differ
Two things explain most of the gap. The first is the database. Bolt and Lovable set up a Supabase backend and write its security rules for you, in SQL migrations. Every table, policy and function in those migrations is a chance to get access wrong, and the most common findings for both are database rules: tables open to the public, functions that run with admin rights for any caller, and policies that let users edit their own role. v0 mostly generates Next.js front ends with no database, so that whole class of leak doesn't apply.
The second is who wrote the code. Lovable, Bolt and v0 generate whole apps. Replit and Cursor repos are edited in those tools and are often hand-built, so their lower numbers partly reflect who's coding, not only the tool.
One problem shows up everywhere: secrets. Every builder had repos generating tokens with Math.random() and committing .env files to git. That's a habit of AI-written code in general, not of one tool.
What to fix first
If you build with Bolt or Lovable
- Database tables anyone can read: check every table has Row Level Security and a policy scoped to the owner.
- Functions and endpoints without access checks: revoke public access to admin-rights database functions.
- .env files in git: rotate any key that was ever committed.
- Open storage buckets: keep private uploads in private buckets.
If you build with v0, Cursor or Replit
- Secret keys in your code: no fallback secrets, nothing secret in VITE_ or NEXT_PUBLIC_ variables.
- Tokens made with Math.random(): use crypto.randomUUID() or crypto.getRandomValues() for anything an attacker shouldn't guess.
- .env files in git: rotate any key that was ever committed.
FAQ
Which AI app builder is the most secure?
In our October 2026 scan of about 25,000 public repos, Bolt apps had by far the most issues (51% with at least one, 20% critical). The rest were closer together: v0 had the fewest critical issues (4%) and Replit the fewest issues overall (18%). The gap is mostly the database: builders that write a Supabase backend into the repo ship database-rule mistakes that mostly database-free apps can't have.
Is Lovable secure?
Lovable itself isn't the leak; the apps it generates can be. 29% of the public Lovable repos we checked had at least one issue and 7% a critical one, most often a .env file committed to git (14%) or tokens made with Math.random() (9%). A live scan of the app also checks the database rules it actually runs with, which aren't always in the repo.
Is Bolt secure?
51% of public Bolt repos had at least one issue and 20% a critical one. Most come from the Supabase migrations Bolt writes: tables open to the public (26%), users able to edit their own role or plan (17%), and admin-rights database functions anyone can call (15%).
Are apps built with v0 safe?
They had the fewest critical issues (4%), mainly because most have no database layer. What's left is about secrets: tokens made with Math.random() (10%) and hard-coded fallback secrets (5%). Once you add a database, the Row Level Security risks apply to you too.
Should I stop using these builders?
No. Every issue here is a setting or a few lines of code you can fix. Scan what you've built, fix what's found, and scan again after big changes.
See which of these your app ships
Paste your app's URL. It's free, read-only, and takes about a minute.
Or dig into the Lovable breakdown: the State of Lovable Security.
How we measured this
For each builder we found about 5,000 public GitHub repositories by its fingerprint (Lovable's lovable-tagger, Bolt's .bolt/ folder or a bolt.new README, v0's README mention, Replit's .replit, Cursor's .cursorrules), spread across file sizes rather than GitHub's top-ranked results, and ran Shippable's static source checks 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 repositories where a check fired at least once, aggregated so no repository, owner or finding is identified.
One caveat on the ranking: Lovable, Bolt and v0 are app generators, while .replit and .cursorrules mark repos edited in those tools — many are hand-built or non-app projects. Replit and Cursor look safer partly because that population is different, not only because the output is.
An earlier version of this page, from 19 October 2026, used about 300 of GitHub's top-ranked repos per builder and reported higher rates (Bolt 73%, Lovable 51%). The larger, more even sample here is the more reliable picture. Bolt still leads and v0 still has the fewest critical issues, but the middle of the ranking shifted.