Lovable vs Bolt security: what each checks, and what's on you (2026)
Updated · by the Bologu team
Short answer: you can build a secure app on either Lovable or Bolt, and neither one makes your app secure for you. Both put your data in a Postgres database protected by row-level security (RLS), both scan your project before you publish, and both say in their own documentation that their checks are not a guarantee. The differences are in what each check covers, which plan you need, and the defaults. Everything below is from each company's documentation as of December 2026.
Security checks built in
- Lovable: a Quick scan runs automatically when you open the publish dialog. It looks for tables without RLS, rules that let everyone through, leaked-password protection turned off, critical-rated vulnerabilities in npm packages, and MCP servers without authentication. A Deep scan reads all your code across seven areas (access control, unauthenticated endpoints, unsafe input, leaked secrets, payments, authentication, exposed sensitive data), but you have to start it yourself. Scans are free; "Try to fix all" uses 10 free fixes that come back 24 hours after use, then credits.
- Bolt: a database security check is on all plans and flags problems such as an RLS policy that is always true. The full project security audit reviews code and database (who can see and change data, what's public, sign-in, misuse such as changing a price, visitor input, and keys) and fixes what it can, but it's on paid plans only. You start it with Run security audit in the Publish menu; the audit and its fixes don't use tokens, and Bolt calls it a first pass, not a replacement for other security work.
Database and secret keys
- Lovable: if you paste an API key into the chat, Lovable spots it and points you to Secrets, and it recommends server-side functions so keys stay out of browser code.
- Bolt: RLS is turned on for tables Bolt creates, but tables you add yourself need it turned on by hand. Secrets work only in server functions; values in .env that your browser code reads are sent to everyone who opens your site.
Who can see your project and your app
- Lovable: since April 22, 2026 projects can no longer be public, so your code and chat are visible only to your workspace. Your published app is a separate setting: anyone with the link can open it unless you add a login.
- Bolt: the Publish menu defaults to a public site, and on the Free plan every published site is public. Paid plans can publish a private site for invited people only.
Track record
- Lovable: CVE-2025-48757 (2025) found 170 of 1,645 scanned Lovable apps with database rules that let outsiders read or change data. From February 3 to April 20, 2026, the chat and source code of public projects could be viewed by other Lovable users who had the project link; Lovable then removed public projects. Details are in Is Lovable safe?.
- Bolt: we found no published platform-level incident of that kind as of December 2026. That doesn't make apps built on Bolt safer: the common mistakes (open database rules, keys in browser code, checks done only in the browser) are made inside your app, on any platform.
What neither check does for you
Both scanners look for known patterns. They don't know who should see what in your particular app, so these stay your job:
- Log in with two accounts and try to open the other account's data from the first. It must fail. See the Supabase RLS guide.
- Search your published site for secret keys: open developer tools and search the JavaScript for sk-, sk_live and service_role. See how to check for leaked API keys.
- Payment webhooks verify the provider's signature, and prices come from the server, never from the page.
- Run the checks again after every big change, not just before the first launch.
So which one is safer?
Choose the tool that suits how you work; the difference in security comes far more from whether you do the steps above than from the platform. If you're on Bolt's Free plan, remember that the code part of the audit isn't included, so the manual checks matter more.
Check your app from the outside
Bologu checks your app the way an outsider would, whichever tool built it: a free website scan finds keys in your JavaScript, missing security headers and exposed files; the Supabase check reads your actual database rules; and the GitHub code scan looks for permission checks and webhooks in code you can't see from the outside.
Sources
- Lovable Docs: Security
- Lovable Docs: Control project access
- Lovable: Our response to the April 2026 incident
- NVD: CVE-2025-48757
- Bolt Support: Check your project's security
- Bolt Support: Database security settings
- Bolt Support: Database secrets
- Bolt Support: Publish your project
- Bolt blog: Security belongs in the platform, not in your backlog
Read next
- Can your website chatbot be tricked? Prompt injection explained
- Admin API leaking in your JavaScript: why lazy loading doesn't help, and where to fix it
- Is Lovable safe? Security risks and how to check your app
- Leaked source maps: anyone can read your site's original code. How to check and close it
- Secure your Claude Code, Codex and Cursor settings: stop clicking "allow all"
- Forgotten subdomains: how strangers can take over pages on your domain
- API key leaked in your website: how to check, and what to do right away
- Lessons from Moltbook: a fully AI-built site that let anyone read and edit its database
- Next.js ships security patches almost monthly: which version you need now (Nov 2026)
- npm malware wave of 2026: why AI-built sites are at risk, and how to protect yours
- Supabase RLS explained: fixing “RLS Disabled in Public”
- Vibe coding security checklist: 20 checks before you launch
