AI-generated summary. Read the original report before relying on it.
A scan of 978 vibe-coded apps found that 1 in 26 leaked secret API keys to visitors, caused by variables baked into client bundles.
Key findings
- 37 of 978 apps leaked at least one secret key, including Telegram tokens, AI keys, and GitHub tokens.
- The leaks were caused by VITE_, NEXT_PUBLIC_, and REACT_APP_ variables being included in client-side code.
- 8.8% of the scanned sites served public source maps, which revealed the original source code.
How you might use it
- Check your own vibe-coded apps for exposed keys in client bundles and source maps.
- Use automated scanners or manual reviews to find and remove secrets before deploying.
Limits
- The scan is a single reported incident, not a confirmed industry-wide rate.
- It is unknown if the exposed keys were actually used or caused financial harm.
- The scan did not test if the apps were vulnerable to other types of attacks.
Business ideas
Ideas inspired by this incident. They are untested, not claims of demand or financial outcome.
1. Vibe-Code Secret Audit
Offer: Manual review of client bundles to find and remove exposed keys.
Buyer: Solo founders shipping vibe-coded apps
Technical link: Directly targets the VITE_ and NEXT_PUBLIC_ variables baked into client bundles.
Evidence
Supporting evidence: Scan of 978 vibe-coded apps finds 1 in 26 leaks a secret API …
- A developer scanned 978 public apps built with Lovable, Bolt and v0, finding that 37 of them (1 in 26) ship at least one secret key to every visitor.
A developer scanned 978 public apps built with Lovable, Bolt and v0 and found that 37 of them (1 in 26) ship at least one…
Differentiation: Human review catches context-specific leaks that automated scanners miss.
First test: Offer free audits to 10 indie hackers on X.
Success measure: Number of founders who pay for a full audit.
Constraints: Unknown if founders trust manual audits over automated tools.
2. Client Bundle Leak Scanner
Offer: Automated tool that scans public source maps for secret keys.
Buyer: Small dev teams using Lovable or Bolt
Technical link: Addresses the 8.8% of sites serving public source maps with original code.
Evidence
Supporting evidence: Scan of 978 vibe-coded apps finds 1 in 26 leaks a secret API …
- A developer scanned 978 public apps built with Lovable, Bolt and v0, finding that 37 of them (1 in 26) ship at least one secret key to every visitor.
Differentiation: Focuses specifically on vibe-coding platforms rather than general code.
First test: Build a simple script and share it on Reddit.
Success measure: Number of users who upgrade to a paid scan.
Constraints: Unknown if teams will pay for a niche scanner.
3. Secret Rotation Playbook
Offer: Step-by-step guide and templates for rotating leaked API keys.
Buyer: Agencies managing multiple client apps
Technical link: Helps teams recover from the 1 in 26 leak rate found in the scan.
Evidence
Supporting evidence: Scan of 978 vibe-coded apps finds 1 in 26 leaks a secret API …
- A developer scanned 978 public apps built with Lovable, Bolt and v0, finding that 37 of them (1 in 26) ship at least one secret key to every visitor.
Differentiation: Provides actionable recovery steps instead of just detection.
First test: Post a free checklist on LinkedIn.
Success measure: Number of agencies requesting the full paid playbook.
Constraints: Unknown if agencies prefer guides over software.
4. Vibe-Code Security Workshop
Offer: Live workshop teaching students how to avoid client-side secret leaks.
Buyer: Bootcamps teaching AI-assisted coding
Technical link: Educates on the specific VITE_ and NEXT_PUBLIC_ variable pitfalls.
Evidence
Supporting evidence: Scan of 978 vibe-coded apps finds 1 in 26 leaks a secret API …
- A developer scanned 978 public apps built with Lovable, Bolt and v0, finding that 37 of them (1 in 26) ship at least one secret key to every visitor.
Differentiation: Hands-on training beats static documentation for new coders.
First test: Pitch a 1-hour session to two coding bootcamps.
Success measure: Number of bootcamps that book a paid session.
Constraints: Unknown if bootcamps have budget for external workshops.
5. Pre-Deploy Secret Gate
Offer: GitHub action that blocks deploys if client-side secrets are detected.
Buyer: Freelancers deploying apps to Vercel
Technical link: Prevents the exact leak pattern of keys baked into client bundles.
Evidence
Supporting evidence: Scan of 978 vibe-coded apps finds 1 in 26 leaks a secret API …
- A developer scanned 978 public apps built with Lovable, Bolt and v0, finding that 37 of them (1 in 26) ship at least one secret key to every visitor.
Differentiation: Simple, cheap gate for individual freelancers, not enterprise teams.
First test: Publish a free GitHub action and track installs.
Success measure: Number of users who pay for advanced rules.
Constraints: Unknown if freelancers will pay for a simple gate.