I built a one-click security audit and ran it on an app I broke on purpose. It found 33 problems — 4 critical, 10 high — including a master database key sitting in the frontend code and a payment webhook anyone could fake.

This is not a rare edge case. In November 2026, the German security firm Crissy Field checked 159,041 Lovable projects and found 24,664 that sent database records to the browser with no login at all. Some of that data is meant to be public, and the researchers said so. But the pattern is real — Lovable's own head of security said the root cause was insufficient Row-Level Security. WIRED reported a separate scan that found more than 5,000 vibe-coded apps with virtually no authentication.

Why it keeps happening

AI builders wire up a database for you in minutes. The app works. The login screen works. Nothing looks broken. The problem is that the security part is invisible: the key in the browser is public by design, and the only thing protecting your data is a set of rules inside the database that the AI often never turns on. The app works fine either way, so nobody notices — until someone looks.

Here are the five holes I see most. Each one is invisible in a working demo.

1. A master key in the browser

What it is: your Supabase service_role key is in the frontend code or in a committed .env file. That key is a master key. It ignores every database rule.
Why it matters: anyone who opens your site can copy it from the JavaScript and read, edit, or delete every row in your database.
The fix: use only the anon key in the browser, keep service_role on the server, and rotate the leaked key.

2. A database password in the code

What it is: the Postgres connection string, with the real password, sits in a source file that gets pushed to GitHub.
Why it matters: anyone who can see the repo can log straight into your database — and if the repo is public, that means anyone.
The fix: move it to an environment variable and change the password now.

3. An API route with no auth check

What it is: an endpoint like /api/users returns or writes data without checking who called it.
Why it matters: the login screen only hides the button. The data is one curl command away.
The fix: check the session or token on every server route, never only in the UI.

4. A payment webhook that trusts anyone

What it is: your Stripe webhook endpoint acts on any POST it receives, without checking the signature.
Why it matters: anyone can send a fake "payment succeeded" event and mark their order as paid without paying.
The fix: verify the signature with Stripe's SDK before you do anything with the event.

5. A dependency with a known hole

What it is: your app uses a library version with a published vulnerability. In my test app it was lodash 4.17.15.
Why it matters: attackers scan for known vulnerabilities automatically. A published CVE is a known way in.
The fix: upgrade to the patched version and re-run the check.

How the audit works

Paste a GitHub link, a zip, or a local folder. One command. A few minutes later you get a clean report: a score out of 100, the findings ranked by severity, and for each one what it means in plain English, numbered fix steps, and a prompt you can paste into your AI tool to fix it. It checks nine areas: secrets, data security, auth, payments, user flows, data structure, code quality, and deploy. It also checks your dependencies against the public OSV vulnerability database, so known holes like the lodash one get flagged.

I tested it two ways. On the app I broke on purpose, it caught all 33 planted problems. On a clean, well-kept app, it found zero. It does not cry wolf.

The first 5 audits are free. After that it is $49, and that includes a human check of your Supabase dashboard — the one thing a scanner cannot see. If you built an app with Lovable, Bolt, v0, Cursor or Replit and you want to know what is actually open in it, send your GitHub link to adilwaraich@outlook.com.