The key in your live app has no one watching it.

0
192

On December 1, 2026, Cremit published research by Ben Kim on secrets in the public front-end of AI-built apps. They scanned a point-in-time snapshot of just over three thousand live apps on Lovable, Bolt, v0, Replit, Base44, and Grok Build: the public HTML, JavaScript bundles, source maps, and config files. After dropping duplicates and ambiguous cases, they found about ten distinct, unambiguous secrets. Almost all were on Lovable: OpenAI and Perplexity keys, two Google OAuth client secrets, and two database connection strings with the username and password inline. Every one of them lived in a JavaScript file under /assets/. Anyone who opens the page can copy them, and in the two database cases, Cremit says anyone can connect straight to the database.

That is well under one percent of the apps they fetched. Cremit notes that some larger headline rates count the same tutorial key many times, or Google keys that may just be the public Firebase keys meant for the browser. The ten they could prove were real.

Then they planted a tracer. A zero-permission AWS key in a public GitHub gist lasted minutes: GitHub's secret scanner found it, notified AWS, AWS quarantined the key, and the owner got a warning email. The same kind of key in a public bundle on an AI-builder domain sat for five days, with no scan, no quarantine, and no email.

Our read - a public anon key in the browser is expected. An OpenAI key, an OAuth client secret, or a database password in the same downloaded file is not. The live site is what visitors actually get, and almost nothing is watching it.

Here is what we keep running into in vibe-coded apps built with Lovable, Cursor, or Bolt:

  • A paid API key baked into client code, or into a VITE_ or NEXT_PUBLIC_ variable, so every visitor's browser downloads it.
  • A database connection string left in the bundled /assets/ JavaScript after a paste that made a feature work.
  • A key moved to a server function, while the old value was left in the front-end and never rotated.

A quick way to check your own app: open the live site and search the JavaScript it serves for key-shaped values and connection strings. If you find a secret, rotate it at the provider first, then move the call to a server or edge function and remove the old value from the client. Moving the code is not enough if the old key still works.

Fixing this rarely means rebuilding. It is usually that server-side move, plus rotating every key that ever sat in front-end code.

Paul H., Teyrex: senior engineers who audit, fix and support vibe-coded apps. https://teyrex.com/vibe-coded-app-support

Search
Categories
Read More
Sports
What Makes Mostbet One of the Most Talked-About Betting Platforms Right Now
The online betting landscape is crowded, and cutting through the noise to find a platform worth...
By mostbetsk2026 2026-11-20 04:08:04 0 386
Other
Family Law Fees Watford | Legal Advice & Solicitor Services
Looking for information about Family law fees Watford residents may need to consider when...
By Jmssgh 2026-11-12 12:19:07 0 578
Other
Custom Mattress Manufacturers Guide: How JLH Home Builds Your Private-Label Brand
Private label means the product carries your name, not the factory's. The custom mattress...
By nodem31453 2026-11-02 08:25:29 0 535
Other
Choosing the Right Business Proposal Template for Consulting Firms with Slidyo
Consulting firms live and die by their proposals. Before any analysis is performed or...
By marketifysolution 2026-11-25 09:05:00 0 285
Other
Suphini Standard Ballroom Dance Shoes for Training, Exams, and Social Balls
Dancers move through distinct phases of their journey, and each phase asks something different of...
By marketifysolution 2026-11-02 06:26:13 0 499