Vibe-Coded App Security Checklist: 12 Things We Check Before Launch
Run them yourself, or hand the list to a developer you trust. Each one takes minutes to hours, not weeks.
Access and identity
1. Every API route checks who is calling
Open each server route or API handler. Find the line that reads the logged-in user from the session or token. If a route reads from the request body or query string and trusts it, anyone can act as anyone.
Test: log in as user A, copy a request from the browser network tab, change the ID to user B's, and send it again.
2. Database rules hold up with a second account
If you use Supabase, every table with user data needs Row Level Security enabled and a policy that compares the row's owner to . Firebase needs the equivalent in security rules. "RLS enabled" with a policy of does nothing.
Test: create two accounts. As A, query B's rows directly with the anon key from the browser console. You should get nothing back.
3. The service role key never reaches the browser
Search your built JavaScript bundle (not just the source) for , , , and any long random string. In Next.js, any variable starting with ships to the client. A service role key there bypasses every RLS policy you wrote.
4. Password reset and email change cannot be hijacked
Reset tokens must expire, work once, and belong to the account that asked. Changing the email address should require the current password or a confirmation to the old address.
Secrets and configuration
5. No secrets in git history
Deleting from the repo today does not remove it from history. Run and a scanner like gitleaks. If a key ever appeared, rotate it. Assume it is already public.
6. Admin routes are not reachable by guessing
AI tools often generate , or and protect them only by hiding the link. Request them directly as a normal user.
Money
7. Prices come from the server
If checkout sends from the browser and the server passes it to Stripe, a user can pay 1 cent. The server should look up the price by product ID.
8. Webhooks verify the signature and handle duplicates
Stripe and other providers sign webhooks. Verify the signature with the raw request body. Providers also retry, so the same event can arrive twice. Store processed event IDs and skip repeats, or a retry will grant a subscription twice.
Input and output
9. User input never reaches a query or HTML unescaped
Look for string-built SQL, , and markdown rendered without sanitising. File uploads need a type and size check on the server, not just in the file picker.
10. Rate limits on login, signup and anything that sends email or SMS
Without them, someone can brute-force passwords or run up your email bill overnight.
Operations
11. Errors reach a person
You need browser and server error monitoring with alerts going to a channel someone reads. Without it you learn about crashes from customers, or from a colleague who happens to use Safari. We wrote up .
12. You have restored a backup at least once
A backup you never restored is a guess. Restore last night's backup into a scratch database and check that the app runs against it.
How to prioritise what you find
Fix in this order:
- Anything that exposes another user's data (checks 1-3).
- Anything that loses or takes money (7-8).
- Leaked secrets (5), rotate first and clean up after.
- Everything else.
The good news: these are fixes, not rewrites. The app structure is usually fine; it is missing the production layer.
If you would rather have someone run the checks, write up the findings by severity and fix them in place, that is our . It starts with a free 30-minute repo health check.
FAQ
What services do we provide?
We specialize in creating innovative digital solutions including web development, mobile applications, CRM systems, and enterprise software. Our services are tailored to meet your specific business needs and drive growth.

Oleksii Stupak
CEO @ AleannLab
"Want to explore how we can help your business grow? Let's connect and discuss your project on LinkedIn."
Ready to discuss your project with us?




