← Articles

Is Your Vibe-Coded App Secure? What to Check Before You Launch

1 December 2026 · Wednesday

Your vibe-coded app is ready to launch when secret keys live only on the server, every table lets each user see only their own data, sign-ups and costly actions have limits, and you've restored a backup once. Wednesday's Do it yourself plan gives your AI tool the playbooks that run these checks for you.

What actually matters for security in a vibe-coded app?

Who can read and change which data. That's where almost every real problem in an app built with Lovable, Bolt, Replit or Cursor comes from, and it's also the number one risk on OWASP's Top 10 for 2025, which ranks broken access control first.

The reason is simple. Builder tools put a database like Supabase behind your app and let the browser talk to it directly. That's fast to build with, and it means your database rules are your security. If a rule is missing, anyone who opens the browser's developer tools can ask your database for every row.

Supabase says this plainly in its docs on Row Level Security. A table in an exposed schema without it "is readable and writable by any role with a grant on it", and the advice is to enable it on every table in an exposed schema. Turn it on and add the right rules, and the same direct connection that made building fast becomes safe to ship.

Do builder tools handle this for me?

They give you the switches. Flipping them is on you. A 2025 public security advisory, CVE-2025-48757, described Lovable apps whose database rules let people who weren't signed in read or write tables. Lovable disputed the record on the grounds that each customer of the platform takes responsibility for protecting their own app's data.

That's the useful part to take away. Your builder makes building quick, and you decide what's protected. The good news is that the checks are short, and your AI tool can run most of them for you once you ask in the right order.

What should I check before launch?

Run these five checks. Each one is quick to test, and your AI tool can make most of the fixes.

What could go wrong How to check How to fix it
Secret keys in the browser Search your code and your live site's files for "secret", "service_role" and "sk_" Move the key to a server function and rotate it, since the old one has been seen
Open database rules Sign in as a second account and try to load the first account's rows, in the app and through the API Turn on Row Level Security for every table and give each row an owner
Rules that let everything through Read each policy and look for ones that say "true" with no user check Rewrite them so each row matches the signed-in user's ID
No limits on sign-ups, forms or AI calls Submit the same form 50 times in a minute and watch what happens Add limits on the server and a check that a real person is signing up
No backups, or backups you've never restored Restore last night's backup into a test project Turn on daily backups and do a restore once a month

Work through them in order. Keys and open tables come first because they expose the most, and limits come next because an AI feature with no cap can run up a bill overnight.

Payment is worth a sixth look. Make sure the price and the plan a user gets are decided on the server, never sent from the browser, so nobody can change them before checkout.

How do I prove users can't see each other's data?

Sign in as someone else. Create two accounts, add some data as the first, then sign in as the second and try everything. Open each page, change IDs in the address bar, and ask the database for the first account's rows directly. If nothing comes back, the rules hold.

Do this again every time you add a table. New tables are where gaps come back, because the AI builds the feature and forgets the rule. If your app keeps breaking whenever you change things like this, how to make a vibe-coded app ready for real users shows how to put tests around your main paths first.

Case study · US personal finance startupEvery bank, fund and crypto account in one app, with bank-grade security from launchRead how

How do I run all this with my AI tool this week?

Give your AI one job at a time, and ask it to prove each one.

  1. Day one. Ask it to find every secret in your code and your project's history, list where each one is used and move them to server functions. Rotate every key it found.
  2. Day two. Ask it to list every table, show which ones have Row Level Security off, and add rules that give each row an owner.
  3. Day three. Make your second account and run the sign-in-as-someone-else test yourself. Send anything that leaks back to the AI.
  4. Day four. Add limits to sign-up, password reset, forms and any feature that calls an AI model.
  5. Day five. Turn on backups and restore one into a test project. Then launch.

The free Wednesday job page for locking down your database does days two and three for you. You connect Wednesday to Claude Code, Claude, ChatGPT, Cursor or another AI tool with one Google sign-in, paste one line, and it checks every rule, gives each row an owner, and proves it by signing in as a second user. Then it reviews each change for correctness and security before it calls the job done.

If you'd like your team to keep that standard on every change after launch, how to keep quality high when your team codes with AI covers the routine.

What does a secure app let me do next?

Say yes to bigger customers. Once every row has an owner, you can add team accounts, shared workspaces and admin views on rules you've already watched hold up. When a larger client asks how your app protects their data, you can show them.

We build our own products this way. Off Grid AI runs its AI entirely on the user's device, so nothing a user types reaches a server, and it has grown to 300,000 users across seven platforms with every build tested before it ships. The design principle behind it is in the Off Grid AI case study.

"The only guarantee is architecture, not policy." Wednesday on-device AI design principle

Your app doesn't need to run on-device to follow the same idea. Put the protection in the database rules and the server, where no prompt can quietly undo it, and you can ship new features every week knowing the base holds. If you'd rather someone else take it from here, who can finish an app you built with AI? compares your options.

Do it yourself, free

Connect the Wednesday MCP to the AI you already use and run the free playbooks. When you want every playbook, the Do it yourself plan is $199/mo for at least four months and gives you the AI that grew Off Grid AI, Chime and Right Suite to high six figures in revenue, 300,000+ users and 40,000+ organic visitors a month in the last five months.

Questions

Is my vibe-coded app secure enough to launch?

It is when four things hold. Secret keys live only on the server, every table has rules so each user sees only their own rows, sign-ups and costly actions have limits, and you've restored a backup at least once.

Is it safe that my Supabase key is in the browser?

The public key is meant to be there, as long as Row Level Security is on for every table. Supabase's own docs say never to put a secret key in the browser or expose it to customers.

How do I test that users can't see each other's data?

Make two accounts. Create data as the first, sign in as the second and try to load the first account's records through the app and through the database API. If anything comes back, a rule is missing.

Does Lovable or Bolt make my app secure for me?

The builder gives you the switches, and you own how your app's data is protected. Run the checks in this article yourself before launch.

Can Wednesday help me lock my app down myself?

Yes. Wednesday's Do it yourself plan, $199/mo for at least four months, gives your AI tool the playbooks that check every database rule, move keys to the server and prove it from a second account.

Keep reading

All articles →

Let's grow your business

Tell us about your business, and we'll call you if it's a fit.

How do you want to work with us?
Stage of the business