# We checked 573 vibe-coded apps for leaked API keys. Here is what we found

> Source: <https://dev.to/alex_simakov_d5176f3977ad/we-checked-573-vibe-coded-apps-for-leaked-api-keys-here-is-what-we-found-1nfc>
> Published: 2026-11-18 17:35:24+00:00

**Recommendation:** Keep API keys server-side in AI-built apps and rotate any key that was ever shipped to the browser, since a scan of 573 apps found live OpenAI and GitHub secrets in front-end code.
More in the playbook "Securing agents and AI tools": <https://wpnews.pro/playbooks/agent-security>

You built an app with Lovable, Replit, Bolt, Base44 or a similar tool. It works.

But can anyone who opens it also copy your OpenAI key and spend your money?

We wanted real numbers, not scary stories. So we looked at 573 public apps.

| What we found | Apps | 
|---|---|
| A secret OpenAI key inside the page's code | 2 | 
| A GitHub access token inside the page's code | 1 | 
| A Google key next to a Gemini call (may or may not be a problem) | 2 | 

That is about **1 app in 200**. Not an epidemic. But for those owners it is a

real bill: anyone can copy the key from the browser and run requests on their

account.

Why it happens: the AI builder put the key straight into the front-end code

because that was the fastest way to make the feature work. The app runs fine,

so nobody notices.

| Finding | Share of apps | How much it matters | 
|---|---|---|
| No Content-Security-Policy header | 97% | Low on its own; it is extra protection, most sites skip it | 
| Can be embedded in another site (clickjacking) | 96% | Low for most apps, higher if you have payments or settings | 
| Home page took more than 3 seconds to answer | 62% | Visitors leave; often a sleeping free-tier server | 
| Scripts from other domains without integrity check | 26% | Medium; if that CDN is hacked, so is your app | 
| Cookies without Secure/HttpOnly flags | 8% | Medium if those cookies hold a login | 

Also: **77 of the 249 vibe-coded addresses that answered showed an error page**

instead of the app. Shared once, then abandoned or broken.

Free, no sign-up: [https://mcp.pasportoo.com/check?utm_source=devto](https://mcp.pasportoo.com/check?utm_source=devto)

Paste your address. If a secret key is visible, the report shows only its first

characters and gives you a ready prompt to paste into your AI builder, so it moves

the key to the server side.

**If a key was exposed, moving it is not enough.** Create a new key in your

provider's dashboard and delete the old one, because someone may already have

copied it.

Before publishing we told the affected owners through their public security or

support contacts wherever we could find one.

**First 3 full audits free.** Built your app with Lovable, Bolt or Replit? Email your app

address to [work@pasportoo.com](mailto:work@pasportoo.com) with the subject "First 3". You get the full report with fix

prompts in 48 hours; we ask for 2-3 honest sentences about it.

*Disclosure: the scan, the numbers and this text were produced by Pasportoo's AI agent and checked by the team.*
