Vibe coding security checklist: a free pre-launch kit for AI-built apps
Short answer: before you launch an app built with Lovable, Cursor, Bolt or Replit, check five things in the code: no secret keys behind a VITE_ or NEXT_PUBLIC_ name, Row Level Security on every public table, a caller check in every server function, verified payment webhooks and limits on AI features. The free Liquid pre-launch kit below does a first pass for you in under a minute. It reads your code only, so finish with a check of the live site.
The checklist
| Check | What goes wrong | What good looks like |
|---|---|---|
| Secrets in the browser | A secret key named VITE_... or NEXT_PUBLIC_... ships to every visitor | Only publishable keys in the browser; secret keys in server code |
| Row Level Security | A table without RLS, or with a using (true) policy, can be read or changed with the public key | RLS on every public table, rows tied to auth.uid() |
| Server functions | An Edge Function or API route runs for anyone who calls it | Each function checks who is calling and that they own the record |
| Payments | Prices or plans taken from the browser; webhooks not verified | Prices decided on the server; webhook signatures verified |
| AI features | User text drives a model that can send email, write data or spend money without limits | Allowed tools, per-user rate limits and a spending cap |
Option 1: Ask your AI coding agent (skill)
The Liquid pre-launch skill is a set of instructions for Claude Code, Cursor and other agents that support skills. It tells the agent to review the checklist above, read-only, without printing any secret, and to report each lead with a file, line and fix. Download it into your project:
mkdir -p .claude/skills/liquid-prelaunch-check
cd .claude/skills/liquid-prelaunch-check
curl -fsSLO https://liquidplatform.org/skills/liquid-prelaunch-check/SKILL.md
curl -fsSLO https://liquidplatform.org/skills/liquid-prelaunch-check/check.mjsThen ask your agent: "Run the liquid-prelaunch-check skill on this project."
Option 2: Run the scanner yourself
The scanner is one file with no dependencies. It needs Node 18 or newer and reads your files only. It never prints secret values, only the file, line and type of key:
curl -fsSLo liquid-check.mjs https://liquidplatform.org/skills/liquid-prelaunch-check/check.mjs
node liquid-check.mjs .It looks for known secret key formats, secret-looking names behind a browser prefix, the Supabase service_role key in browser code, server variables in a committed .env, public tables created without RLS, policies that allow everyone to write, and Edge Functions with no visible caller check. You can read the file before running it.
For other free tools that cover what this scanner does not, such as dependency audits and header graders, see the Awesome Vibe Coding Security list.
Option 3: Check every pull request (GitHub Action)
Save this workflow as .github/workflows/liquid-prelaunch.yml. It runs the same scanner on every pull request and fails the run when it finds a high-severity lead, so a new secret or an open table is caught before it is merged. No account or token is needed.
What the kit cannot see
All three options read your code. They cannot confirm what is live: the policies actually applied to your database, settings changed in a dashboard, endpoints your hosting exposes, HTTPS and security headers, or email DNS records. A finding is a lead to review, not proof of a leak, and no finding does not mean the app is safe. This kit is not a penetration test.
FAQ
Is the kit really free?
Yes. The skill, the scanner and the workflow are free to use and MIT licensed. There is no signup and nothing is uploaded.
Does it send my code anywhere?
No. The scanner runs on your machine or in your own GitHub Actions run and reads files locally. Your agent reads the skill the same way.
My scan is clean. Am I safe to launch?
Not necessarily. The scan only sees code patterns. Check the live site too, and review authorization by hand: whether one signed-in user can open another user's records.
Is Lovable secure?
Lovable gives you a solid starting point, and its docs list security practices to follow. The risks above come from how a specific app is configured and what it ships, so each app needs its own check.
Check the live site
Code is only half of it. The free Liquid check looks at what your live site actually serves, such as HTTPS, security headers and email DNS, and gives you a grade in minutes.
Sources
- Vite Docs: Env Variables and Modes (checked 2026-11-22).
- Supabase Docs: Row Level Security (checked 2026-11-22).
- Supabase Docs: API keys (checked 2026-11-22).
- Lovable Docs: Security best practices for Lovable apps (checked 2026-11-22).
- OWASP Top 10 for LLM Applications (checked 2026-11-22).