Lovable apps expose passport details and more than 200K private messages
Security researchers audited nearly 160,000 AI-generated apps built on Lovable and found that thousands leaked sensitive data, including passports and private messages, due to unconfigured database permissions.
read it Essential reading for understanding the real-world security vulnerabilities introduced when non-technical users deploy AI-generated applications connected to databases.
summary
Researchers analyzed over 159,000 applications built on the AI platform Lovable and discovered widespread data exposure across projects integrated with Supabase. Thousands of websites allowed unauthenticated read access to backend tables, exposing sensitive user records like passport numbers, internal emails, and chat messages. The findings highlight how low-barrier AI tools amplify authorization failures at scale, prompting responses from both the researchers and Lovable's security team regarding platform defaults and automated mitigation features.
key points
- Researchers analyzed 34,545 Supabase-backed Lovable projects and found that 24,664 exposed database records on load without requiring authentication.
- An estimated 4,000 applications leaked privacy-sensitive data, including identity documents, financial records, and internal communications.
- The vulnerability primarily stems from missing Row-Level Security and default database configurations that prioritize ease of onboarding over security.
who should read it
Software engineers, security professionals, and platform architects concerned with the security risks of AI code generation.
discussion skeptical
consensus
Commenters agree that while authorization misconfigurations are a classic engineering problem, AI platforms drastically exacerbate the issue by letting non-technical users deploy public apps without understanding access controls.
pushback
Some participants argue that Supabase shares significant blame for using default client-side keys and settings that prioritize frictionless onboarding over security.
Igor here, Head of Security at Lovable. Thanks to the Crissy Field team for their work. The root cause in these apps was insufficent Row-Level Security, which is exactly what our scanning is built to catch. We scan every app automatically before publish and offer a deeper SAST scan, both free for all users. When we flag findings, users can select “Fix” and Lovable will help resolve them. They can also enable auto-fix, which resolves security findings in the background, and block publishing entirely when there are critical findings.
When an app has end users, security is a key part of the …
The Head of Security at Lovable responds directly to the report, explaining the platform's automated scanning and remediation features for Row-Level Security.
Generated by an LLM from the article and thread. Check the sources before relying on it.