Is my vibe-coded app secure? A pre-launch security checklist
Updated 13 November 2026
Is your vibe-coded app secure? You can't tell until you check, because you didn't write the code line by line. Work through this pre-launch checklist for Lovable, Bolt, v0, Cursor and Replit apps before you launch, or now if you already have. Each item says what to check, how long it takes, and where to read more.
Check your own app for this, free.
Paste your live URL. ShipCheck looks for leaked API keys in your page and JavaScript, exposed files like /.env and /.git, missing security headers, SSL certificate problems, domain expiry (custom domains only) and what Google sees without running JavaScript. You'll see your score without signing up.
Short answer
Your app is in reasonable shape if:
- no secret key reaches the browser
- every database table is protected by rules you've tested as a logged-out user and as a second user
- no private files or source maps are public
- your framework is patched
- anything that matters (admin, payments, limits) is enforced on the server
Most of the issues that hurt vibe-coded apps come from those five. The rest of this list makes the app harder to break and easier to recover.
1. Secret keys (10 minutes)
- Search your live site's JavaScript in DevTools for
sk_live,sk-,service_role,sb_secret_,AKIA,ghp_andgithub_pat_. Anything secret in the browser is public. See is it safe to put an API key in the frontend? - Any variable with a public prefix (
VITE_,NEXT_PUBLIC_,REACT_APP_,EXPO_PUBLIC_) is shipped to every visitor. Only public keys belong there. - Not sure whether a key is meant to be public? Type just its first few characters into the free is this key safe? tool. It recognises the prefix (for example
pk_live_orsb_secret_), tells you which service it's from and whether it belongs in a browser. Nothing you type leaves your browser. - Check your Git history too. A key deleted in a later commit is still in the old ones.
- Found one? Revoke and replace it. Deleting it from the code isn't enough. See which keys to rotate, and in what order.
2. Your database (20 minutes)
- The Supabase anon or publishable key in your frontend is fine. Row Level Security is what protects your data. See is the Supabase anon key safe?
- Turn RLS on for every table, then test reads as a logged-out visitor: Supabase RLS checker.
- Test writes as well. Insert, update and delete need their own policies, and update needs
with checkso users can't move rows to another account. See Supabase RLS for insert, update and delete. - The
service_roleorsb_secret_key is never in client code. It bypasses every policy, including Storage. - Supabase Storage buckets that hold private files should be private, with policies on
storage.objects. A public bucket means anyone with the file URL can download it. See Supabase Storage: public vs private. - Using Firebase instead? Check that your Firestore and Storage security rules don't allow open reads or writes. See Firebase security rules.
3. Server-side checks for anything that matters
- Admin pages, paid features and usage limits must be enforced on the server or in your database policies, not just hidden in the UI. Anyone can call your API directly.
- Calls to paid APIs (OpenAI, Anthropic, email, SMS) go through your own server function. That function checks the user is signed in, limits how often they can call it, and has a spend limit at the provider.
- Prompt for your AI tool: "List every admin or paid-only feature and show me where it is enforced on the server or in an RLS policy, not just in the UI."
4. Exposed files and source maps (5 minutes)
- Open
https://your-app.com/.envand/.git/HEAD. You should get a 404 or your homepage, not file contents. Single-page apps often return the homepage for any URL, so look at what loads, not just whether something does. The full check and what to do if one is public: is your .env or .git folder public?. - Public
.js.mapfiles let anyone read your original source code and comments. See source maps in production.
5. Framework and dependency updates
- Next.js apps (common with v0 and Cursor): check the installed version against the latest security release. See Next.js security updates for vibe coders.
- Run
npm auditand turn on GitHub Dependabot alerts for the repo. - Lovable has its own built-in security review. Run it, then check the live site from the outside too: Lovable security scan.
6. HTTPS and security headers (2 minutes)
- Check that
http://redirects tohttps://. How to test it, and what Lovable, Bolt, Vercel and Netlify actually do: force HTTP to HTTPS. - Run
curl -I https://your-app.comand look forStrict-Transport-Security,Content-Security-Policy,X-Frame-Options(or CSPframe-ancestors),X-Content-Type-Options: nosniffandReferrer-Policy. Your host sets these, not your React code. How to set them on each host: security headers for Lovable, Bolt, Vercel and Netlify.
7. Payments
- Prices and what the user gets are decided on the server, never taken from the browser.
- Your Stripe webhook verifies the
Stripe-Signatureheader with the webhook secret before it unlocks anything. - The Stripe secret key lives only in server environment variables. Restricted keys (
rk_) with only the permissions you need are better still.
8. Findability (so people can actually find what you launched)
- Check that the raw HTML has your title, description and real text, with no
noindex, a canonical on your own domain, plus robots.txt and a sitemap. See why your vibe-coded app isn't on Google and how to add a meta description. - Want to show up in ChatGPT, Perplexity and Claude answers too? See getting your Lovable site cited by AI search.
9. After launch
- Something checks that the app is up and emails you when it isn't. For Bolt apps, see uptime monitor for a Bolt.new app.
- You know when your SSL certificate and domain expire, and they renew automatically. How to check both, and what Lovable, Bolt and Vercel renew for you: SSL certificate and domain expiry.
- You have a short incident plan: which keys to rotate first if your host or a key leaks (the rotation order), and where your database backups are.
- Re-check after big AI edits. One prompt can move a key into a component or switch off a policy.
The checklist
- No secret keys in the frontend, the bundles or the Git history. Any that leaked are rotated.
- RLS (or Firebase rules) on every table, tested for reads and writes as a logged-out user and as a second user.
- No
service_roleor secret key in client code. - Admin, paid features and limits are enforced on the server, and paid API calls go through a protected function with spend limits.
/.env,/.gitand.js.mapfiles aren't publicly served.- The framework is patched (Next.js security releases),
npm auditis clean, and Dependabot is on. - HTTPS redirect and security headers are in place.
- Stripe prices are set on the server, and webhooks verify their signature.
- Search basics are in place: real HTML, title and description, no noindex, canonical, robots.txt, sitemap.
- Uptime alerts, SSL and domain renewal, an incident plan, and a re-check after big AI changes.
What ShipCheck checks for you
The free scan checks your live URL from the outside. It does:
- known secret key formats in your HTML, up to 20 same-origin JavaScript files and their public source maps (it shows at most the first 6 characters of any key it finds)
- publicly served
/.envfiles and/.git - public source maps
- security headers and the HTTP to HTTPS redirect
- SSL certificate and domain expiry (custom domains only)
- what search engines see without JavaScript
- whether your app uses Supabase or Firebase
Verify you own the app (a free account is enough) to unlock a read-only test of which Supabase tables answer anonymous reads. It counts rows and never downloads them. ShipCheck can't see your code, Git history, server settings or write policies, so items 2 to 4, 6 (npm audit) and 8 on the checklist are still yours to test.
Paid plans re-scan automatically, weekly on Solo ($12/mo) or daily on Builder ($29/mo), and email you what's new, fixed and still open. They also check once a day that your app is up, and email you after 2 failed checks in a row.
FAQ
Is my vibe-coded app secure?
You can't tell without checking, because you didn't write the code yourself. The issues that most often hurt Lovable, Bolt, v0, Cursor and Replit apps are secret keys in the frontend, database tables without working Row Level Security, admin or paid features enforced only in the UI, exposed files or source maps, and unpatched frameworks. Work through the checklist above before launch and again after big AI edits.
What should I check before launching a Lovable or Bolt app?
At minimum: no secret keys in the JavaScript, RLS enabled and tested on every Supabase table (reads and writes), no service_role key in the client, /.env and source maps not public, HTTPS with security headers, Stripe webhooks verifying signatures, and the basics for Google (title, description, real HTML, sitemap). Run your builder's own security review too, if it has one.
Is the Supabase anon key in my frontend a security problem?
No, it's designed to be public. What protects your data is Row Level Security on every table. The key that must never be in the frontend is the service_role or sb_secret_ key, because it bypasses RLS completely.
How can I tell if an API key is safe to put in my frontend?
Look at its prefix. For example, Stripe pk_ keys and Supabase sb_publishable_ keys are meant for browsers, while sk_, rk_ and sb_secret_ keys are not. ShipCheck's free 'is this key safe?' tool identifies the service and whether the key belongs in a browser from just the first few characters, and nothing you type leaves your browser. If you're unsure, treat it as secret.
Do AI app builders make apps secure by default?
They help, but not completely. For example, Lovable has a built-in security review, Supabase tables created in the dashboard get RLS by default, and Vite and Next.js don't publish source maps by default. Each AI edit can still move a key into a component, add a permissive policy or turn a setting back on, so check the live app before launch and after big changes.
What does ShipCheck's free scan check?
It checks your live URL from the outside: known secret key formats in your HTML, JavaScript and public source maps; public /.env and /.git; source maps; security headers and the HTTPS redirect; SSL and domain expiry (custom domains); what search engines see without JavaScript; and whether you use Supabase or Firebase. The Supabase table read test needs a free account that has verified it owns the app. Paid plans re-scan weekly or daily and check uptime once a day.
Run the same checks on your app.
A free scan takes under a minute. No card, and no sign-up to see your score and the list of issues.