This page has moved. Click here for the updated guide to securing API keys in Lovable-generated apps.

Secret exposure in client-accessible code is a formally documented vulnerability. OWASP A02:2021 — Cryptographic Failures covers hardcoded and exposed secrets. CWE-312 (Cleartext Storage of Sensitive Information) applies when API keys appear in public source bundles.

Launch Ready Code benchmark: most vibe-coded applications we scan have at least one API key or secret exposed in client-accessible JavaScript bundles or publicly readable environment files. — LRC scan data, 2026

Launch Ready Code has scanned 700+ applications. Most ship with at least one critical finding, and the average Launch Readiness Score is ~44 out of 100 — LRC scan data, 2026.

Research sources