Apps built with Lovable, Bolt, Cursor, v0, Replit, and Claude Code fail in a small number of predictable places: database rules that let anyone read or change data, secret keys shipped to the browser, server functions that never check who is calling, and frameworks left unpatched. The checklist below targets those failure classes in the order that matters.
1. Authentication and authorization
- Server-side sessions. Tokens and identity are validated on the server, never trusted from the browser.
- Every protected endpoint checks the caller. No endpoint relies on the frontend hiding a button.
- Row-level security or equivalent is on. Each row is tied to its owner in the database, not just in app code.
- A second test account cannot read or change the first account's data. Tested explicitly, not assumed.
- Admin routes are not reachable by ordinary users. Tested from a signed-out and a low-privilege session.
- Role changes are server-side and audited. No client can grant itself elevated access.
2. Secrets and configuration
- No secret in the browser bundle. Check the shipped JavaScript and network tab.
- No secret in git history. Deleted keys still exist in history; rotate, do not just delete.
- Environment variables are set per environment. Preview and production do not share credentials.
- Keys are scoped to least privilege. No service-role or admin key in client code.
- Secret rotation is documented. You know how to revoke and replace each key.
3. Input and data handling
- All input is validated on the server. Allow-lists, not block-lists.
- Queries are parameterized. No string concatenation into SQL or commands.
- Output is encoded for its context. HTML, JSON, and logs are handled separately.
- File uploads are type-checked and size-limited. Stored outside the web root.
- Prompt injection is considered. Model output is treated as untrusted input.
4. Dependencies and supply chain
- Every dependency is verified. Registry page, publisher, release history, and pinned version.
- No hallucinated packages. Check that each import exists and is the intended package.
- Dependency audit runs in CI. Known vulnerabilities block merge.
- Framework and packages are patched. No known CVEs in the production build.
5. Reliability, cost, and launch
- Error reporting is configured. Frontend and backend failures are captured with context.
- Rate limits and quotas exist on public endpoints. Abuse cannot run up the bill.
- Backups are tested. A restore has been performed, not just scheduled.
- Rollback is documented. Someone other than the builder can revert a bad release.
What a checklist cannot find: business-logic flaws, authorization logic that exists but is wrong, and anything specific to your permission model. Those need a human review. See the production readiness audit.
If you cannot answer yes to all 24, fix the gaps before launch. If you want a second set of eyes on the auth and data paths, book a free 20-minute repo check →