ShipGuardScan a site

Vibe-Coded App Security Checklist (Lovable, Bolt, Cursor, v0, Replit)

Updated 2026-10-26

AI tools write working code fast, and working is not the same as locked down. The problems we see most in passive scans of AI-built apps are not exotic: no HSTS, no CSP, browser code that writes straight to the database, and the occasional public source map or leaked key. Use this list before you post your launch link.

Secrets

Search the deployed JavaScript, not just your repo, for secret key prefixes. Anything prefixed VITE_ or NEXT_PUBLIC_ is bundled into the browser. Move third-party calls that need a secret into a server route or Edge Function.

curl -s https://your-app.com/ | grep -oE 'src="[^"]+\.js"' | sed 's/src="//;s/"//' | while read p; do curl -s "https://your-app.com$p"; done \
  | grep -oE "sk_live_[A-Za-z0-9]{6}|sk-proj-[A-Za-z0-9]{6}|sb_secret_[A-Za-z0-9]{6}|service_role" | sort -u

Database access rules

If the browser talks to Supabase or Firebase directly, your Row Level Security policies or Security Rules are the access control. Inventory the tables your client writes to and check each one.

Public files and headers

Make sure /.env, /.git/ and .js.map files are not served. Add HSTS, a Content-Security-Policy, X-Content-Type-Options: nosniff and frame protection on your custom domain.

Auth and abuse

Restrict auth redirect URLs to your domains, confirm emails if identity matters, enforce roles on the server or in the database (not by hiding buttons), and rate-limit anything that costs money, such as AI calls and email sends.

What a passive scan covers

A passive scan like ShipGuard's free one checks what your site serves to every visitor: leaked keys in bundles, public config files and source maps, security headers, and which Supabase tables your client code calls. It cannot see server code, your RLS policies or business logic, so pair it with the database tests above.

Checklist

  • No secret keys in the deployed JavaScript
  • Secrets live in server routes / Edge Functions
  • RLS or Security Rules verified on every table the client writes to
  • Storage buckets private unless meant to be public
  • /.env, /.git and .js.map return 404
  • HSTS enabled on the custom domain
  • Content-Security-Policy enforced (report-only first is fine)
  • nosniff and frame-ancestors / X-Frame-Options set
  • Auth redirect URLs restricted; roles enforced server-side
  • Rate limits on AI and email endpoints
  • Backups / point-in-time recovery understood

Copy-paste fix prompt

Run a pre-launch security pass on this app: list any secret keys or VITE_/NEXT_PUBLIC_ variables holding secrets in client code, every database table the browser writes to with its access rules, any public .env/.git/source map exposure, missing security headers (HSTS, CSP, nosniff, frame-ancestors), auth redirect settings, and endpoints without rate limits. Propose a fix for each, starting with the highest risk.

FAQ

Which tool is most secure: Lovable, Bolt, Cursor, v0 or Replit?

The tool matters less than the review. Each can produce a secure app, and each can ship the same mistakes: client-side secrets, missing access rules and missing headers.

How long does this checklist take?

Usually under an hour for a small app. The database rules take the longest and matter the most.

Will a good scan grade mean my app is secure?

No. It means none of the passive checks failed. Server logic and database policies still need their own review.

Check your deployed app in seconds

Free passive scan: leaked keys, Supabase exposure, public config files and headers.

Run a free scan