---
title: "The Vibe-Coded App Left the Database Door Open"
description: "A platform that promises apps with no technical knowledge meets a database that assumes you will configure access control yourself. 159,041 Lovable projects later, the result is passport numbers served to anyone who asks."
date: 2026-11-15
author: Burak
url: https://deepstack.bsormagec.com/p/the-vibe-coded-app-left-the-database-door-open/
image: https://deepstack.bsormagec.com/images/the-vibe-coded-app-left-the-database-door-open.webp
---

# The Vibe-Coded App Left the Database Door Open

*A platform that promises apps with no technical knowledge meets a database that assumes you will configure access control yourself. 159,041 Lovable projects later, the result is passport numbers served to anyone who asks.*

Nov 15, 2026 · Deep Stack by Burak

The interesting thing about the Lovable research is not that vibe-coded apps leak. It is that the leak is not a bug in any one app. It is the default.

Crissy Field, a Hamburg security consultancy working with the German newspaper Handelsblatt, examined 159,041 Lovable projects built between December 2025 and September 2026, identified through the open Common Crawl web archive. Of those, 34,545 used Supabase as their database. And 24,664 of them — nearly three in four of the Supabase apps — sent database records to any visitor the moment the site loaded, no login required, no interaction at all.

That alone is not necessarily a leak. A public website is allowed to show public data. So the researchers made further read-only requests with the same API key the page itself hands out, and looked at what else came back. They found email addresses in 10,560 tables across 7,403 of those sites — 30 percent of the ones they examined closely. Behind that percentage sit the concrete cases: a German lifestyle forum exposing more than 80,000 profiles with full names, email addresses, dates of birth and gender, plus more than 200,000 chat messages; event organizers and restaurants exposing tens of thousands of ticket and food-sale records including phone numbers, postal addresses, payment information and ticket codes; a property management company exposing AI-generated summaries of internal emails about tenants, owners and business partners; tens of thousands of contracts, invoices, personal photo albums and internal WhatsApp messages; 280,000 emails sent to one provider's customers, readable by anyone. And in the worst case, a service provider exposing more than 1,000 records containing passport numbers, expiration dates and nationalities — identity documents, sitting behind an endpoint that never asked who was calling.

No misuse of the exposed data was established. That matters, and it is worth saying plainly. The researchers also state their own limits in the report: the 30 percent figure is not a confirmed leak rate, because some of those email addresses may be public contact addresses or test data, and the Common Crawl sample is not representative of every Lovable app. They downloaded only parts of the datasets, not the whole thing, and they are not publishing how to reproduce the access.

## The missing step nobody sees

To understand why this happened at scale, you have to look at what the builder never encounters. Lovable's pitch is that no technical knowledge is needed to build a project, and Lovable's own terms place responsibility for the application and its data handling on the customer. Supabase, for its part, ships row-level security switched off by default on a new table: nothing stops a read until the builder writes a policy saying who may read what. Between those two facts there is a step that exists in the platform's mental model and nowhere in the builder's experience. The person who typed "build me a booking system for my restaurant" never saw a screen that said "who is allowed to read the bookings table." The app works. The data loads. Everything looks finished.

That is the mechanism, and it is what makes the scale of the finding different from an ordinary breach. Access-control mistakes happen in hand-written applications too — the researchers say so themselves. But hand-written applications make their mistakes one at a time, in different places, for different reasons. Lovable apps share an integration pattern: the same Supabase wiring, the same default posture, repeated thousands of times. The researchers put it directly: database integrations follow recurring patterns, making it easier to look for similar misconfigurations across many applications, so an approach that works against one app may then work against others with little extra effort. One exploit pattern, thousands of targets. The builder who never saw the access-control step is not the only one who never saw it. Neither did the other 7,402.

That sounds like a story about AI writing bad code. It isn't. The code the model wrote is, by the researchers' own account, not the problem — the apps work, the data flows, the features are there. The problem is a step the platform treats as the user's job and the user never learns is a job at all. Vibe coding did not invent the insecure default. It industrialized it: it took a configuration decision that used to require a developer, removed the developer, and kept the decision.

## The argument in the thread

The Hacker News discussion, which ran to more than 300 comments, spent much of its energy not on Lovable but on the researchers themselves. Commenters argued that downloading parts of 10,560 tables to establish the extent of the exposure crossed the line from white-hat research into something closer to a breach, whatever the intent. The author, who showed up in the thread, answered that the analysis was conducted in collaboration with a lawyer specializing in data protection and ethical hacking, brought in by Handelsblatt, and that the LLM-based classification of the datasets was done with local models — specifically a model called elephant-1 running on a local RTX Pro 4000 SFF — rather than by sending the data to a cloud provider.

The author also added a figure that is not in the published report: running a System 1 decision model over each dataset at an 85 percent confidence threshold, the team found nearly 4,000 websites leaking privacy-sensitive information — about 16 percent of the Lovable sites using Supabase, or roughly 2.5 percent of all 159,041 projects examined. That number comes from the author's comment, not the report, and it carries the same caveats as everything else in the study. But it sharpens the picture the report paints: the 30 percent figure counts tables containing an email address, which may or may not be sensitive; the 4,000-site figure is the team's attempt to count the ones that actually are.

The argument about the researchers' methods is a real one, and it will not be settled by this article. But it is worth noticing what the argument is not about. Nobody in the thread seriously disputed that the data was accessible. The dispute is about how much proof of an open door you are allowed to collect before you count as the person who walked through it. That is a fair question for the researchers. It is not a defense of the door.

## For builders, the takeaway is practical

If you built an app on Lovable, or on any platform that wires a database up for you, the check is short and it is not optional: open your Supabase project, look at every table, and confirm that row-level security is enabled and that each policy names exactly who may read and write each row. A table that serves data to the page on load is serving it to everyone on load. If you have never written a policy, assume your tables are public until you have verified otherwise, because that is what the default is.

The researchers' recommendation goes further — a professional security assessment before an application handles real customer or business data, repeated after significant changes — and for anything holding identity documents or payment data, that is the right bar. But the first step costs nothing and takes minutes: look at the tables, turn on the policies, and confirm from a logged-out browser that the data you expected to be private actually is. The platform will not ask you to do this. That is the whole problem.

Lovable was contacted by Handelsblatt with the findings. What the company does next — whether it changes the default, adds a check before an app goes live, or leaves the responsibility where its terms already put it — will tell you more about the platform than the leak itself did. A default that exposes passport numbers to anonymous requests is not a setting. It is a decision the platform already made, on behalf of every builder who never knew there was a decision to make.

That is the problem.

Source: [Lovable: Many Apps Built on the Platform Expose Sensitive Data](https://www.crissyfield.de/research/lovable-en/)
