What Breaks When Your Vibe-Coded App Gets Real Users
AI gets you to a working app in an afternoon. The demo is easy now. Real users find everything else. This post is the why: six things that break after the demo, and the habit that stops each. The launch checklist is the how, with checks you can run.
1. Fix one thing, break another
Every new prompt can rewrite code you thought was done. Without tests, you find out from your users.
The habit: commit before every prompt, keep tests for the flows that matter (signup, login, payments, your main feature), and tell the AI to run them after every change and not to edit tests to make them pass. How to ask for tests worth keeping: tests for people who do not write code. To write them before the AI codes, see TDD with an AI.
2. A secret key is in the browser
Moltbook’s whole database, 1.5M API keys included, was readable and writable by anyone because row level security was off, so the publishable key in its client-side code could reach every table (Wiz, Feb 2026). The publishable key is public by design; anything shipped to the browser is public, so the protection has to live server-side.
Anything shipped to the browser is public, so a secret key there is a breach. Some keys are meant to be public: a Supabase publishable or anon key is a project identifier, and Row Level Security (RLS) is what protects the data. A secret or service_role key is the dangerous kind.
The habit: secret keys live in server-side environment variables only. Search your live site’s JavaScript for sb_secret_, sk_live, rk_, sk-proj-, sk-ant- and service_role. For any long token that starts with eyJ, decode the middle part on your own machine (never in a website) and check for "role":"service_role":
node -e "console.log(JSON.parse(Buffer.from(process.argv[1].split('.')[1],'base64url')))" PASTE_TOKEN_HEREIf a secret key was ever exposed or committed, rotate it. Do not paste your secret keys into an AI chat either. Deeper: find leaked API keys.
3. Anyone can open your app
Security firm RedAccess scanned apps built with Lovable, Replit, Base44 and Netlify and reported more than 5,000 with virtually no security or authentication, roughly 40 percent of them exposing sensitive data (WIRED, May 2026, which verified several examples; the AI companies disputed parts of the claims). It is one firm’s scan, not a census. Also note that Moltbook, the case behind the Wiz report in Feb 2026, used the public key correctly: the missing piece was RLS, which left 1.5 million API authentication tokens readable and writable to anyone (Wiz, Hacking Moltbook). Logged in is not the same as allowed to see this record.
The habit: row-level rules on every table, and a test with two accounts. First create a row as A and confirm A can read it back (a real row, not an empty list: an unprotected empty table also returns []). Then, as B and as a logged-out visitor, try to read it and to insert a row you should not be allowed to; a blocked insert returns an error such as 42501, and a read that returns A’s row is the hole. Deeper: row level security explained.
4. It falls over at real traffic
No rate limits, no indexes, no logs. Then a viral day, or a runaway loop, turns into a bill nobody budgeted. No rate limits, no indexes, no logs. Then a viral day, or a runaway loop, can turn into a bill nobody budgeted.
The habit: rate limits on login, signup and anything that costs money; indexes on the columns you filter by; a budget alert, and a hard spending cap where the provider has one. Deeper: why your app gets slower with every new user. The quiet version of this failure is a page that makes one request per row: see N+1 queries.
5. Data you can’t get back
No backups, no staging, and an AI agent with access to production. One bad command is the whole database.
The habit: automatic backups you have restored at least once, a staging copy with its own database, and coding agents that only touch staging.
6. Nobody can debug or maintain it
Plausible-looking code you didn’t write and can’t explain. When it breaks, pasting the error back stops working.
The habit: ask for hypotheses, not fixes. Read the logs first, change one thing at a time, and decide how you’ll know it worked before you change anything. More on that in Stop pasting the error back.
Before you launch
The launch checklist turns these into 12 checks with a prompt you can paste. If you want to see how real traffic can show users each other’s data, read the Steam and ChatGPT postmortems. The Get AI Native ebook covers each in depth. It is free, and the expected launch is around Christmas.