AuditMyVibe TeamApril 22, 20269 min read

    Is Your AI-Built App Safe to Launch? The 2026 Security Checklist

    AI builders ship working prototypes in hours. What they don't ship is a security review. Before you point real users (and real attackers) at your AI-built app, walk through this checklist.

    1. Authentication is real, not cosmetic

    AI-generated auth flows often look correct but skip the hard parts: email confirmation, password reset rate limits, session expiry, and refresh token rotation. Verify that an unauthenticated request to your "protected" pages actually fails on the server, not just visually in the UI.

    2. Row Level Security on every table

    The single most common vulnerability in AI-built apps: a public table with no RLS policies, queried directly from the browser. Open every table in your database. If RLS is disabled, your data is public, even if your UI hides it.

    3. Roles live in their own table

    Never store is_admin on the profiles table. Use a dedicated user_roles table and a SECURITY DEFINER function to check roles inside policies. Anything else is a privilege-escalation bug waiting to happen.

    4. Secrets are server-side only

    Scan your bundled JavaScript for Stripe secret keys, OpenAI keys, SMTP passwords, or service-role tokens. If a key starts with sk_ and it lives in src/, it's already leaked. Move it to an edge function environment variable.

    5. Inputs are validated on the server

    Client-side Zod schemas are great UX but zero security. Re-validate every payload inside the edge function or database function that actually mutates state. Assume the client is hostile.

    6. File uploads are constrained

    Check storage bucket policies, file size limits, and MIME-type allowlists. A public bucket with no size limit is a free CDN for the internet, and a fast way to a surprise bill.

    7. Rate limits exist

    Login endpoints, AI proxy endpoints, signup, password reset, all of these need throttling. AI builders almost never add it by default.

    Get a second pair of eyes

    Most founders catch two or three items on this list and miss the rest. A focused review by someone who reads AI-generated code every day is the cheapest insurance you can buy.

    AuditMyVibe runs exactly this audit on Lovable, Bolt, Replit, and v0 projects. Get in touch before launch day, not after.