In this study

  1. Sample and method
  2. Headline findings
  3. The eight recurring failures
  4. What held up
  5. Five predictors of launch failure
  6. What it cost to fix
  7. Limitations
  8. Takeaway

AI coding tools make it possible to ship a working application in a weekend. Whether that application can serve real users, real data, and real attackers is a separate question. We reviewed 50 applications built primarily with AI assistance and recorded what we found. This is the anonymized summary.

Sample and method

50 applications audited between June and November 2026. Each audit was read-only: code, configuration, infrastructure, and a running instance. No production credentials or customer data were required. Builder mix: Lovable/Bolt/v0/Replit/Base44 (22), Cursor/Claude Code/Copilot-assisted (20), mixed or unclear (8). Stages ranged from pre-launch prototype to paying customers in production. Each app was scored on six domains: security and authorization, secrets and supply chain, data model and recovery, reliability and observability, cost and abuse controls, launch and compliance readiness.

Findings were recorded with severity, evidence, location, and a fix estimate. Nothing was changed during the audit. Severity followed CVSS-style impact and likelihood, adjusted for whether the app was actually exposed to the internet.

Headline findings

92%had at least one high or critical finding
74%had a broken or missing tenant boundary
61%shipped a secret in client code or git history
53%had no tested backup or restore path

These rates are consistent with independent research: arXiv 2606.23130 found a vulnerability in 91% of 200 audited live vibe-coded apps, with 65.77% of findings critical or high. Veracode found 45% of AI-generated code failed security tests across 100+ models. Escape.tech scanned 5,600+ live AI-built apps and found 2,000+ vulnerabilities and 400+ exposed secrets. Our sample is small and self-selected (teams that asked for an audit), so treat the percentages as directional, not population rates.

The eight recurring failures

  1. Authorization enforced in the interface, not the server. The most common finding (74%). The UI hid records or buttons, but the API returned them to any authenticated user. Row-level security was off or never written.
  2. Secrets in client bundles or git history. 61%. API keys, Supabase service-role keys, and webhook secrets shipped in browser code or remained in git history after deletion.
  3. No tenant boundary in the data model. 58%. Single-tenant schemas with a user_id column and no enforcement, or shared tables with no isolation at all.
  4. Hallucinated or unpinned dependencies. 44%. Packages that did not exist in the registry, or versions pinned to latest with known advisories.
  5. No migration or rollback plan. 53% had no tested restore; 39% had no migration strategy beyond "push to production."
  6. Silent failures. 47%. No error reporting on the client, no server logs, no alert owner. The first monitoring system was users complaining.
  7. Public endpoints with no abuse controls. 41%. Expensive or sensitive endpoints with no rate limit, quota, or authentication.
  8. No audit trail. 36%. No record of who read or changed sensitive data, which blocks enterprise deals and incident response.

What held up

The apps that passed were not the ones with the best prompts. They shared three traits:

  • A second human read the auth and data paths. Even a short review caught most tenant-boundary and secret issues.
  • Row-level security or equivalent was on from day one. Apps that added it late usually had gaps.
  • There was a written answer to "what happens if this fails?" Backup, restore, and rollback existed because someone had thought about it, not because a tool generated it.

Model choice mattered less than review discipline. The same failure classes appeared across every builder we tested.

Five predictors of launch failure

These five questions predict whether an app is launch-ready. If you cannot answer yes to all five, do not open it to real users.

  1. Can a second test account read or change the first account's data? (If yes, you have a tenant boundary problem.)
  2. Is any secret present in the browser bundle, repository, or build chat?
  3. Does every server function check who is calling before it acts?
  4. Can you restore the database from a backup you have actually tested?
  5. Who gets paged when a critical path fails, and do they know what to do?

What it cost to fix

SituationTypical remediation
Pre-launch prototype, sound data model1 to 2 weeks of hardening
Paying users, specific failures appearing2 to 4 weeks, severity-ordered
Wrong tenant boundary or data modelTargeted rebuild of that layer, then harden
Enterprise deal or diligence in flightAudit plus an evidence pack, 2 to 3 weeks

The cheapest fix is the one made before launch. The most expensive is the one made after a breach or a failed enterprise security review.

Limitations

Our sample is self-selected: teams that asked for an audit are not representative of all AI-built apps. Severity was judged by us, not by an independent reviewer. We did not perform full penetration tests, so exploitable impact is estimated, not proven. Builder and framework versions changed during the study period. Treat the percentages as directional.

Takeaway

AI tools are excellent at producing code that runs. They are not, on their own, good at producing code that is safe, operable, and commercially sustainable. The gap is consistent, measurable, and fixable — but only if someone checks it before real users and real data arrive. The five questions above are a free starting point. If you cannot answer them, book a free 20-minute repo check.

See the vibe coder path →   See the production readiness audit →