Skip to content

Vibe Coding Security Checklist: 5 Checks Before Launch

A plain-language vibe coding security checklist for business owners: five checks you can run in a browser before real customer data goes in.

Citizen Development Academy Updated First published 11 min read

Building in a weekend is the whole point of tools like Lovable, Replit, Bolt and Microsoft’s Copilot app builders. What those weekend builds miss is a handful of settings the AI never asked you about, and this vibe coding security checklist closes that gap before your first customer logs in.

Escape, a security-testing vendor, analysed public AI-built apps and reported: “Our research team analyzed over 5,600 publicly available applications and identified more than 2,000 vulnerabilities, 400+ exposed secrets, and 175 instances of PII” (personal data such as medical records, phone numbers and emails). The scan, published October 29, 2025, was passive, found weaknesses from the outside rather than confirmed breaches, spans several platforms and is “heavily skewed toward Lovable deployments”. Escape calls its results “lower-bound estimates”. Two of the vibe coding security risks in Escape’s scan, missing row-level security and exposed secrets, are Checks 1 and 2 below. Checks 3 to 5 come from vendor documentation, OWASP guidance and public incidents, not from the scan, and all five together are our checklist.

Our view: AI app builders tune their defaults for speed, not for strangers using your app. Closing that gap is a short owner’s job, not a reason to stop building.

The first three checks run entirely in a browser. Where Checks 4 and 5 need technical hands, each section names the step to hand to your builder or IT provider. By our estimate, each check takes about ten minutes, under an hour for all five. Run them before the first customer logs in.

CheckWhat goes wrongThe test
1. Who can see whose dataOne customer can read another customer’s recordsTwo test accounts, then a logged-out visit
2. Secrets in the codeA master password sits where visitors can read itSearch the live page code for key names
3. Sharing links and visibilityThe editor and the live app have separate switchesOpen the live app in a private window
4. Backups and a way backOne bad AI change reaches real data with no undoRestore a backup once into a test copy
5. One named ownerNobody fixes it, and nobody reviews changesWrite down an owner and a reviewer

Check 1: Who can see whose data (row-level access)

Row-level security (RLS) is a set of rules on your database that decides which rows, meaning individual records, each person can read or change. Think of it as giving each customer a key to their own drawer instead of the whole filing cabinet. Many AI-built apps sit on Supabase, a hosted database that stores your records and hands them to the app over the internet. Supabase’s own documentation is blunt: “A table in an exposed schema without RLS is readable and writable by any role with a grant on it.” Put plainly, when those rules are missing or too loose, anyone can read every record.

The best-known example is CVE-2025-48757 (a public ID for a known security flaw). The National Vulnerability Database describes “an insufficient database Row-Level Security policy in Lovable”. Lovable disputes it. NVD’s own note says the supplier holds that each customer of the platform “accepts a responsibility over protecting the data of their application.” The figures come from Matt Palmer, a researcher who then worked in developer relations at Replit, a competing vibe-coding platform. His statement reports 303 endpoints (addresses the app’s data can be fetched from) across 170 of 1,645 analysed projects with inadequate RLS settings, from a scan of homepages only. He adds: “The core issue was not an exposed public API key”. The problem was missing RLS. We cover the full story in public incidents and the control that would have stopped each.

“RLS is on” is not the finish line. Supabase lists the traps: “Adding policies doesn’t remove” the default grants, “Views bypass RLS by default”, a using ( true ) policy for anonymous visitors opens every row it can reach, and policies based on user_metadata rely on information users can edit. One thing is not a trap: the publishable key in your browser is meant to be public. Supabase says “Anyone can read it, so it only reaches what Row Level Security allows.” Hiding it fixes nothing.

The test (about ten minutes):

  1. Create two test accounts, Customer A and Customer B.
  2. Log in as A and add a record.
  3. Log in as B and try to find A’s record anywhere in the app.
  4. Log out entirely and see what still loads.
  5. If you are on Supabase, open the Advisors page in your project dashboard and look for the “rls disabled in public” finding. Supabase notes that “Some findings may be intentional,” so check each one against what you meant.
  6. Ask your AI builder: “Using Customer B’s login, query every table directly through the database API with no filters, and show me whether any of Customer A’s rows come back.”

Passing on screen is not enough: an app can hide other customers’ records on screen while the database still hands them to anyone who asks directly. OWASP’s A01:2025 explains that access checks living only in the browser can be bypassed by calling the app’s address directly.

Takeaway: if Customer B can see anything of Customer A’s, nothing else on this list matters until you fix it. Tell your AI builder: “Turn on row-level security on every table and write policies so each user only sees their own records.” Then rerun both the screen test and the direct query, because in Supabase’s words, “Until the suite passes, you don’t know whether the policies do what you intended.”

Check 2: Secrets in the code

An API is a way for two systems to talk automatically. A secret key is the password your app uses for that conversation, with a payment service, an email service or your own database. A secret key in the wrong place hands that power to whoever finds it.

Supabase spells out what is at stake: “A secret key bypasses every Row Level Security policy you have. Never put one in a browser, a shipped application, or source control.” Escape’s scan found that “Tokens such as Supabase service keys were often trivially retrievable from frontend bundles”. A frontend bundle is the code your visitors’ browsers download to run your app. Anything in it is readable by anyone who visits.

Pete Shoard, chief of research for cybersecurity at Gartner, was quoted in Computerworld in August 2026: “The number one risk at the minute is hard-coded secrets being uploaded through vibe-coded applications to GitHub, and then providing a route in.”

The test (about ten minutes):

  1. Open your live app in Chrome or Edge.
  2. Open the browser’s developer tools (press F12, or right-click the page and choose Inspect). This is a built-in panel that shows the code your visitors receive.
  3. Press Ctrl+Shift+F (Cmd+Option+F on a Mac) to search every file the page loaded, and search for secret, service_role and sb_secret. A clean search is not proof, so ask your builder to confirm that no secret key ships in the front end.
  4. If your code lives on GitHub in a public repository, secret scanning “runs automatically for free”. Check its alerts.

Be precise about private repositories. For organization-owned private repositories, scanning is “Available with GitHub Secret Protection enabled on GitHub Team or GitHub Enterprise Cloud”, which are paid plans. For a private repository under your own personal account, secret scanning is only “Available on GitHub Enterprise Cloud with Enterprise Managed Users”, so for most owners the browser search above is the check that counts. Push protection, which blocks secrets before they land, “Is disabled by default” for repositories.

If you find one: rotate it first. That means creating a new key and cancelling the old one in that service’s dashboard. GitHub’s instruction is to “rotate the affected credential immediately”. Deleting the commit is not the fix, and GitHub calls history removal “often unnecessary if you’ve already revoked the credential.”

Takeaway: rotate first, then ask the AI builder to move the key into server-side settings, where browsers never see it.

Many builders have two separate switches. One controls who can see your project in the editor, including the chat history and source code. The other controls who can visit the published app. People assume one switch controls the other.

Lovable’s April 22, 2026 statement shows why that assumption matters. Between February 3 and April 20, 2026, “public project chat history and source code could potentially be accessed by any Lovable user provided they had a project link.” Lovable also says “Private projects and Lovable Cloud were never impacted.” The lesson is in its own words: “Publishing your app does not change who can access your project in the editor, and changing project visibility does not affect who can visit the published app.”

Microsoft’s tools make the same point from the other direction. Copilot Managed Runtime states “Knowing an app’s address isn’t enough to open it,” and in the same breath, “These protections don’t replace reviewing app code and dependencies.” Even a governed platform tells you to check.

The test (about ten minutes):

  1. Set the project to private in your builder’s settings.
  2. Open the published app in a private browser window, not logged in, and confirm only what you intend is visible.
  3. List every “anyone with the link” share you have sent, and remove the ones you no longer need.
  4. Ask yourself honestly whether you ever pasted customer data into the builder chat. If you did, keep that project private.

Takeaway: check both switches, every time you publish.

Check 4: Backups and a way back

A rollback means putting the app or its data back the way it was before a bad change. AI builders make fast changes, sometimes to your live data. Without a backup and a separate test copy, one bad instruction reaches real customers.

In July 2025, Jason Lemkin posted that Replit “deletes our entire database” during his SaaStr project. Later the same day he posted: “It turns out Replit was wrong, and the rollback did work.” Replit CEO Amjad Masad wrote that the agent “deleted data from the production database” and that Replit “started rolling out automatic DB dev/prod separation to prevent this categorically.”

The test (about ten minutes, plus a hand-off):

  1. Find out whether your plan backs up automatically. Supabase backs up “all Pro, Team, and Enterprise Plan projects on a daily basis.” Free-tier projects get no automatic daily backup. Ask your builder or IT provider to export the database regularly with the Supabase CLI’s db dump and keep an off-site copy. Database backups “do not include objects you store via the Storage API”, so uploaded files need their own plan.
  2. Confirm you have a separate test copy with different credentials. OWASP A02:2025 says environments “should all be configured identically, with different credentials used in each environment.”
  3. Find where your builder keeps version history and how to restore a previous version.
  4. Restore one backup into the test copy and confirm the app comes back as it was.

If you built in Power Apps Vibe, Microsoft says Vibe “is retiring.” Editing in Vibe ended on November 30, 2026. December 1 to December 31, 2026: migrate or download only. After December 31, 2026: “You can no longer access your Vibe apps.” Draft tables had to be published while editing was open (through November 30, 2026); Microsoft says unpublished draft tables “aren’t migrated with your app.”

Takeaway: test a restore once before launch, into the test copy. If it needs technical hands, ask your builder or IT provider to run it while you confirm the app comes back as it was. A backup you have never restored is a hope, not a backup.

Check 5: Name one person who owns it

When the app breaks at 9am Monday, or a key needs rotating, someone has to own it. Without a named owner, AI-generated changes also go live with no second pair of eyes.

OWASP’s A03:2025 Software Supply Chain Failures says “No single person should be able to write code and promote it all the way to production without oversight from another human being.” The OWASP Top 10 for LLM Applications 2026 describes, under LLM10 Improper Output Handling, LLM-generated code deployed “without human review or security testing” that reaches production and is exploited.

The test (about ten minutes): write down four things.

  • The owner.
  • A backup person.
  • Who reviews changes before they go live.
  • Where logins and keys are recorded.

Then turn on multi-factor sign-in for every admin account. OWASP A07:2025 Authentication Failures also says “Do not ship or deploy with any default credentials, particularly for admin users.” If you cannot tell whether a default admin account shipped, that is a question for your builder or IT provider.

If your app calls a paid AI service. Set a hard spending cap with that provider. OWASP’s LLM06:2026 Unbounded Consumption calls for “hard spending caps”. Keep no passwords or keys in the AI feature’s hidden instructions: LLM08:2026 Hidden Context Exposure says its contents “should not be considered a secret”.

What to tell your IT person or provider. If you have an outside IT provider or a technical staff member, send a three-line note:

  1. Here is the app and the builder it runs on.
  2. Here are my five checklist results.
  3. Can you be the second reviewer for changes and hold the key-rotation list?

You are asking for a reviewer, not for permission after the fact. Work with them, not around them. For the wider owner questions, where the app lives and what it costs, see our guide for business owners who built an app with AI.

Takeaway: one named owner and one named reviewer before launch.

Your copy-paste vibe coding security checklist

Run this before every launch, not only the first one. It is our synthesis of OWASP guidance, vendor documentation and the public incidents above, written for business owners. For whoever writes or prompts the code, the Cloud Security Alliance published a Secure Vibe Coding Guide by CSA Fellow Ken Huang on April 9, 2025, with its own checklist covering secrets, API, database and deployment security.

Check 1: Who can see whose data

  • Logged in as two test customers and confirmed neither sees the other’s records
  • Logged out completely and confirmed no private records load
  • Reviewed every security finding in the database dashboard

Check 2: Secrets in the code

  • Searched the live page code for secret keys and rotated any I found
  • Checked secret scanning alerts if the code is in a public GitHub repository

Check 3: Sharing links and visibility

  • Set the project to private in the editor
  • Opened the published app logged out and saw only what I intended

Check 4: Backups and a way back

  • Confirmed automatic or scheduled backups and a separate test copy
  • Restored a backup once

Check 5: One named owner

  • Named an owner and a reviewer, and turned on multi-factor sign-in for admins

Takeaway: put a recurring calendar reminder on this list.

Run it again before every update

Every new feature you ask the AI for is a fresh chance for a table without rules or a key in the wrong place. By our estimate, rerunning the list takes less time the second time, because your test accounts and your notes already exist.

Our view: treat these five checks as a habit, not a one-time pass.

Once you have run all five checks on your own app, you own it in the way that matters.

Get a second pair of eyes

Before customers log in, we can run this list with you. In a free 30-minute call we look at what you have built or plan to build with AI, name the top three risks, and recommend one next step. That call is the first step of our AI security audit, which also covers apps built in Lovable, Replit or Cursor. When the app is heading into production at work, production readiness for AI-built apps goes deeper than this list: a code read-through, Entra ID sign-in and CI checks.

Book a free 30-minute AI app review

Related articles