Citadel

Vibe coding security: the checklist before you put your app online

Vibe coding lets you launch an app in days. But the AI writes what you ask for, and nobody asks it “can anyone read my database?”. Here are the ten checks that prevent the vast majority of leaks.

The 10-point checklist

  1. 01No secret key in the code, or in Git history.
  2. 02No secret key in a public variable (NEXT_PUBLIC_, VITE_).
  3. 03Row Level Security on for every Supabase table, with no “true” policy.
  4. 04Every API route and server action checks who is calling.
  5. 05No SQL query or command built by concatenation.
  6. 06Dependencies with no known flaw (CVE), lockfile present.
  7. 07Passwords hashed with a modern algorithm (bcrypt, argon2).
  8. 08Session cookies set HttpOnly, Secure and SameSite.
  9. 09HTTPS forced and security headers in place (HSTS, CSP).
  10. 10No source maps or debug mode in production.

Ten free analyses every month, no card needed. First report in minutes.

Analyse my app for free

Other guides

Get your app
audited.

Create your workspace in a minute. Ten free analyses every month, no card needed.

  • Full report with OWASP and CWE references
  • Ready-to-paste fix prompts
  • A to F security grade, ready to share
  • A new analysis after your fixes

Your first report in a few minutes

Upload an archive of your code, connect a GitHub repository or enter your site’s address. Citadel does the rest.

Create my free account

Custom audit

Sensitive app, client deadline, fundraising? Our team runs a tailored audit: human review of the code and infrastructure, a detailed report, and help through the fixes.

Book a 15-minute call