Priberry research · Finding · November 2026

About 1 in 30 public Lovable apps would ship an AI key to every visitor

Greenlit opens with your address filled in, and nothing runs until you press its button. It looks at what a stranger can reach from your live site, keys in the JavaScript included.

Before your AI writes more code: the 1-in-5 File, security rules to paste into Lovable, Claude Code or Cursor.

Free from Priberry: Launch Blockers, Rolelock, Greenlit, Crumple, Tare, MarkOS

In 1,167 public Lovable projects drawn at random from GitHub, 37 have browser code that reads a paid AI key: 3.2% (95% range 2.3–4.3%). A variable named VITE_… is copied into the JavaScript every visitor downloads, so once the app is deployed with the key set, anyone can open the page source, copy the key and spend on the owner's account. Google Gemini keys are about half of them.

This is a follow-up to About 1 in 5 public Lovable apps would leak data or keys: the same random draw and the same scanner version. Priberry makes Launch Blockers, the open-source checker used here.

37of 1,167 apps read a paid AI key in browser code
19of them read a Google Gemini key, the most common
53read some secret in browser code: AI keys, passwords, admin keys and others
63 of 93secret names the scanner flagged held up when we opened the code

Which AI keys

Apps whose browser code reads each provider's key. An app can read more than one, so the bars add up to more than 37. Counts this small aren't ranked past the top 4.

Google Gemini
19
OpenAI
10
Anthropic
4
Groq
3
Six others, combined: ElevenLabs, Perplexity, Hugging Face, xAI Grok, Mistral, Cohere
9

The other secrets in the browser

8apps check a password in the browser (an admin or site gate), so anyone can read it in the page source
2apps read a Supabase service-role key, which skips every database rule
8apps read another secret: store, SMS, storage, analytics or login keys, or a database address with its password

How to fix it

Move the call to the AI provider into a Supabase edge function (or any server route) that checks the user is signed in, keep the key there under a name without VITE_, and revoke the old key: if the app was ever deployed with it, treat it as leaked. Key Panic lists the steps in order and where to revoke a key at each provider. Launch Blockers prints this as a prompt you can paste back into Lovable, Cursor or Claude Code.

Check your own project

npx launch-blockers check

It runs on your machine, reads nothing over the network and never prints a secret. Priberry makes six free, open-source tools:

Launch Blockers
the leaks AI-built apps ship, checked in your codenpx launch-blockers check
Rolelock
users who can raise their own role, checked in your supabase/ foldernpx rolelock@0.1.1 ./my-app
Greenlit
what a stranger can see in your live appnpx greenlitlab
Crumple
a crash-test lab for AI coding agentsnpx crumplelab attack
Tare
where your coding agent's tokens gonpx tarelab
MarkOS
an AI exec team on your own computermarkos.priberry.com

How we did it

More studies: priberry.com/research · Launch Blockers, Rolelock, Greenlit, Crumple, Tare and MarkOS (priberry.com/#tools) · Aggregate data: names.json · Generated 2026-11-26