← All leaks & reports

AI Builder Security · October 2026

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.

Patchy ticking items off a checklist on his clipboard

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%).
Share of apps shipping at least one security issue
BuilderApps≥1 issueCriticalMost common leak
Bolt4,99451%20%Database tables open to the public (26%)
Lovable4,99429%7%.env committed to git (14%)
Cursor4,97731%6%Secrets made with Math.random() (12%)
Replit4,97018%6%Secrets made with Math.random() (7%)
v04,99526%4%Secrets made with Math.random() (10%)

Read the full report for each builder

State of Bolt51% any issue20% criticalbolt.new writes Supabase migrations into the repo, and those migrations ship open tables and self-editable roles more often than any other builder.Read the Bolt report →State of Lovable29% any issue7% criticalMostly secrets committed to the repo: .env files and tokens made with Math.random(), with database-rule mistakes behind them.Read the Lovable report →State of Cursor31% any issue6% criticalAn editor, not a one-shot generator: most repos are hand-steered, so backend misconfigs are rarer.Read the Cursor report →State of Replit18% any issue6% criticalThe fewest issues overall; many repos are small or Python projects. What shows up skews to weak and hard-coded secrets.Read the Replit report →State of v026% any issue4% criticalThe fewest critical issues. Next.js output with usually no database layer, so RLS and storage leaks mostly don't apply.Read the v0 report →

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.

ProblemBoltLovableCursorReplitv0
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 banner3.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 users4.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 into1.9%–––1.1%
Account enumeration on auth–1.6%––1.1%
Open redirect––1.5%–1.5%
Server trusts a client-supplied value1.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

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.