Is your OpenAI or Stripe key in a VITE_ variable?
Free scan: check my app Just your web address. Results in seconds. No signup, no card.
Many Lovable and Bolt apps are built with Vite. Vite has one rule worth knowing: any environment variable whose name starts with VITE_ is bundled into the app's browser code when it's built.
Vite's own docs say VITE_ variables should not hold sensitive information such as API keys. A key stored as VITE_OPENAI_KEY or VITE_STRIPE_SECRET can be read by anyone who opens your site and looks at its code.
Quick check: open your project's .env file or settings and read each name starting with VITE_. A public value like your site URL is fine. A secret API key is not.
If you find one, ask your builder to move that call into a backend function (for example a Supabase Edge Function), store the key there as a secret, and replace the old key.
Want a free check of your live app for exposed keys? https://peeklok.com
Chris, PeekLok
