Short answer

Treat a vibe-coded app as a prototype until you have checked secrets, access rules, backups, and (for anything with logins, payments or other people's data) a human review. Built-in scans help, but the vendors themselves say they do not replace that review.

  • Fine to ship as-is: a personal tool with no sign-in, no payments and no one else's data, as long as you have tried every feature yourself and you can roll back.
  • Not fine to ship as-is: anything that stores other people's information, takes money, or connects to a live database or paid API.
  • What this page is: a sourced process guide, checked Nov 10, 2026, against official docs from OWASP, Supabase, GitHub, Lovable, Cursor and Replit, plus recent incident reporting. We have not penetration-tested any app, including the Bolt.new tip calculator we built on Oct 29, 2026.

If you are new to the idea, start with what vibe coding is and when it's risky. For tool prices and free plans, see best vibe coding tools.

Who is this checklist for?

It's for people who already have a working preview and now want to put the app online, or who are about to connect a database, logins or payments. You don't need to be a professional security engineer to follow the steps, but you do need to slow down before real users arrive.

  • Use it after the first version works in the builder, and again after any change that adds accounts, a database, file uploads, emails or payments.
  • It applies to browser builders (Bolt.new, Lovable, Replit, v0) and to editors or agents (Cursor, Claude Code, GitHub Copilot). The tools differ; the risks do not.
  • If the app is only for you and stores nothing sensitive, you can run a shorter version: try every feature, keep secrets out of the chat, and keep a version you can restore.

What should you check before you ship a vibe-coded app?

Work through secrets, access rules, a scan, a human check of anything sensitive, and a rollback plan, in that order. Do this before you share a public link, not after the first user signs up.

Here is a compact list you can copy into a note or a chat with your coding tool. Each item is explained in the sections below.

  1. Decide the risk level. If the app has logins, other people's data, payments, or access to a live system, treat it as needing a human review. If it doesn't, you can ship a personal prototype after the remaining checks.
  2. Search the project for secrets. Look for API keys, database passwords, tokens and connection strings in the code, chat history and config files. Move them into the tool's secret or environment settings. Rotate any key that was ever pasted into chat or committed to Git.
  3. Turn on secret scanning if the code is on GitHub. Public repositories get it free and automatically. Private repositories need paid GitHub Secret Protection: for organization-owned private repos, that means GitHub Team or GitHub Enterprise Cloud. Enable repository push protection (also part of Secret Protection, and off by default) so a commit that contains a known secret is blocked before it lands.
  4. Check access rules on every table or data store. If you use Supabase or a similar backend, enable row-level security (RLS) on every exposed table and write policies that match who should read or change each row. A table without those rules can be readable by anyone who has the project's public key.
  5. Run the builder's built-in scan, then read what it does not cover. Lovable's publish dialog runs a Quick scan; Replit has leveled Security Center scans; Cursor's Build Live Apps feature runs checks before publish on paid plans. None of them claim to be a complete review.
  6. Try the app as a signed-out visitor and as a second user. Confirm that one account cannot see or change another account's data, and that signed-out visitors only get what you meant to make public.
  7. Don't point the agent at a production database or an account you cannot afford to lose. Keep a backup or a version you can restore, and prefer a staging copy for agent edits.
  8. Get a person who can read the code to review it before you collect personal data or take payments. Built-in scans are a start, not a substitute.

How do you keep secrets out of the code and the chat?

Never paste API keys, passwords or customer data into the coding chat, and never leave them in source files. Put them in the builder's secrets or environment variables, and treat a leaked key as already compromised: revoke it and issue a new one.

  • Why this matters: OWASP's Secrets Management Cheat Sheet warns that keys often end up hardcoded in source code or config files. OWASP Top 10:2025 still leads with broken access control and puts security misconfiguration second, which is the pattern behind many “it worked in preview” leaks.
  • In the chat: describe the service you want to connect (“store the key in secrets and call it from the server”), rather than pasting the key. Lovable's security docs say the tool will try to catch a pasted key and send you to Secrets, but you should not rely on that catch.
  • In Git: GitHub secret scanning runs automatically on public repositories and looks for known credential types in the Git history, issues, pull requests and discussions. Private repositories need GitHub Secret Protection, as in the checklist above. If a secret is found, GitHub's guidance is to rotate the credential immediately. You can also remove it from Git history, but GitHub says that is time-intensive and often unnecessary if you've already revoked the secret.
  • Push protection: repository push protection blocks a push when it contains a detected secret, instead of only alerting you afterwards. It requires GitHub Secret Protection, is off by default, and can be turned on at the repository, organization or enterprise level. A separate feature, push protection for users, is on by default on GitHub.com and only stops you from pushing secrets to public repositories.
  • If a host has a breach: after an October 2026 security incident, Railway told users to revoke and reapply sensitive environment variables stored before Oct 21. Even if you didn't use Railway, the habit is the same: rotate keys when a platform you rely on asks you to, and don't reuse the same key across projects.
OWASP website page titled OWASP Top 10, with Join this project, View on GitHub and Documentation buttons, and an About OWASP Top 10 section that lists OWASP Top 10 2025 as the current release
OWASP's public “OWASP Top 10” project page at owasp.org/projects/top-ten (Nov 10, 2026): the current release is listed as OWASP Top 10 2025. This is a documentation screenshot, not a finding from our testing.Screenshot: owasp.org, Nov 10, 2026 (public page, not from our testing)
GitHub Docs page titled Secret scanning, with a section How secret scanning protects your code and a list of places GitHub automatically scans, including issues, pull requests, discussions, wikis and secret gists
GitHub's public “Secret scanning” docs (Nov 10, 2026): the page explains that secret scanning looks for hardcoded credentials such as API keys in a repository's Git history, issues, pull requests, discussions, wikis and gists. This is a documentation screenshot, not a scan we ran.Screenshot: docs.github.com, Nov 10, 2026 (public page, not from our testing)

What are access rules, and why do they matter?

Access rules, often called row-level security or RLS, are the database settings that decide which rows each user can read or change. If they're missing, a public app key is often enough for anyone to read the whole table.

  • Supabase's own warning: its production security checklist says the Data API exposes your tables to anyone who has your publishable key, and that key ships in your app. You should enable RLS on every table, and write policies that match what each kind of user is allowed to do.
  • Policies and grants both matter. Supabase's RLS docs explain that grants decide whether a role can touch a table at all, and policies decide which rows that operation applies to. Adding a policy does not take back a leftover grant. Review both before you launch.
  • This is not a rare footnote. In May 2025, Semafor reported that 170 of 1,645 scanned Lovable apps let anyone read user data because of misconfigured database settings. A later study, reported by Techzine on Nov 4, 2026, looked at 159,041 Lovable projects. On 24,664 Supabase-backed sites, records were visible on load without a login, which Techzine says doesn't necessarily pose a problem, because the data may be meant to be public. On 7,403 of those sites (30%), the researchers found tables with email addresses; they said that figure is not a confirmed breach rate, because the addresses could be public contacts or test data. We did not repeat those scans.
  • What you can do without being a database expert: open your backend's policy or security view, confirm RLS (or the equivalent) is on for every table, and ask the coding tool to explain each policy in plain English. Then test as a second user. If your builder has a database review in its publish scan, run it, but still do the second-user check yourself.
Supabase documentation page titled Row Level Security, with the line Secure your data using Postgres Row Level Security and a warning box about tables in an exposed schema that do not have RLS enabled
Supabase's public Row Level Security docs (Nov 10, 2026), last updated Nov 3, 2026 on the page: a warning that a table in an exposed schema without RLS is readable and writable by any role with a grant on it, and that adding policies does not revoke leftover grants. This is a documentation screenshot, not a test of any app.Screenshot: supabase.com/docs, Nov 10, 2026 (public page, not from our testing)

What do built-in security scans catch, and what do they miss?

They catch common, automatable problems, such as missing access rules, secrets in the repo, and known issues in dependencies. They do not prove the app is safe, and several vendors say so in their own docs.

We have not run these scans ourselves. The details below are from official pages checked on Nov 10, 2026.

  • Lovable: a Quick scan runs automatically when you open the publish dialog. It reviews database access rules (including tables without row-level security and rules that let everyone through), known vulnerabilities in npm dependencies, and an MCP server exposed without authentication. A Deep scan, which you start from the Security view, the workspace security center, or the project chat, also reviews application logic: access control, unauthenticated endpoints, unsafe input, leaked secrets, payments, authentication, and exposed personal data. Lovable's docs warn that these tools “cannot guarantee complete security” and that apps handling sensitive data or critical functions should get a professional review. Running the scans is free; asking Lovable to discuss or fix findings in the chat uses credits.
  • Cursor: the Nov 5, 2026 Build Live Apps changelog says that when you publish, Cursor runs “deterministic and agentic security checks” for issues such as secrets in app files or exposed credentials. Nothing goes live until the checks pass and you explicitly publish. This feature is on paid plans with cloud agents enabled, not on the free plan.
  • Replit: Security Center has three levels. Level 1 is a free dependency check. Level 2 (paid) adds an Agent review of your source code. Level 3 adds an external test of the live Preview, and has extra plan and access requirements. Replit is clear that a passing publish check is not a guarantee, and that Level 1 does not review your own code. Separately, Replit's Monitoring Agent (Oct 22, 2026) can investigate a production problem and, if you turn auto-publish on, deploy a fix. That is an operations feature, not a pre-launch scan, and auto-publish is a choice you should make carefully.
  • What scans tend to miss: business logic (“can a user change a price?”), issues that only appear with real accounts and real data, and anything the scanner wasn't written to look for. Veracode's Fall 2026 update (Oct 29, 2026) put the average vulnerability rate in its AI-generated-code tests at about 38%, down from about 44% in the prior snapshot, which is a reminder that “the AI wrote it and the preview works” is not a review.

Should you let an AI agent touch a live app or database?

No, not if you cannot afford to lose that data or that uptime. Give the agent a copy or a staging project, keep backups, and turn off any “auto-publish a fix” setting until you have reviewed what it does.

  • In July 2025, The Register reported that Replit's agent deleted SaaStr founder Jason Lemkin's production database despite instructions not to change code. That is the cautionary case: an agent can act on a live system faster than you can stop it.
  • If your tool offers auto-publish, auto-fix, or a monitoring agent that can deploy on its own, read the toggle twice. Replit's Monitoring Agent can deploy a validated fix only if you enable auto-publish. Lovable can auto-fix some Quick scan findings while you build; that setting is off by default, but a workspace admin can require it for published projects, and it uses credits.
  • A safe pattern is: agent works in a branch or a copy, you review the diff, you publish. Cursor's Build Live Apps write-up follows that idea: checks run first, and nothing goes live until you publish.

When do you need a human to review the code?

Whenever the app will hold other people's personal data, take payments, or connect to a system at work. A scan plus a chat prompt is not the same as a person reading the auth, data and payment paths.

  • You can often skip a formal review for a personal calculator, a private typography playground, or a one-page site with no forms that store data. You should still try every feature and keep secrets out of the repo.
  • You should get a review if users sign in, if you store names, emails, files or health or money data, if you take payments, or if the app will be used at work. Lovable's security overview says the same thing in vendor language: you are responsible for the security bar that fits the use case.
  • What to ask the reviewer to look at: how sign-in works, who can read or change each kind of record, where secrets live, how uploads and forms are checked, and what happens when a payment fails or is replayed. You can also paste a short “review this repo for leaked secrets, missing access checks and unsafe inputs” prompt, but treat the model's report as a punch list, not a sign-off.
  • What we did not do: we did not review the code of our Oct 29, 2026 Bolt.new tip calculator, our Nov 11, 2026 reading log, or our Nov 17, 2026 habit-tracker comparison, and we did not publish any of them. The first test only checked that the calculator arithmetic worked in the desktop preview.

How do you keep a way to roll back?

Keep the code in Git (or the builder's version history), and keep a backup of any database you care about, before you let an agent make a big change or before you publish a new version.

  • Browser builders usually stamp versions as you go. Download or sync the project to GitHub once it matters, so you are not stuck if the tool changes plans or shuts down.
  • A database backup is separate from code history. If the agent can write to production, a code rollback will not bring deleted rows back unless you have a database backup or a provider rollback feature.
  • Test the restore once, on a copy, so the first time you need it is not during an outage.

For more on AI and safety, see our responsible AI guide and the AI privacy and safety alerts board.

FAQ

Is vibe coding safe for a production app? Not on its own. It's a fast way to get a working prototype. For production, you still need the checks on this page, and a human review if the app handles other people's data or payments.

Do built-in security scans mean my app is safe to ship? No. They catch common problems, such as missing access rules or secrets in the repo, and they are worth running. Lovable and Replit say they are a help, not a guarantee. Cursor's checks must pass before you can publish. You still need to try the app as another user and, for higher-risk apps, get a person to review the code.

Where should I put API keys in a vibe-coded app? In the tool's secrets or environment variables, on the server side, never in the chat and never in a file that ships to the browser. If a key was pasted or committed, revoke it and make a new one.

What is row-level security (RLS)? It's a database setting that limits which rows each user can read or change. On projects that still have the default grants, Supabase's docs say a table without RLS can be read or changed by any role with a grant on it, and the project's publishable key usually lives in the app.

Should I let the AI agent fix a live production database? Not if you cannot afford to lose that data. Use a copy or a staging project, keep a backup, and review the change before it goes live. A 2025 incident involving Replit's agent and a production database is the reason this is on the list.

Did you test this checklist on a real app? No. This page is research-based. We have built a tip calculator, a reading log and a habit tracker in Bolt.new on its free plan, and we did not security-review or publish any of them. We also did not scan third-party apps or try to reproduce any of the incidents cited here.

Next: Bolt.new multi-page test · Lovable vs Bolt vs Replit vs v0 · Vibe coding hub · What is vibe coding? · Best vibe coding tools · AI safety alerts · Responsible AI

Sources

Prices and plans change often. Always confirm on the official site before you buy.