Justin McKelvey

Justin McKelvey

Ran snowboard shops. Taught myself to code. Now I build AI that does real work.

• Vibe Code Rescue • 9 min read •

Is Lovable Secure? What Lovable Covers, What Your App Still Owes, and a 10-Minute Check (2026)

TL;DR: Lovable the company is reasonably secure. It says it has been SOC 2 Type 2 compliant since August 13, 2025, and it scans every app you publish for free. Your app is a different question. On November 2, 2026, researchers reported that of 24,664 Lovable sites they checked, 7,403 handed out database records containing email addresses to anyone, no login needed. As of November 2026, every big Lovable security story has come from the same gap: database access rules the builder never set. You can check yours in 10 minutes, and the steps are below.

I've shipped 50+ products and I was CTO at an AI startup, so I read every one of these stories the same way: what did the platform do, and what did the app owner skip? Two founders asked me this exact question recently, one of them with a live Lovable site. Here's the answer I gave them, with every number from the original source.

What happened this week: a 159,041-project scan and a CrowdStrike deal

Two pieces of Lovable security news landed back to back.

November 2: the Crissy Field study. Crissy Field, an application security firm in Hamburg, worked with the German business paper Handelsblatt and pulled 159,041 Lovable projects from the public Common Crawl web archive (December 2025 to September 2026). 34,545 used Supabase, the database most Lovable apps run on. 24,664 of those sites sent database records the moment the page loaded, with no login. By making more read-only requests with the same public key, the researchers found records with email addresses in 10,560 tables across 7,403 sites, or 30%.

The examples are the part that should make you open your own app: a lifestyle forum with more than 80,000 profiles and more than 200,000 chat messages readable, event and restaurant sales records with phone numbers and payment information, and one service provider exposing more than 1,000 records with passport numbers. The researchers are careful to say the 30% is not a confirmed leak rate. Some of those emails are public contact addresses or test data, and a Common Crawl sample isn't every Lovable app. I'd still treat it as the best look anyone has published at what real Lovable apps leave open.

November 3: CrowdStrike. CrowdStrike announced that Lovable workspaces now plug into its Falcon Shield product, so a company's security team can see which Lovable apps are public, which store secrets, which have unresolved scan findings, and who has access. The same release says people have built over 60 million projects on Lovable since its November 2024 launch. This is good news if you work at a big company with a security team. If you're a founder building alone, it changes nothing about your app this week.

How Lovable security works: the platform is audited, your database rules aren't

A Lovable app has two layers. The first is Lovable itself: the editor, the hosting, your account. That's what the SOC 2 Type 2 report covers, and it's Lovable's job. The second is your app's own backend, usually a Supabase database, where every table either has row level security (RLS) turned on or it doesn't. RLS is a rule on each table that says which rows a visitor is allowed to read or change. Without it, anyone holding your app's public key can read and write every row. That key ships inside your app's code by design. Supabase's docs are blunt: the Table Editor turns RLS on for you, but a table created with SQL (which is how AI builders often create them) needs it turned on by hand.

Lovable's security docs describe the safety net. The Quick scan runs on every publish and checks a fixed set of things in seconds: missing RLS, rules that let everyone through, vulnerable npm packages, and an MCP server open without login. The Deep scan reads your actual code for access control, injection, leaked secrets, payment and login bugs. But you have to run it yourself, auto-fix "does not apply fixes for Deep scan findings," and the docs say the tools "cannot guarantee complete security."

Area Who owns it What Lovable gives you
Lovable's servers, editor and accounts Lovable SOC 2 Type 2 (since August 13, 2025)
Row level security on each table You Quick scan flags tables without it, on every publish
Who can see whose data in your app's logic You Deep scan, free but manual; no auto-fix
Secret keys and API tokens You Deep scan looks for them in your code
Payments and paid features You Deep scan checks whether a customer can skip paying
Blocking a publish with critical issues You (admin setting) On by default only for new Enterprise workspaces
Proof an attacker can't get in You Optional Aikido AI pentest, billed by Aikido

Lovable has said this split out loud. When a researcher found holes in a Lovable app in February, Lovable's CISO told The Register that applying its security recommendations is "at the discretion of the user."

Every Lovable security story so far came from the same gap

Line the incidents up and the pattern is hard to miss.

When What was found Root cause
March 2025 (CVE-2025-48757) 170 of 1,645 apps scanned (about 10.3%) had 303 open database endpoints Missing or wrong RLS rules
February 2026 One featured app with 16 flaws, 6 critical, exposing 18,697 user records (14,928 unique emails) A login check written backwards: it blocked signed-in users and let anonymous visitors through
April 2026 A free account could read other users' code, database credentials and chats on public projects created before November 2025 Lovable's own visibility settings; Lovable said "We did not suffer a data breach," then apologized
November 2026 7,403 of 24,664 sites returned records with email addresses Database access rules left open

One of those four was Lovable's own sharing settings. The other three came down to the same thing: an app's database or login rules letting the wrong person in. If your app runs on Supabase, is Supabase secure walks through how RLS works and how to check yours.

Broken access control, in plain words

Security people call the most common bug in these apps "broken access control," and you'll also see "IDOR." Both mean the same simple thing: your app checks that someone is logged in, but not that the thing they're asking for is theirs. User 41 opens their invoice at a link ending in 41. They change it to 42 and see someone else's invoice. The page looked locked. It wasn't.

AI builders are good at the first check (show a login screen) and much worse at the second (only return rows that belong to this person), because the second depends on your business. Is a coach allowed to see a client's notes? Can a team member see the whole team's billing? Lovable can't know that unless you tell it, and the Quick scan can't see it at all. The Deep scan tries. A person who knows what your app is supposed to do is still the most reliable check.

Will a Lovable app hold up as users grow?

This is the other half of what both founders asked me, and the honest answer is: the hosting usually isn't the first thing to break. The code is. Here's what I look at when someone asks if their Lovable app is production ready:

  • Database indexes. An index is the table of contents for a database table. Without one, every search reads every row. That's invisible with 50 rows and painful with 50,000. Supabase's free Performance Advisor flags missing ones (it calls them "unindexed foreign keys").
  • Loading everything at once. Generated pages often fetch a whole table and filter it in the browser. Fine in a demo, slow and expensive with real data, and a privacy problem if the rows shouldn't all be visible anyway.
  • No safe place to test. If every change goes straight to the live app, one bad prompt can break checkout for everyone. A separate test copy of the app is cheap insurance.
  • No error handling. When a payment provider or an AI API times out, many generated apps show a blank screen. Users don't report that. They leave.
  • Payments that trust the browser. If your app marks an order paid because the browser said so, instead of because Stripe confirmed it, you'll eventually give product away.

None of these mean you need to rebuild. Most of the apps I see need targeted fixes in a handful of places, not a rewrite. But they need to be fixed before the launch, the press mention or the ad spend, not after. Since October 30, 2026, Supabase also stopped exposing newly created tables to the public API by default on every project, which helps new tables. Tables you already have keep the access they had, so the check below still matters.

The 10-minute check you can run today

You don't need to read code for this. Open your project and do these five things:

  1. Run the Deep scan. In your project's Security view, click Run deep scan. It's free. Read every Critical finding, even the ones that sound boring.
  2. Check every table's rules. In Lovable, go to More, then Database, then Manage, then Policies. Every table that holds anything about a person should have RLS on and at least one policy. If you use your own Supabase project, open the Security Advisor there: a table flagged "RLS disabled in public" is readable by anyone.
  3. Log out and look. Open your app in a private browser window, logged out, and click everything. Anything that shows a person's data is a problem.
  4. Search for the dangerous key. Search your code for service_role and sb_secret_. Those are the Supabase keys that skip every RLS rule. They should never appear in anything the browser loads.
  5. Turn on the publish block. If you're a workspace admin, go to Workspace settings, then Security, then Privacy and security, and turn on Block publishing with critical issues. It's off unless you're on a new Enterprise workspace.

If you want the full version, I wrote a free 20-point vibe coding security checklist that covers these plus Stripe webhooks, rate limiting and the environment-variable mistakes AI builders make. If you found a key in step 4 and aren't sure which one it is, Supabase anon key vs service role key explains which is safe in your frontend.

When a scan isn't enough

The Crissy Field researchers end their report with a line I agree with: automated checks are no substitute for a professional review once real customer data is involved. Lovable's own docs say the same thing. If your app has paying customers, stores anything sensitive, or is about to get a lot of new users, have someone who reads code check the access rules against what your business actually allows.

That's what Vibe Code Rescue is for. It starts with a free repo audit: I look at your code and send you a short video plus a written summary of what I'd fix first. My longer take on what Lovable is good and bad at is in my Lovable review.

Sources

Free Resource Justin McKelvey

Ship AI-built code without the 2am surprise

The free 20-point security checklist I run on every AI-built codebase before it touches real users.

Frequently Asked Questions

Is Lovable secure?
The platform is: Lovable says it has been SOC 2 Type 2 compliant since August 13, 2025, and it runs a free Quick scan every time you publish. Your app is a separate question. Who can read which rows in your database is set by your app's access rules, and Lovable's own docs say its scans cannot guarantee complete security.
Is Lovable safe to use for an app with paying customers?
It can be, if you check the parts Lovable leaves to you before real customer data goes in: row level security on every table, no secret keys in the frontend, login checks on every page and function, and verified payment webhooks. Run the free Deep scan, fix what it finds, then have a person review access rules if you store anything sensitive.
What did the November 2026 Lovable study find?
Crissy Field, a Hamburg security firm working with Handelsblatt, scanned 159,041 Lovable projects. Of 24,664 sites that sent database records without a login, 7,403 (30%) returned records containing email addresses. The researchers say that is not a confirmed leak rate, since some addresses are public or test data and the sample isn't representative.
Does Lovable's security scan catch everything?
No. The Quick scan checks database rules, npm dependencies and exposed MCP servers in seconds on every publish. The Deep scan reads your app's code for access control, injection, secrets, payment and login problems, but you have to run it. Auto-fix doesn't touch Deep scan findings, and Lovable's docs recommend a professional review for apps with sensitive data.
Can a Lovable app handle thousands of users?
The hosting usually isn't what breaks first. What breaks is the code: database queries with no indexes, pages that load every row instead of one page at a time, no error handling, and no copy of the app to test changes on. Supabase's free Performance Advisor flags the index problems. Fix those before a launch or a big marketing push.

More on Vibe Code Rescue

What Is Prompt Injection? How It Hits the AI Feature You Added to Your Lovable or Cursor App

Prompt injection is when text your AI feature reads carries instructions the model follows instead of yours. OWASP ranks it the #1 risk for AI apps, and there's no full fix. Here's what it looks like in a founder's app, three real cases, and the fixes that limit the damage.

8 min

Is Supabase Secure? Yes, If RLS Is On: How to Check Yours in 5 Minutes (2026)

Supabase the platform is secure: SOC 2 Type 2, encrypted data, regular pen tests. Your app on Supabase is only as secure as its Row Level Security rules, and those are yours to set. Here's what Supabase covers, what you own, how RLS works in plain English, and a 5-minute check for a Lovable or Bolt app.

6 min

Supabase Anon Key vs Service Role Key (Now Publishable vs Secret): Which One Is Safe in Your Frontend?

The anon key (now called the publishable key) is meant to sit in your frontend. The service role key (now the secret key) bypasses every security rule in your database and must never leave your server. Here's the old-name to new-name map, where to find each one, and what to do if the wrong one leaked.

7 min

How Much Does It Cost to Audit or Fix a Vibe-Coded App? ($0 to $50K, What Each Tier Finds)

Auditing a vibe-coded app costs $0 to about $1,500. A pen test adds roughly $3,000 to $6,000. Fixing what the audit finds is the real bill: $15K to $50K for most rescues. Published prices for every tier, what each one actually catches, and which one you need.

8 min
Justin McKelvey, Austin, TX

Written by

Justin McKelvey

I spent 12 years running snowboard and mountain-bike shops in Colorado, then taught myself to code. Since then: 50+ products shipped, Head of Product at a national sports platform, CTO at an AI startup. Now I put AI to work in real businesses in Austin, TX and remote, and write down what actually works.

Work with me

Want more help? Get the free security checklist · Get a free 20-min repo audit