Is Your Vibe-Coded App Safe to Launch? 14 Checks Nobody Tells First-Time Founders About
Founder & CTO, Buttercloud
You built it. Maybe in three weeks, maybe in a weekend, with Cursor or Claude or Lovable or Bolt. It works. People on the waitlist are about to put their names, their files and their card numbers into it.
Here is the uncomfortable part. The code is probably fine. What is usually not fine is everything around the code: the database rules, the secrets, the domain, the backups, the way it gets deployed. Those are not things an AI tool sets up for you, and they are not things a first-time founder knows to ask about until something goes wrong.
The term vibe coding is less than two years old. Andrej Karpathy coined it in a post in February 2025 to describe building software by talking to a model and not reading the code. Within a year the practice had shipped tens of thousands of real applications, and the security researchers caught up. Escape.tech scanned more than 5,600 publicly deployed vibe-coded apps and found over 2,000 vulnerabilities, more than 400 exposed secrets, and 175 instances of exposed personal data. A separate scan of Lovable-built apps found database row-level security switched off across the sample, which was serious enough to be assigned CVE-2025-48757. In February 2026, The Register reported a researcher’s claim that one Lovable-hosted app exposed the data of around 18,000 users.
None of that means you should not launch. It means you should run fourteen checks first. Here they are, grouped by where they live, each with the fix. Most take minutes. A couple take an engineer.
Part 1: The App
1. It answers over HTTPS, and plain http redirects to it
Open your app with http:// instead of https://. It should redirect to the secure version, not load. Most hosts have a one-click “always use HTTPS” setting. Turn it on. If you manage the server yourself, add the redirect at the edge.
2. Browsers are told to stay on HTTPS
Add the header Strict-Transport-Security: max-age=31536000; includeSubDomains. It tells browsers never to try the insecure version again. Most hosts and frameworks have a setting for it.
3. Basic security headers are set
Two headers stop whole classes of attack for free. X-Content-Type-Options: nosniff and X-Frame-Options: DENY (or a frame-ancestors content security policy). Without the second one your app can be loaded inside someone else’s page and your users tricked into clicking things. If your framework has a security-headers helper, use it.
4. The stack is not advertised
Remove the X-Powered-By header. In Next.js it is one line: poweredByHeader: false. Telling the world exactly which framework and version you run makes you easier to attack and buys you nothing.
5. Your secrets file and your git folder are not served
Open yourapp.com/.env and yourapp.com/.git/config in a browser. Both should return an error. If either returns content, you have just published your keys. Block the paths at the host, then rotate every key in that file, because anything that was readable should be assumed read.
6. Unknown pages return a real 404
Open a made-up path. It should return a 404 status, not a 200 with a friendly page. Soft 404s confuse search engines and uptime monitors, and they hide broken links from you.
7. The home page answers in under two seconds
Load it from a phone on mobile data. If it takes longer, the usual causes are a cold start on a serverless host, a slow first database query, or images that were never resized. Fix the slowest one. First impressions on launch day are made in the first two seconds.
Part 2: The Database
This is where vibe-coded apps actually get hurt.
8. Row-level security is on for every table with user data
Many AI-built apps talk to the database straight from the browser using a public key. That is a legitimate design, but it means the database’s own access rules are the entire security model. If row-level security is off, anyone with the public key, which is everyone, can read every row.
Open your database dashboard and check every table that holds user data. Row-level security should be enabled, with a policy that says users can only read and write their own rows. Supabase documents exactly how in its row-level security guide. AI tools generate table creation SQL and almost never add the ENABLE ROW LEVEL SECURITY line. You have to.
9. The service key is not in the client
There are two kinds of database key: the public one that is safe in a browser because row-level security limits it, and the service key that bypasses every rule. The service key belongs on the server only. Search your frontend code and your built JavaScript for it. If it is there, rotate it today.
10. Backups exist, and you have restored one
Every managed database offers backups. Fewer founders have ever checked that theirs are turned on, and almost none have restored one. Restore the latest backup to a fresh copy, not to production, and time it. If you cannot do it, you do not have backups. Write down the steps while they are fresh, and repeat the exercise every quarter.
Part 3: The Domain
Your app will send email: sign-ups, password resets, receipts, the launch announcement. Whether those emails arrive depends on three DNS records most founders have never heard of.
11. SPF says who may send email for your domain
A TXT record on your domain that lists your email provider, ending in ~all. Without it, receiving servers have no way to know your provider is allowed to send as you. If yours ends in +all, change it: that version allows anyone to send as you.
12. DKIM signs your outgoing mail
Your email provider gives you a DNS record to add; it lets receivers verify the message was not altered. Check it is actually published, not just generated in the provider’s dashboard.
13. DMARC exists, and is not stuck on monitoring
A TXT record at _dmarc.yourdomain.com. Start with v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com so you receive reports. Once the reports look clean, move to p=quarantine, then p=reject, so spoofed mail from your domain is actually blocked. Google’s sender guidelines require SPF, DKIM and DMARC for bulk senders and recommend them for everyone. If your launch email goes to a few thousand people, you are a bulk sender for the day.
Part 4: The Repository
14. No secrets are committed, and the repository is private
Search the repository history, not just the current files, for .env, API keys and anything that starts with sk_live. A key committed once stays in history until the history is rewritten, so the fix is remove, rotate, then rewrite. Turn on GitHub’s secret scanning so it does not happen again. And check the repository is private. A surprising number of launch-day apps are not.
While you are in the repository, three more things that are not security but will save you in month two: a lockfile so every deploy installs the same versions, at least a handful of automated tests covering sign-up and payment, and a README that says how to run the thing. The person who reads that README next may be the engineer you hire, or you at 2am.
The Checklist, in One Place
| # | Check | Where | Minutes |
|---|---|---|---|
| 1 | HTTPS, with http redirecting | App | 5 |
| 2 | HSTS header | App | 5 |
| 3 | nosniff and frame protection headers | App | 10 |
| 4 | X-Powered-By removed | App | 2 |
| 5 | .env and .git not served | App | 5, plus rotation |
| 6 | Real 404s | App | 10 |
| 7 | Home page under two seconds | App | 30 to 120 |
| 8 | Row-level security on every user table | Database | 30 to 120 |
| 9 | Service key not in the client | Database | 15, plus rotation |
| 10 | Backups exist and one has been restored | Database | 30 to 60 |
| 11 | SPF | Domain | 10 |
| 12 | DKIM | Domain | 10 |
| 13 | DMARC, moving to enforcement | Domain | 10, then weeks of reports |
| 14 | No secrets in the repository, repository private | Repository | 30, plus rotation |
An afternoon for most of it. Numbers 8, 9 and 14 are the ones to get an engineer’s eyes on if you are not sure, because they are the ones that end up in The Register.
What This List Does Not Cover
It does not cover the code itself: the logic, the edge cases, the OWASP Top 10 classes of vulnerability that depend on how your app handles input. That needs a review by someone who reads code for a living, ideally on every change rather than once. It also does not cover what happens after launch: monitoring, alerts, rollback, and the slow accumulation of technical debt that every fast-built product carries.
Those are the next conversation. If you are deciding whether that conversation is with a hire, a co-founder or a partner, our guide on when a startup needs a CTO walks through the options. If you want the operations side handled without a hire, that is what DevOps as a service is for.
The Honest Summary
Vibe coding did not create a new kind of security problem. It created a new kind of founder: one who can build a product without ever having set up a database policy, a DNS record or a backup. The tools are not going to do those for you. Someone has to check.
Run the fourteen. Fix what fails. Then launch, and sleep.
Vibe-Coded App Launch FAQs
Is vibe coding safe for production apps? The code AI tools write is usually fine. What is unsafe is the set of defaults around it: database access rules left off, secrets committed to the repository, no environments, no backups, no monitoring. Those are not coding problems, they are operations problems, and they are fixable in a day or two if someone checks for them before launch.
What is the most common security mistake in AI-built apps? Leaving database row-level security off. Many AI-built apps query the database directly from the browser, so the access rules in the database are the entire security model. Researchers scanning Lovable-built apps in 2025 found row-level security simply disabled across a large sample, which meant anyone with the public API key could read the whole database. It was assigned CVE-2025-48757.
Do I need DMARC if my app sends email? Yes. Google’s sender guidelines require SPF, DKIM and DMARC for anyone sending 5,000 or more messages a day to Gmail, and recommend them for everyone. Without them your sign-up and password-reset emails are more likely to land in spam, and anyone can send mail that looks like it came from your domain.
How do I know if my backups work? You restore one. A backup that has never been restored is a hope, not a backup. Restore to a copy, not to production, time it, and write down the steps. Do it again every quarter.
Can I do these checks myself? Most of them, yes, in an afternoon, and this article gives you the fix for each. The ones that need an engineer are reading the repository for secrets and reviewing the database access rules. If you would rather have someone run the whole list and hand you the results, that is what a fractional CTO or DevOps partner is for.
Have a product idea to talk through?
We'll show you how we'd approach it — no pressure, just a real conversation.
Book a Discovery Call