Guides · Updated Oct 15, 2026 · By Lucy at KeySnare

Vibe-coded app security checklist: 12 checks before you launch

AI tools can build a working app in an afternoon, but they often skip security basics. Run through these 12 checks before you share your app with real users. Each one takes a few minutes.

The 12 checks

  1. No secret keys in browser code. Search your built site and repo for sk_, sk-, service_role and private keys. Secret keys belong only in server code.
  2. No secrets in public env variables. NEXT_PUBLIC_, VITE_, REACT_APP_ and EXPO_PUBLIC_ values are visible to everyone.
  3. .env is gitignored and was never committed. Check .gitignore and your GitHub history. If a key was ever committed, rotate it.
  4. Supabase: RLS on every public table. Enable Row Level Security and add per-user policies. Check the Security Advisor.
  5. Firebase: no open or test-mode rules. No "allow read, write: if true" and no date-based test rules in production.
  6. Every API route checks who is logged in. Admin pages and API endpoints must verify the user on the server, not just hide buttons.
  7. Users can only access their own data. Check that changing an ID in the URL or request does not reveal someone else's records.
  8. No SQL built from user input. Use parameterized queries or your ORM, never string concatenation.
  9. Dependencies are up to date. Run npm audit (or your package manager's equivalent) and upgrade packages with known vulnerabilities.
  10. CORS is not wide open on private APIs. Avoid Access-Control-Allow-Origin: * with credentials or on private endpoints.
  11. Paid APIs have rate limits. Limit how often each user or IP can call endpoints that cost you money.
  12. Rescan after every big AI change. AI tools can reintroduce old mistakes. Scan again before each launch.

Prefer a printable version? Get the free one-page PDF checklist.

Where to go deeper

Copy-paste prompt for your AI coding tool

Paste this into Cursor, Claude, Lovable, Bolt or whichever AI built your app:

Act as a security reviewer for this app before launch. Go through these checks and report pass/fail with file locations: secret keys in browser code or public env variables; .env committed to git; Supabase RLS or Firebase rules; authentication on every API route and admin page; users accessing other users' data by changing IDs; SQL built from user input; vulnerable dependencies; wildcard CORS; rate limits on paid API calls. Then fix each failure with the smallest safe change and explain it in plain English.

Check your repo in about a minute

Paste a public GitHub repo into KeySnare for a free grade and your top 3 issues, each with a copy-paste AI fix prompt.

Run a free scan →

FAQ

Do I need to be a developer to use this checklist?

No. Each check is written in plain English, and the copy-paste prompt lets your AI tool do the technical work.

Is passing this checklist enough for a secure app?

No checklist guarantees security. It covers the most common mistakes in AI-built apps. Apps handling payments, health or other sensitive data should get a professional review.

How often should I run these checks?

Before every launch and after big AI-generated changes, since AI tools can reintroduce problems.

Can KeySnare run these checks for me?

KeySnare automatically covers leaked keys, public env secrets, Supabase migrations without RLS, Firebase open rules, SQL injection patterns, missing auth patterns, wildcard CORS and vulnerable packages. Checks like rate limits and access to other users' data still need a manual review.

More guides: Is my Supabase app safe? How to check Row Level Security · How to hide API keys in Lovable, Bolt and Cursor apps · How to check your Firebase security rules before launch · NEXT_PUBLIC_ and VITE_ variables: why your secret keys are public