Skip to content
Ylabator
ChecklistBeginner

The 12 Failure Modes of AI-Built MVPs

Twelve failure modes cover most of what a demo hides in an AI-built MVP. Each has a cheap check and a piece of evidence that closes it.

4 min read / Updated / Last checked

Format
Checklist · Beginner
Who it is for
Non-technical founders
You leave with
Inspect an AI-built MVP's auth, permissions, data, secrets and deployment, and ask the builder for evidence instead of assurances.

The problem

In October 2025, the security company Escape published the results of scanning more than 5,600 publicly available apps built on vibe coding platforms. With passive checks only, it found more than 2,000 high-impact vulnerabilities, more than 400 exposed secrets and 175 instances of exposed personal data, including medical records and bank account numbers [1]. The researchers describe the figures as lower bounds. Recurring causes included Supabase tables with missing or misconfigured row-level security and keys shipped inside frontend JavaScript bundles [1].

None of those defects appears in a demo. A walkthrough uses one account, valid input, a fast network and a database nobody has tried to break. The failures live on paths a walkthrough never takes: a second user, a repeated request, a key read from the browser's developer tools.

A founder who receives an AI-built MVP needs a short list of places to look and the proof to ask for at each. The list below is a review framework. It does not claim every AI-built app has every defect. Test only systems you own or are authorized to assess.

How it works

The twelve modes fall into four areas. Each area answers one question a demo never asks.

Access: who can see and change what? The most common API flaw has its own name. OWASP's API Security Top 10 lists broken object level authorization first: an endpoint accepts a record ID and never checks that the record belongs to the caller [2]. Logging in is authentication. Checking ownership is authorization. Generated code often does the first and skips the second. Admin functions without role checks and database tables without row policies fail the same way, which is why Supabase's documentation tells teams to enable row-level security on every table in an exposed schema [6].

Exposure: what leaks out, and what gets pulled in? Secrets leak through client bundles and commits. GitGuardian counted 28.65 million new hardcoded secrets in public GitHub commits in 2025, and commits made with Claude Code assistance leaked secrets at 3.2% against a 1.5% baseline [3]. Dependencies can be invented outright. A USENIX Security 2025 study found code models suggest packages that do not exist, 5.2% of the time for commercial models and 21.7% for open-source ones, producing 205,474 unique fake names an attacker could register and fill with malware [4]. Injection belongs here too: user input that reaches a query or a shell command without parameters.

Repetition and load: what happens the second time? A retried payment request charges twice without an idempotency key. Two users claim the last slot without a transaction or a constraint. An endpoint without limits lets one script run up a model bill, a risk OWASP files under unrestricted resource consumption [2].

Recovery: what happens after something breaks? Backups that were never restored, errors that alert nobody and deploys with no rollback turn a small incident into lost data or a lost week.

Four areas behind the twelve failure modes

Fig. 01
  1. Accesswho sees and changes what
  2. Exposuresecrets out, packages in
  3. Repetition and loadretries, races, limits
  4. Recoveryrestore, alert, roll back
Each area answers a question a demo never asks. Every mode needs evidence, an owner and a retest date.

By the numbers

high-impact vulnerabilities across 5,600+ public vibe-coded apps in Escape's scan [1]
2,000+
exposed secrets in the same scan [1]
400+
secret-leak rate in Claude Code-assisted public commits, against a 1.5% baseline [3]
3.2%
of packages suggested by open-source code models did not exist (5.2% for commercial models) [4]
21.7%
#Failure modeEvidence to requestOWASP API 2023
1Missing object ownership checkTest: user B gets 403 or 404 on user A's recordAPI1
2Weak role checks on admin actionsRole-by-action test matrixAPI5
3Database row rules off or too widePolicy on every exposed table, with testsAPI1
4Secrets in client code or git historyClean secret scan of bundle and historyAPI8
5Unverified or invented dependenciesLockfile, audit output, package age checknone
6Injection into queries or commandsParameterized queries, no shell built from inputnone
7No rate or spend limitsConfigured limits and a billing alertAPI4
8Missing idempotencyRepeat-request test creates one recordnone
9Race conditionsConcurrent-request test, database constraintnone
10Backups never restoredDated restore into a separate environmentnone
11No error monitoringTest alert that reached a named personnone
12No release controlsRequired CI checks, review, rollback stepsnone
The 12 failure modes, the evidence that closes each, and the OWASP API Security Top 10 2023 entry where one applies [2]

Escape's and GitGuardian's figures point at the same two modes, 3 and 4: open data paths and exposed credentials. Both can be found from outside: Escape's scanner found them in deployed apps, and GitGuardian found secrets in public commits. An attacker can look in the same places.

The package numbers matter for a different reason. A hallucinated package name is harmless until someone registers it. After that, an install command copied from an AI answer pulls in their code. Mode 5 is the cheapest one to check and the hardest to notice by reading the app.

Implementation

Run a first pass yourself, or have the builder run it while you watch. The script below produces evidence for modes 4 and 5 on a Node project, using Gitleaks for secrets [5] and npm's own audit commands. It does not prove the app is safe. It finds the cheapest problems first.

first-pass.shbash
#!/usr/bin/env bash
# First-pass evidence for failure modes 4 and 5. Run in a clean clone.
set -u
BUILD_DIR="${1:-dist}"   # dist for Vite, .next for Next.js
npm ci --silent && npm run build --silent

echo "== Mode 4: secrets in git history and in the built bundle"
gitleaks git . --redact --report-path leaks-history.json || echo "FINDING: see leaks-history.json"
gitleaks dir "$BUILD_DIR" --redact --report-path leaks-bundle.json || echo "FINDING: see leaks-bundle.json"
grep -rlE "SERVICE_ROLE|sk_live_" "$BUILD_DIR" && echo "FINDING: server key name in client bundle"

echo "== Mode 5: known vulnerabilities and registry signatures"
npm audit --omit=dev --audit-level=high || echo "FINDING: npm audit"
npm audit signatures || echo "FINDING: missing or invalid signatures"

echo "== Mode 5: package age (a new package with a familiar name needs a manual look)"
for pkg in $(node -p 'Object.keys(require("./package.json").dependencies || {}).join(" ")'); do
  echo "$pkg created $(npm view "$pkg" time.created)"
done

Gitleaks exits with a non-zero status when it finds a secret, which the script turns into a printed finding. Treat any secret found in the bundle or history as live: rotate it at the provider first, then remove it from the code. Deleting the line does not revoke the key.

Modes 1, 2, 3, 8 and 9 need tests against a running app with two test accounts. Modes 10 to 12 need a dated exercise, such as a restore or a test alert, not a code change. Record every result in one evidence sheet.

Test it

The sheet is the deliverable. Ask the builder to fill it, with a link for every "verified" row.

failure-modes-evidence.mdmarkdown
# Failure mode evidence: <app>, reviewed <date>
| # | Mode | Status | Evidence link | Impact if wrong | Owner | Retest |
|---|---|---|---|---|---|---|
| 1 | Object ownership check | verified | CI run #412, cross-user test | Data leak | Dev | Each auth change |
| 3 | Row rules on exposed tables | missing | Policy list shows 2 tables open | Data leak | Dev | 2026-11-20 |
| 4 | Secrets in bundle or history | verified | leaks-bundle.json empty | Account takeover | Dev | Each release |
| 5 | Dependencies | unknown | | Supply chain | Dev | 2026-11-18 |
| 10 | Backup restore | missing | | Permanent loss | Ops | 2026-11-25 |
Status values: verified (with link), missing (with owner and date), unknown.
"Unknown" is a finding, not a pass.

Expected result: every one of the 12 rows is either "verified" with a link or "missing" with an owner and a date. Reject "we checked it" without a link. Rerun rows 1 to 4 after every change to authentication, the schema or environment configuration, since those are the changes that silently reopen them.

Decision

Treat confirmed modes 1, 3 and 4, any unsafe money movement under mode 8, and an unrestorable database under mode 10 as launch blockers. A misaligned button is not in the same risk class.

  • Run the first pass and the two-account test before any other review work. They target the modes behind most of Escape's and GitGuardian's findings.
  • Pay for a deeper review only after the sheet exists, so the reviewer starts from evidence instead of rediscovering it.
  • If the app is already live, fix data exposure and confirm backups before adding features.
  • For the launch call itself, see Your Vibe-Coded MVP Works. Is It Safe to Launch?

Sources

  1. [1]Methodology: How we discovered over 2k high-impact vulnerabilities in apps built with vibe coding platforms (opens in a new tab)Escape, October 2025
  2. [2]OWASP Top 10 API Security Risks, 2023 (opens in a new tab)OWASP, 2023
  3. [3]The State of Secrets Sprawl 2026 (opens in a new tab)GitGuardian, March 2026
  4. [4]We Have a Package for You! A Comprehensive Analysis of Package Hallucinations by Code Generating LLMs (opens in a new tab)USENIX Security Symposium, August 2025
  5. [5]Gitleaks (opens in a new tab)Gitleaks project, November 2026
  6. [6]Row Level Security (opens in a new tab)Supabase, November 2026

Technical guidance, not legal or security certification.

Need a technical review of an AI-built MVP?

Discuss your build