# Security checklist for apps built with Lovable, Bolt, Cursor, Replit or v0

Canonical: https://caelo.sh/guides/vibe-coded-app-security-checklist
Published: 2026-11-25 · Updated: 2026-11-27 · Arthi Arumugam, Caelo by Irth Labs

**Short answer:** Before you launch an AI-built app, check seven things: every table has an owner-based database rule; no secret key reaches the browser; every admin page and API checks the role on the server; every id in a request is checked against its owner; payments are confirmed by the provider's verified webhook; prices and totals are calculated on the server; and a signed-out visitor can reach nothing private.

## Access

- Write down who may do what: each role, each page, each API route, and each customer account.
- Every admin page, route and server action checks the role on the server, not by hiding a button.
- Every id taken from a request is checked against its owner before anything is read or changed.
- A user of one customer account cannot read or change another account's data.
- Every check done in the browser has a matching check on the server.

## Database

- Row level security is on for every table, with policies tied to the owner (see our RLS guide).
- Columns such as role, plan, price and payment status cannot be written by the user.

## Secrets

- No secret key in browser code, mobile apps, or the repository.
- Only public keys (anon or publishable) in frontend environment variables.
- `.env` files are in `.gitignore`; secret scanning is on (it runs automatically on public GitHub repositories).

## Money

- An order is marked paid only after the payment provider confirms it, on the server.
- Webhooks verify their signature before doing anything.
- A webhook delivered twice does not charge, credit or create twice.
- Prices, totals and discounts are worked out on the server, never taken from the browser. Quantities and prices cannot be negative.

## AI features

- Text from users or documents cannot change what the AI is allowed to do or reveal.
- The AI cannot call tools or read data the signed-in user could not reach themselves.
- Calls to paid AI APIs have limits, so one user cannot run up your bill.

## Why each line is there

In a peer-reviewed benchmark of AI-generated backends, security exploits worked on around half of the programs that were functionally correct. On real-world coding tasks in another peer-reviewed benchmark, the agent that solved the most tasks produced working code for 57% of them, but code that was both working and secure for only 11.8%.

In one industry test of 15 AI-built apps, 4 of 5 agents let customers place orders with negative quantities. That is why the money section checks for negative values.

Going through this list yourself is a good start. If you want it done for you, the Irth Labs App Health Check is $490, with a written report within 48 hours and a fixed repair quote.

## Check your own app

1. Run the free local check: `npx caelo .` Caelo is a free, open source (MIT) command line tool and MCP server from Irth Labs that checks the files of an AI-built app for exposed API keys, Supabase and Firebase misconfigurations and `.env` files with real values. It runs on your machine, uploads nothing and uses no AI model. Each finding comes with a plain-English fix.
2. Follow the fix in the report and rerun Caelo. For an untracked, unignored file containing secrets, preview the US$19 quick fix. https://caelo.sh/fix
3. For an engineer's assessment, book the US$490 App Health Check. Irth Labs delivers a report and fixed repair quote, with credit toward the repair. https://www.irthlabs.com/start?service=app-health-check

## Questions

### Does this apply to Bolt, Cursor, Replit and v0 too?

Yes. The checklist is about the app, not the tool. Apps from any AI builder, usually on Supabase, Firebase or Postgres, need the same checks.

### Is a security scanner enough?

A scanner finds some problems quickly. Access rules depend on what your app is supposed to allow, so a person has to read them against how the app should work. No scanner and no person finds everything.

## Sources

- [Vero and others. BaxBench, ICML 2025.](https://arxiv.org/abs/2502.11844)
- [Zhao and others. Is Vibe Coding Safe? (SusVibes), ICML 2026.](https://arxiv.org/abs/2512.03262)
- [SecurityWeek, Jan 2026. Vibe coding tested: AI agents nail SQLi but fail on security controls.](https://www.securityweek.com/vibe-coding-tested-ai-agents-nail-sqli-but-fail-miserably-on-security-controls/)
- [Stripe docs: Verify webhook signatures.](https://docs.stripe.com/webhooks#verify-events)

## Related guides

- [What free tool can check a Lovable, Bolt or Cursor app for security issues before launch?](https://caelo.sh/guides/free-security-scanners-for-ai-built-apps)
- [How to check your Supabase row level security is actually working](https://caelo.sh/guides/supabase-rls-check)
- [Can users get my AI-built app's paid features for free? Checking Stripe payments](https://caelo.sh/guides/stripe-webhook-security-ai-built-app)
- [I leaked an API key or the Supabase service_role key. What do I do now?](https://caelo.sh/guides/leaked-api-key-what-to-do)
- [How to check your Firebase security rules are not open (test mode)](https://caelo.sh/guides/firebase-security-rules-check)
- [Is my Cursor app secure? What Cursor protects and what it does not](https://caelo.sh/guides/is-my-cursor-app-secure)
- [Is my v0 app secure? A check for v0 apps on Vercel](https://caelo.sh/guides/is-my-v0-app-secure)
- [AI app builder security defaults, compared from their own docs (Nov 2026)](https://caelo.sh/guides/ai-app-builder-security-defaults-compared)
- [Firebase says your security rules are insecure: how to fix test mode rules](https://caelo.sh/guides/firebase-insecure-rules-alert-fix)
- [How to rate limit API routes in an AI app, and cap your model bill](https://caelo.sh/guides/rate-limit-ai-app-api-routes)
