Vibe coding: how safe are apps built by AI?
This article was created with AI assistance
The text and images in this article were generated with the help of AI systems. Labelled in accordance with Art. 50(4) of the EU AI Act. Responsible for publication: ArkeonTech.
- Vibe Coding
- Security Audit
- Software Development
- GDPR
- SMB
In short: Apps built with AI tools like Lovable, Bolt, v0 or Base44 are measurably often wide open: in a scan of 2,511 live apps (October 2026), almost one in five apps with a detectable Supabase backend returned database rows to a request carrying nothing but the public key; for Lovable apps it was more than one in five. A second scan of 1,072 apps (June 2026) found at least one vulnerability in 98 percent, including the deletion of entire tables without any login in 172 cases. The cause is systematic: the tools generate code that works but is not protected - even explicit security instructions lower the rate of proven vulnerabilities by only four points according to a formal study, and six common scanning tools miss almost 98 percent of proven weaknesses. Anyone losing personal data through such an app must report the incident under Article 33 GDPR, where feasible within 72 hours. What you can check yourself in ten minutes, when the built-in scan suffices and when an audit is needed is laid out below; what a professional audit covers and how it runs is answered on the service page for the security audit for vibe-coded apps.
The enquiries now arrive from several countries and in several languages, but they mean the same thing: vibe coding audit, vibe coding security audit, an audit of a vibe-coded app. Behind them is almost always the same situation: there is an app, built with Lovable, Bolt, v0, Base44, Replit, Cursor or Claude Code, it runs, it has real users, and nobody knows whether it is tight. This article lays out the state of the evidence: two large scans of real, live apps from 2026, two academic studies on the security of AI-generated code, the documented case that shows how this ends, and the legal duty that applies when it does.
What is vibe coding - and why does it now affect almost every company?
Vibe coding means: you describe what the app should do, the AI writes the code, and you no longer really read it. Andrej Karpathy coined the term on 2 February 2025: you give in to the flow, accept everything, stop reading the changes, the code grows beyond your own comprehension - quite amusing for weekend projects, as his own caveat went.
The weekend project has since become a mass market. Lovable, the largest of the builders, reported on 18 November 2026 for its second anniversary 70 million created projects, 1.2 million new ones per week and over a billion visits per month on the apps built with it. According to the company, the users are mostly not developers but founders, designers and salespeople building internal tools: CRMs, warehouse management, HR platforms. Annualised revenue stood at 600 million US dollars in September 2026, and according to the co-founder, employees of two thirds of the Fortune 500 use the product, among them Deutsche Telekom.
So the question is no longer whether AI-built software arrives inside companies. It is already there. The question is in what state.
How insecure is AI-generated code really?
The sharpest answer so far comes from a formal verification study of April 2026 (arXiv:2604.05292). The authors Blain and Noiseux had seven common language models solve 500 security-critical programming tasks each and did not check the 3,500 results with patterns but with a mathematical proof procedure: a Z3 solver searched for a concrete input value triggering each vulnerability. Result: 55.8 percent of the artefacts contained at least one vulnerability proven this way, 1,055 of them formally demonstrated. No model scored better than a grade of D.
Three side findings of the study matter more in practice than the headline number. First: explicit security instructions in the prompt lowered the rate by only four points - telling the AI to write secure code buys almost nothing. Second: the same models recognise their own vulnerable output in review mode in 78.7 percent of cases yet produce it anyway. The weakness therefore lies not in the knowledge of the models but in their behaviour while writing. Third: six common industry scanning tools together flagged only 7.6 percent of the artefacts and missed 97.8 percent of the proven findings. Static scanners alone are no control.
And it does not fix itself. A longitudinal study across 32 models from seven families (arXiv:2610.08240, October 2026) compared three successive generations: newer models do become safer in absolute terms, but no family closes the gap between "works" and "is secure", compact models mostly score below their larger siblings, and the authors explicitly advise re-running security checks after every model upgrade instead of trusting in upgrades.
Why does the database lie open so often?
The reason is architectural, not an individual mistake. An app built with Lovable, Bolt or v0 runs in the browser and stores its data with a backend service, mostly Supabase or Firebase. For that to work, the app hands the service's key to every visitor - in the case of Supabase the so-called anon key. It is built to be public. The actual protection consists of the rules inside the database, the Row Level Security: they decide row by row who may read and change it.
And it is exactly this step that is systematically missing. That was already the core of the first documented vulnerability of this kind: in March 2025 security researcher Matt Palmer showed that Lovable apps frequently had their Row Level Security missing or misconfigured; a modified request was enough to read all rows of the user table. The finding received its own vulnerability identifier, CVE-2025-48757. Palmer pointed at the second half of the problem at the same time: the security scanner meanwhile built into the platform only checked whether some rule existed - not whether it was correct and matched the logic of the app. The result is a false sense of security.
Anyone knowing the anon key can talk to the database directly, bypassing the browser. Whether that works is decided solely by the database rule - and the builder tool only generates it when it happens to remember.
What do the scans of real apps show?
Two independent groups in 2026 examined live apps exactly the way a curious stranger would: without a login, using only the requests every browser sends anyway. Both examined only apps that visibly ship their backend configuration to the browser.
| Study | Sample | Core finding | Sharpest individual findings |
|---|---|---|---|
| VibeLocked, scan of 18-19 October 2026 | 2,511 apps across nine platforms | 19.9 % of the 603 Supabase apps returned real database rows to the public key | 205 apps (8.2 %) shipped the original code as source maps, at Base44 nearly 60 %; 12 apps carried real secrets like the service-role key in the JavaScript |
| Symbiotic Security, 2 June 2026 | 1,072 apps with Supabase | 98 % with at least one vulnerability, only 26 completely clean | 172 apps allowed deleting database rows without a login, 172 allowed altering them, 39 allowed reading them entirely, 34 exposed sensitive columns like emails and phone numbers |
To put the first number in context: the public key alone is no flaw, it is part of the design. The flaw is that in one fifth of the Supabase apps it was at the same time the only protection. Among the Lovable apps in the scan the rate stood at 21 percent, slightly above average, Bolt at 16, Vercel at 11. The second study stems from a vendor of security tooling that sells its product with findings of this kind; the numbers are nonetheless illuminating because the methodology is disclosed and the types of findings - deleting, altering, reading without a login - leave no room for interpretation. Both scans only probed what every visitor can fetch anyway, and both publish no app names.
The honest limit of the evidence: both scans only capture apps with a detectable Supabase or Firebase backend. How apps built with a different backend architecture fare, they do not measure.
What happens when other people's data lies open?
The best-known documented case is the dating safety app Tea. In July 2025 users of a forum found its Firebase-hosted database open on the web; 72,000 images were stolen, among them around 13,000 verification selfies with photo IDs, although the app had promised to delete these images after review. Days later a second find followed: over 1.1 million private direct messages. Reuters and 404 Media documented the case. In Tea's case it is not proven that the app was built with AI tools - but the mechanism is exactly the same one the two scans measure in one fifth of vibe-coded apps: a backend anyone can read because the access rules are missing.
For German companies a deadline joins the damage report. If personal data lies open, that is a personal data breach under the GDPR - regardless of whether anyone has already fetched the data. Under Article 33 you must notify the supervisory authority without undue delay, where feasible within 72 hours, unless a risk to the people affected is unlikely. If the risk is high, Article 34 adds the duty to inform the affected individuals. And even without a duty to report: every incident must be documented internally; according to the guidance of the supervisory authorities the completed reporting form suffices. Anyone running an app with customer data, applicant data or anything close to patients should therefore know the answer to the exposure question before someone else finds it.
Is the built-in security scan of the platform enough?
No - and not only competitors say so, the platform itself does. Lovable writes in its security documentation (as of November 2026) that its own tools do not replace a thorough security review, cannot guarantee complete security, and recommends an additional professional review for apps with sensitive data or important functions. Base44 makes it plain: you yourself are responsible for the security of your own app.
The two measurements above fit this: Palmer's finding that the scanner only checks the existence of a rule, not its correctness, and the formal study according to which six scanning tools together missed 97.8 percent of the proven vulnerabilities. The built-in scan is the first filter, not the final answer. Run it before every release anyway - what it finds is almost always real.
How do you check your own app in ten minutes?
Four of the most common findings of the October scan you can roughly check yourself, without tooling and without credentials. This check replaces no audit, but it shows whether action is needed.
| Check | How | What it means if yes |
|---|---|---|
| Does the database return rows without a login? | Call the app's Supabase address in the browser directly with a table request (it sits in the page source) | Row Level Security is missing or wrong; other people's data is open |
| Can a .env file be fetched? | Request your domain with the path /.env | Access keys lie open; caution: many hosts serve the start page on any path, so the content counts, not the status code |
| Does a source map reveal the original code? | Check the source of the shipped JavaScript files for a .map file | Anyone can read your original code, including the internal logic |
| Do keys sit in the shipped JavaScript? | Search the shipped code for terms like service_role, sk- or private key | The master key lies open; a service-role key bypasses every database rule |
Stay with your own app and with read-only checks. Write tests and attacks on other people's systems are not legitimate without an explicit assignment - which is exactly why serious scans stick to pure read access.
Scan, rules during the build or a professional audit - what, when?
The evidence suggests a three-step answer, and each step has its honest limit. First the platform's built-in scan: always run it, but it checks from the inside and only the existence of rules. Second security already during the build: whoever dictates the rules to the AI from the start - login before the first data access, rights on the server, no keys in the code - avoids part of the standard gaps in the first place. A disclosure at this point: ArkeonTech itself operates a tool of this kind called builtSecure, which supplies the AI with such rules during the build; it prevents, but it checks nothing after the fact. Third the professional audit from the outside: needed as soon as real users, real payments or personal data sit inside the app, after major rebuilds - and whenever the self-check above finds something, because your own ten minutes cannot answer the decisive question whether every backend function really verifies who is calling it.
What such an audit at ArkeonTech covers, how it runs and what it costs is answered on the service page for the security audit for vibe-coded apps; it is the right address once the question is no longer "how big is the risk" but "who checks my app". And if you have not built an app yourself but are planning custom software instead, the starting point is the article on AI-assisted software development in the midmarket.
Frequently asked questions
What is a vibe coding audit?
A security review of an app built with AI tools like Lovable, Bolt, v0, Base44 or Cursor, carried out before someone else finds its gaps. The core question is simple: can someone reach data or functions not meant for them? The review covers the database rules, the backend functions, the keys shipped inside the code and the running application from the outside.
Is the public Supabase key in my app a security problem?
No, not the key itself. The Supabase anon key is built to be public; it sits in the JavaScript of every visitor. The problem starts when it is also the only protection: if the Row Level Security rules are missing, anyone holding this key can read, change or wipe the database. The key is the doorbell, not the lock.
Is the built-in security scan from Lovable or Base44 enough?
Run it in any case, but it is not enough. Lovable states in its own documentation that its tools do not replace a thorough security review and cannot guarantee complete security. A scan of 1,072 live apps (June 2026) found at least one vulnerability in 98 percent, and a formal study shows that six common scanning tools together missed nearly 98 percent of the proven vulnerabilities.
Am I obliged to report if my insecure app leaks data?
If personal data was exposed, this is a personal data breach under the GDPR. Article 33 requires you to notify the supervisory authority without undue delay, where feasible within 72 hours, unless a risk to the people affected is unlikely. If the risk is high, Article 34 adds the duty to inform the affected individuals. Every incident must be documented internally in any case, even without a report.
Can I check the security of my app myself?
Partly, yes: whether tables answer without a login, whether a .env file can be fetched, whether source maps reveal the original code and whether keys sit in the shipped JavaScript. These are exactly the four findings the large scan of 2,511 apps (October 2026) counted. What you cannot check yourself is the attack from the outside with different accounts and the question whether every backend function really verifies who is calling it.
Does AI-generated code become safer on its own with newer models?
Only to a degree. A longitudinal study across 32 models (October 2026) shows: newer models do become safer in absolute terms, but no model family closes the gap between working and secure code, and the smaller variants usually score below their larger siblings. The authors therefore advise re-running security checks after every model upgrade instead of trusting in improvement.
Conclusion
The numbers of 2026 leave little room for interpretation: the security problem of vibe coding is no isolated case and no beginner's mistake but built into the way the tools work - code that works but is not protected. Roughly one fifth of the Supabase apps in the October scan handed data to anyone, nearly all scanned apps in June carried at least one vulnerability, and even formal proofs show more than half of the generated artefacts vulnerable. The good news is the second number of the same scan: the typical finding is no sophisticated attack but a single omitted step. Whoever knows where to look finds it - yourself in ten minutes, thoroughly in an audit. Before the first real user is the right moment for that, not after the first report to the supervisory authority.
Sources
- Blain, Noiseux: Broken by Default - A Formal Verification Study of Security Vulnerabilities in AI-Generated Code, arXiv:2604.05292, April 2026.
- Newer and Bigger, but Safer? A Longitudinal Study of the Functionality-Security Gap in LLM-Generated Code, arXiv:2610.08240, October 2026.
- VibeLocked: Exposed by default - what we found inside 2,511 vibe-coded apps, scan of 18-19 October 2026, retrieved 1 December 2026.
- Symbiotic Security: We Scanned 1,072 Vibe Coded Apps, 98% Had Security Flaws, 2 June 2026, retrieved 1 December 2026. Note: the vendor sells security tooling.
- Matt Palmer: Statement on CVE-2025-48757, March 2025, retrieved 1 December 2026.
- Reuters: Women's dating app Tea reports 72,000 images stolen in security breach, 26 July 2025; 404 Media on the second find of 1.1 million direct messages.
- Andrej Karpathy, post on X of 2 February 2025, as quoted by Simon Willison, 6 February 2025.
- Lovable: Two years of Lovable, company blog, 18 November 2026; TechCrunch: Lovable's annualized revenue crosses $600M, 24 September 2026.
- Lovable Documentation: Security overview, retrieved 22 November 2026; Base44 Support Documentation: Running a security scan, retrieved 22 November 2026.
- Landesbeauftragte für Datenschutz und Informationsfreiheit NRW: reporting duty for controllers - personal data breaches, retrieved 1 December 2026; BfDI: information on reporting data breaches, retrieved 1 December 2026.
About the author
Michael Kaiser
Founder and owner of ArkeonTech, Aalen
Business informatics graduate (DHBW Heidenheim) with a bachelor's degree in Business Analytics from Aalen University, previously several years as an ERP consultant for mid-sized companies in Baden-Württemberg. He has run ArkeonTech in Aalen since September 2025.
Matching ArkeonTech service
Security audit for vibe-coded apps
Database rules, backend functions, shipped keys and the running app from the outside - checked before someone else finds the gaps.
More Articles
-
Standard Chatbot or Custom AI Agent: What Decides the Choice
No-code chatbot or custom-built AI agent? Five criteria SMBs can use to decide, and three questions every provider should answer in writing.
-
AI Agents Alone Don't Drive Growth: Strategy, Brand & AI
A chatbot or voice agent rarely lifts revenue on its own. Why real growth only emerges when strategy, brand and AI work together as a system.