Home / Guides / Fix it and prove it: a security workflow for vibe coders

Fix it and prove it: a security workflow for vibe coders

Scan, fix with AI prompts, re-scan, and only then ship — so the AI does not quietly undo your hardening.

Check your live site

Run the free ShipLatch scan on your own site without leaving this page.

Uses 1 of your 3 free scans today; a site scanned in the last 24 hours answers from that scan. Passive and read-only: we only look at what any browser can see. Only check sites you own or may test.

What the free scan checks

  • Leaked keys in your live JavaScript (AI, payment and cloud keys), including a Supabase service_role key
  • Files that should never be public, like /.env and /.git
  • Supabase and Firebase secrets in the browser: an sb_secret_ key, a Supabase access token or a Firebase service-account file
  • HTTPS and security headers (CSP, HSTS, clickjacking protection)

It only reads what any visitor's browser can see. It doesn't log in, read your tables or check App Check.

The failure mode we see most: you ask the AI to lock something down, it says done, and three prompts later it reintroduces the bug while building a feature.

  1. Scan the live URL (passive checks for keys, .env, .git, headers).
  2. Fix with a specific prompt — one issue at a time.
  3. Prove with a re-scan before you tweet the launch link.
  4. Pin a rule in Lovable Knowledge / .cursorrules / Bolt project prompt so secrets and RLS stay locked.
Copy-paste into your AI builder
Add a standing project rule: Never put secret API keys in frontend code. All paid API calls go through a server function. Every database table must have RLS enabled with auth.uid() policies. Do not remove these rules.

Related: Hide API keys · Is my Lovable app secure?

Scan your app free

Paste your URL. ShipLatch checks for leaked keys, exposed /.env and /.git, and flags Supabase/Firebase so you know what to lock down. The free scan finds the issues; the $29 Fix Pack gives you fix prompts written for your app and re-scans that prove each fix worked.

Scan free at shiplatch.com → See the Fix Pack

Want the whole pre-launch process in one place? See what's inside App Security for Vibe Coders, our $9 PDF playbook, or go straight to checkout.

More guides