Dev.to AI 🤖 Ai 👁 0 📖 1 min read

Security checklist before launching a vibe-coded app: 18 checks for Lovable, Bolt, Replit, Cursor and v0

Before you launch an app built with Lovable, Bolt, Replit, Cursor or v0, spend 20 minutes on the things that most often go wrong. This list is about what a stranger can see once the app is live. Keys and secret

Before you launch an app built with Lovable, Bolt, Replit, Cursor or v0, spend 20 minutes on the things that most often go wrong. This list is about what a stranger can see once the app is live.

Keys and secrets

  1. Search the deployed JavaScript for sk-, sk_live_, AKIA and Supabase JWTs with "role":"service_role". None should be there.
  2. Make sure only publishable keys (Stripe pk_, Supabase anon) are in the browser.
  3. Move every secret to a server function or server-side environment variable.
  4. If a secret was ever pasted into a chat, committed, or shown in a screenshot, rotate it.

Data access

  1. Supabase: Row Level Security on for every table with user data. No USING (true) on private tables.
  2. Firebase: no allow read, write: if true. Rules should check the signed-in user and ownership.
  3. Storage buckets: private by default. Public only where you mean it.
  4. Test with two accounts. User B must not read user A's rows.

Public files

  1. /.env, /.git/HEAD and other config files return 404, not contents.
  2. Production source maps are off, or not served publicly.

Browser settings

  1. HTTPS only, with a redirect from HTTP.
  2. Security headers: a CSP, HSTS, frame-ancestors or X-Frame-Options, X-Content-Type-Options.
  3. CORS limited to your own origins. No wildcard with credentials.

Server logic

  1. Admin routes check the user's role on the server, not only in the UI.
  2. Prices and permissions come from the server. A browser that sends the price can send $0.
  3. Payments are confirmed by webhook, not by a success page.

After launch

  1. Set spend limits on AI and email APIs.
  2. Recheck after each significant release. AI tools change code with every prompt, and a clean launch can regress.

A scan from outside covers items 1 to 3, 5 to 6 (signals only), 9 to 13. It cannot cover server logic or logged-in behavior, so items 8 and 14 to 16 need your own testing.

Free read-only checks for a site you own: https://proofforge.live/tools . Builder-specific guides: https://proofforge.live/check . Full free scan: https://proofforge.live

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.