Your Vibe-Coded MVP Works. Is It Safe to Launch?
A demo proves the happy path works once. Launch readiness means other users' data, money, secrets and backups hold when requests are hostile, repeated or failing.
4 min read / Updated / Last checked
- Format
- Guide · Beginner
- Who it is for
- Non-technical founders
- You leave with
- Separate launch blockers from enhancements, run the cross-user test yourself, and know what a technical audit must add.
The problem
In September 2026, researchers published the fourth revision of "Understanding the (In)Security of Vibe-Coded Applications" on arXiv. They collected 9,041 open-source apps built with Claude Code and Lovable, randomly sampled 200 that had public deployments, and confirmed 1,186 exploitable vulnerabilities through agent-assisted audits followed by review from two security-trained authors. 91.0% of the audited apps had at least one [1].
That is a sample of public GitHub projects, not a measure of every vibe-coded product. It still describes what a founder is likely to inherit. The app works, the screens are right, and the defects sit where screens do not reach. Broken access control was the largest category, found in 64% of the audited apps. One failure mode the authors name is demo-oriented design: stub authorization, placeholder encryption and static demo keys, built in because they made the demo work [1].
A founder with a working MVP and a launch date has a narrow question. Which defects must be fixed before real users arrive, and which can wait for the next sprint? Answering it needs a rule for what counts as a blocker, one test the founder can run, and a clear line where a technical audit takes over.
How it works
A launch-ready MVP holds three properties that a demo never tests.
Access holds when the request is hostile. Authentication answers who is calling. Authorization answers whether that caller may touch this record. A logged-in user who edits /api/bookings/1042 to /api/bookings/1043 tests the second one. OWASP's Authorization Cheat Sheet asks for permission checks on every request, deny by default, and checks made in the right location, which means the server [2]. A hidden button or a hard-to-guess ID is not a check. When the browser talks to the database directly, as many Supabase apps do, row-level security is the check. Supabase's documentation says to enable it on every table in an exposed schema, and a secret key using the service_role bypasses it [3]. That key must never reach the browser.
State holds when requests repeat or partners fail. A double-clicked pay button, a mobile retry or a webhook delivered twice must not create a second charge or booking. Calls to the AI provider, email or payments need timeouts, bounded retries and an error state the user can see. Unbounded endpoints also cost money: OWASP lists unrestricted resource consumption, including higher bills from per-request services, among its top API risks [4].
Data survives mistakes. A backup restored at least once, a written rollback for deploys, and an alert that reaches a named person.
The Canadian Centre for Cyber Security warns that developers using generative AI may add insecure and buggy code by leaving out or mis-implementing error handling and security checks, and advises validating AI output before acting on it [5]. A launch gate is that validation, applied to the whole app.
Five ways a working MVP fails after launch
Fig. 01- User edits a record ID in the requestOwnership check on every server route
- Privileged key read from the browser bundleKey kept server-side, exposed keys rotated
- Retry or double click repeats a paymentIdempotency key and a database constraint
- Script hammers a paid AI endpointPer-user rate limit and billing alert
- Bad migration corrupts production dataBackup restored and tested before launch
By the numbers
- of 200 audited, publicly deployed vibe-coded apps had at least one confirmed vulnerability [1]
- 91.0%
- confirmed vulnerabilities across those 200 apps [1]
- 1,186
- of the audited apps had broken access control [1]
- 64%
- of the confirmed vulnerabilities were rated Critical or High [1]
- 65.77%
| Area | Launch blocker | Can wait |
|---|---|---|
| Access | User B reads or changes user A's data (API1) | Finer roles for a future team plan |
| Admin | Ordinary user reaches an admin action (API5) | Admin audit log screen |
| Secrets | Privileged key in client code or git history | Moving keys into a secrets manager |
| Money and state | A retry creates a second charge or booking | Refund workflow polish |
| Spend | Paid AI endpoint with no per-user limit (API4) | Usage dashboards per plan |
| Recovery | No backup has ever been restored | Automated restore drills |
| Product | None | Copy, layout, speed under light load |
The numbers say where to spend the first day. Access control failed in nearly two thirds of the sampled apps, and roughly two in three confirmed issues were rated Critical or High. A founder with one day before launch should spend it on the access row, then secrets, then money.
The rule behind the table fits in one sentence.
A defect is a launch blocker when it can expose another user's data, move money wrongly, leak a privileged secret or lose data that cannot be restored. Everything else is an enhancement, however visible.
Implementation
Work in two passes. First, a founder review with the builder: fill the checklist below together, mark each row as a blocker or not, and attach evidence. Second, a technical audit for every row that ends up "unknown", plus the work a checklist cannot do: reading the authorization code, reviewing dependencies and walking through abuse cases specific to your product.
# Launch checklist: <app>, <date>
A row is done only when the Evidence column links to proof.
| # | Control | Blocker | Evidence (link) | Owner | Status |
|---|---|---|---|---|---|
| 1 | User B cannot read, change or delete user A's records | Yes | Cross-user test run | | |
| 2 | Ordinary user gets 403 on every admin route | Yes | Test output | | |
| 3 | Row-level security on every exposed table | Yes | Policy list and test | | |
| 4 | No privileged key in client bundle or git history | Yes | Secret scan report | | |
| 5 | Any key ever exposed has been rotated | Yes | Provider screenshot | | |
| 6 | Payment and booking writes are idempotent | Yes | Repeat-request test | | |
| 7 | Paid API routes have per-user limits and a billing alert | Yes | Config and alert test | | |
| 8 | External calls time out and show an error state | No | Test with provider mocked down | | |
| 9 | Backup restored into a separate environment | Yes | Dated restore log | | |
| 10 | Deploy rollback written and tried once | No | Runbook link | | |
| 11 | Error alerts reach a named person | No | Test alert receipt | | |
| 12 | Logs hold no passwords, tokens or card numbers | No | Log sample review | | |
Accepted risks at launch (owner, reason, date to revisit):
-Rows 1 to 7 and row 9 follow the blocker rule. Rows 8, 10, 11 and 12 can ship as "No" if they have an owner and a date. For most products, add privacy and domain-specific items, such as health or payment card rules, that this list does not cover.
Test it
Row 1 is the test a founder can run without reading the code. Run it only against an app you own or are authorized to test, on a staging copy with two seeded accounts.
import { describe, it, expect, beforeAll } from "vitest";
// Staging only. Two test accounts, tokens supplied through the environment.
const BASE = process.env.BASE_URL!;
const A = process.env.TOKEN_USER_A!;
const B = process.env.TOKEN_USER_B!;
const api = (token: string, path: string, init: RequestInit = {}) =>
fetch(`${BASE}${path}`, {
...init,
headers: { "Content-Type": "application/json", Authorization: `Bearer ${token}` },
});
describe("user B cannot touch user A's booking", () => {
let id: string;
beforeAll(async () => {
const res = await api(A, "/api/bookings", {
method: "POST",
body: JSON.stringify({ slot: "2026-12-01T10:00:00Z", note: "private note A" }),
});
expect(res.status).toBe(201);
id = (await res.json()).id;
});
it.each([
["GET", undefined],
["PATCH", JSON.stringify({ note: "changed by B" })],
["DELETE", undefined],
])("%s by user B is denied", async (method, body) => {
const res = await api(B, `/api/bookings/${id}`, { method, body });
expect([403, 404]).toContain(res.status);
expect(await res.text()).not.toContain("private note A");
});
it("user A still sees the booking, unchanged", async () => {
const res = await api(A, `/api/bookings/${id}`);
expect(res.status).toBe(200);
expect((await res.json()).note).toBe("private note A");
});
});Adapt the paths and the token step to your app. Expected result: all three requests from user B return 403 or 404, no response body contains user A's note, and user A's booking is still there with its original note. A 404 is often the better answer, since it does not confirm the record exists. If any request from B succeeds, that is a launch blocker under row 1, and the fix belongs on the server, not in the interface. Add the test to CI so it reruns on every change to authentication.
Decision
Do not launch to real users with a confirmed blocker from the table. Launch with open enhancements, each with an owner and a date.
- Spend the first review day on access, secrets and money, in that order. Access control was the largest category in the sampled apps [1].
- Run the cross-user test before paying for anything else. It is one file, and it checks the most common failure in the sample directly.
- Commission a technical audit when any blocker row is "unknown" or the product handles health, financial or children's data.
- Keep the checklist in the repository and update it each release. For the full inspection list behind it, see The 12 Failure Modes of AI-Built MVPs.
Sources
- [1]Understanding the (In)Security of Vibe-Coded Applications (opens in a new tab)arXiv (Deng, Fan, Meng), September 2026
- [2]Authorization Cheat Sheet (opens in a new tab)OWASP Cheat Sheet Series, November 2026
- [3]Row Level Security (opens in a new tab)Supabase, November 2026
- [4]OWASP Top 10 API Security Risks, 2023 (opens in a new tab)OWASP, 2023
- [5]Generative artificial intelligence (AI), ITSAP.00.041 (opens in a new tab)Canadian Centre for Cyber Security, December 2025
Technical guidance, not legal or security certification.
Related resources
Need a technical review of an AI-built MVP?
Discuss your build