A recent security audit of 90 public web applications built with AI tools like Lovable and Bolt revealed no exposed secret API keys or open .env files. The study utilized the indiesec scanner to analyze client-side code, including HTML, JavaScript, and source maps, for credentials related to services such as Supabase, OpenAI, and Stripe.
Despite the absence of hardcoded secrets, 61 of the 90 applications (68%) rely solely on Row Level Security (RLS) in Supabase to protect user data. Because the scanner performs passive analysis, it cannot verify the actual configuration of these database policies. This creates a significant security risk, as misconfigured RLS can expose sensitive data to unauthorized public access.
The risk is highlighted by the 2025 vulnerability CVE-2025-48757, which affected over 170 projects and received a CVSS score of 9.3. In that incident, attackers accessed names, emails, and phone numbers due to improperly secured database endpoints. Platforms like Lovable and GitHub have since implemented automated secret scanning to prevent developers from hardcoding credentials.
Developers are advised to manually verify their security posture by checking RLS status in the Supabase dashboard and testing table access via the REST API using public keys. Experts emphasize that AI coding assistants do not automatically generate secure access policies, placing the responsibility for data protection entirely on the application owner.





