What fails most
Access control
Apps rarely fail on classic injection first. They fail because a database answers strangers: Supabase Row Level Security missing or too broad, Firebase rules left open. The page works perfectly, so nothing looks wrong.
Secrets in the browser
Variables with a public prefix, such as VITE_ or NEXT_PUBLIC_, end up in the JavaScript sent to every visitor. If a Stripe secret key, a service_role key or an LLM provider key is among them, anyone can use it.
Missing limits
Login, one-time codes and AI endpoints without rate limits or spending caps let anyone run up your bill or try passwords at speed.
Business logic and payments
Prices taken from the client, paywalls enforced only in the browser, and payment webhooks without signature checks. These need testing behind a login. A passive check can only hint at them.
What the numbers say
1 in 5
of about 130,000 vibe-coded sites scanned exposed at least one sensitive secret in client-side code or public files.
RedHunt Labs, Sep 2025vendor research
170
of 1,645 Lovable-built projects analyzed (about 10.3%) had inadequate Row Level Security settings, across 303 endpoints. Reported as CVE-2025-48757.
2,000+
vulnerabilities, 400+ exposed secrets and 175 instances of personal data found across 5,600+ public vibe-coded apps, using passive scanning.
Escape, Oct 2025vendor research
16%
of 1,072 Supabase-backed vibe-coded sites scanned had a critical vulnerability, and 98% had at least one flaw.
Symbiotic Security, Jun 2026vendor research
45%
of test cases across more than 100 LLMs introduced a vulnerability classified in the OWASP Top 10.
Veracode, Jul 2025vendor research
69
vulnerabilities in 15 applications built by 5 coding agents. None included proper CSRF protection, and no agent used CSP, X-Frame-Options or HSTS.
Tenzai, tested Dec 2025vendor research
17.3%
was the highest secure-solution rate of any coding agent setup tested, counted only over functionally correct solutions.
Endor Labs, 2026vendor research
1,182
of 20,656 LLM-generated web apps used the same hardcoded secret, supersecretkey.
Invicti, Nov 2025vendor research
1.5M
API authentication tokens were exposed by Moltbook, a Supabase-backed app where Row Level Security was missing.
Wiz, Feb 2026vendor research
5.2% to 21.7%
of LLM-generated code samples recommended packages that do not exist: at least 5.2% for commercial models and 21.7% for open-source models.
Less secure
Participants with an AI assistant wrote significantly less secure code than those without, and were more likely to believe it was secure.
Notable incidents
CVE-2025-48757: Lovable and Row Level Security
A scan of 1,645 Lovable-built projects found 170 with inadequate Row Level Security settings, across 303 endpoints.
Source: Matt PalmerMoltbook: Supabase without Row Level Security
Wiz reported 1.5 million API authentication tokens and 35,000 email addresses exposed, because the line of defense the database relies on was missing.
Source: Wiz
What to do this week
- 01
Open your live site, view the JavaScript it serves, and search for sk_, service_role and your provider's key prefixes. Rotate anything you find, then remove it.
- 02
In Supabase, run the Security Advisor and fix every error. In Firebase, review Firestore, Realtime Database and Storage rules.
- 03
Log in as an ordinary user and try the admin routes and paid features directly.
- 04
Set a hard spending limit with every AI provider you use.
- 05
Move every call that needs a secret key to server-side code.
- 06
After any AI fix, test it again. Do not assume it worked.