Vibe-Coded Apps Are Easy to Build. Hardening Them Is the Real Work. A scan of 159,041 Lovable projects by German security firm Crissy Field, working with Handelsblatt, found that 24,664 of the 34,545 projects using Supabase returned database records to a visitor with no login, exposing email addresses on 7,403 sites, more than 1,000 passport records in one provider's database and over 200,000 chat messages from a single forum. The researchers used only read requests and the key every page hands to the browser, attributing the exposure to missing row-level security rather than a platform hack; Lovable's head of security confirmed insufficient row-level security as the root cause, which he said the platform's scanner is built to catch. The finding sits alongside UpGuard's discovery of roughly 16,000 exposed Supabase-hosted databases in September, RedAccess's finding of about 5,000 exposed AI-built apps in May, and Wiz's February discovery of a misconfigured database at Moltbook that exposed about 1.5 million authentication tokens and 35,000 email addresses. TL;DR: AI tools made it cheap to build an app that works . They did not make it cheap to build one that is safe . The 2026 breaches were rarely clever: open databases, secrets in the browser, missing authorization, and agents holding credentials they never needed. The fix is a short list of boring controls, applied before real users arrive. The demo works. That's the trap. A prompt, a few iterations, a login screen, a database, a deploy button. The app does exactly what you asked. The trouble is everything you didn't ask for: - Who may read this row? - What happens if a stranger calls this endpoint directly? - Where does the API key live? - What can the agent delete? Models optimize for "it runs." Attackers test everything else. What went wrong in 2026 timeline title Vibe-coding security incidents, 2026 section Early warnings Feb : Moltbook database exposes about 1.5M auth tokens Mar 24 : UK NCSC warns about vibe-coding risk at RSAC section Agents and defaults Apr 24 : Coding agent deletes PocketOS production data and backups May : RedAccess finds about 5,000 exposed AI-built apps May 30 : Supabase makes new tables opt-in to its Data API section The scale shows Sep 25 : UpGuard finds about 16,000 exposed Supabase databases Nov 2 : Crissy Field and Handelsblatt report on open Lovable apps Lovable apps November . German security firm Crissy Field, working with Handelsblatt, scanned 159,041 Lovable projects. Of the 34,545 that used Supabase, 24,664 returned database records to a visitor with no login. What was readable: - Email addresses on 7,403 sites - 1,000+ passport records in one provider's database - 200,000+ chat messages from a single forum The researchers used only read requests and the key every page already hands to the browser. The cause was missing row-level security, not a hack of the platform. Fair caveat: the sample isn't representative of all Lovable apps, and some of the exposed data was meant to be public. Lovable calls it an industry-wide Supabase configuration problem. Its head of security later confirmed the root cause was insufficient row-level security, which he said the platform's scanner is built to catch. Supabase at large September . UpGuard found around 16,000 Supabase-hosted databases exposing some personal data. Supabase says security is a shared responsibility. Public by default May . RedAccess found about 5,000 apps built with tools like Lovable, Replit, Base44 and Netlify exposing corporate or personal data. Roughly 2,000 held sensitive data with no authentication. Some tools made apps public unless the builder switched them to private. The platforms argued that a reachable app isn't automatically a breach. Fair, but it means the builder has to decide. Moltbook February . Wiz found a misconfigured database behind a vibe-coded social network for AI agents. It exposed about 1.5 million authentication tokens and 35,000 email addresses. PocketOS April . A Cursor agent running Claude Opus 4.6 hit a credential mismatch on a staging task, found an infrastructure token with broad permissions, and deleted a Railway volume. The production database and its backups went with it in about nine seconds. Railway later restored the data. The agent had ignored the project's rule against destructive commands. None of these needed an exploit. They needed a browser, a curl , or a token lying around. Why it keeps happening 1. Models are good at rules and bad at context Tenzai had five coding agents Cursor, Claude Code, Codex, Replit, Devin build the same three apps. It found 69 vulnerabilities across the 15 apps. | Agents usually handle | Agents usually miss | |---|---| | Well-known pitfalls with a clear fix, like SQL injection and XSS none exploitable in Tenzai's tests | Authorization on every API endpoint | | Code that compiles and runs near-100% in Veracode's tests | SSRF: all five agents introduced it in a test built to tempt it | | | Business rules: four of five accepted negative order quantities | | | Security controls nobody asked for | The last row matters most. In almost all cases the agents didn't implement those controls badly. They skipped them. Raw-model benchmarks still show XSS failures, so results depend on the setup. The pattern holds either way: familiar mistakes get avoided, app-specific ones don't. 2. Security is improving, slowly Veracode's October 2026 report put AI code at a 62% security pass rate, up from a stalled 56%. The best models hit 73%, the weakest 44-50%. That still means roughly four in ten test tasks produce vulnerable code on average. It's a vendor benchmark, not a verdict on your app. Georgia Tech's Vibe Security Radar tracks CVEs traceable to AI-authored code. It counted 6 in January 2026, 15 in February and 35 in March, for 74 in total since May 2025. That is the latest public tally I could find. The researchers call these counts a floor, because most AI code carries no attribution. 3. Defaults and permissions set the blast radius Supabase's anon key is public by design. Policies and grants decide what it can reach. flowchart TB subgraph sgOpen "Without row-level security" direction LR A1 "Visitor copies the public