Is Lovable secure?+
The Lovable platform can be used to build secure apps, but security of the app you generate is your responsibility. Most incidents in Lovable apps come from the generated Supabase setup: tables without Row Level Security, policies that are too broad, privileged keys reachable from the browser, and server functions that trust user input. Check those before you put real user data in the app.
Doesn't Lovable already have a security scan?+
Yes, and you should use it. Lovable's Quick scan checks database access rules, npm dependencies and MCP servers every time you publish, and flags tables without per-record access control. The Deep scan adds a code review and runs when you start it, from the Security view, the publish dialog or chat. ScanMySaaS is an independent second check with a different view: it scans the deployed app from the outside, the way a visitor or attacker sees it, including headers, cookies, TLS and exposed files that live on hosting rather than in code. It also reads the synced GitHub repository, so changes made outside Lovable in Cursor or Claude Code are covered, and gives you a report you can rescan and share.
How do I check if my Lovable app has RLS enabled?+
With Lovable's built-in backend, open More, then Database, and review the policies on each table (Manage, then Policies). If you connected your own Supabase project, check the same tables in the Supabase dashboard. In code, every create table in drizzle/migrations (newer Lovable projects) or supabase/migrations (older ones) should have a matching enable row level security statement. For projects that use Supabase, the ScanMySaaS repo scan flags tables created in SQL migrations without one. Then test with two accounts: user A must not be able to read or change user B's rows.
Is the Supabase anon key in my Lovable app a problem?+
No. The publishable key (sb_publishable_…, which replaces the legacy anon key) is designed to be public and will always be visible in a Lovable app's JavaScript. It is only safe when every exposed table has RLS with correct policies. The secret key (sb_secret_…, which replaces the legacy service_role key) is different: it bypasses RLS and must never appear in client code or the repository. Supabase is deprecating the legacy anon and service_role keys by the end of 2026, so this is a good moment to rotate to the new keys.
Can I scan a private Lovable GitHub repository?+
Yes, on Starter or Pro. Sign in, install the ScanMySaaS GitHub App on the repository Lovable created, and pick it from the list. The app only requests read access to contents and metadata. The scan runs in the background, so you can leave the page and come back to the report.
Is the Lovable security scan free?+
The first website scan and public repository scans are free, with no credit card. Private repositories and the AI logic review, which reads server routes and edge functions for missing authorization, are included in the paid plans.