AI app builder security defaults, compared from their own docs (Nov 2026)
How did we check?
Checked on 2026-11-27 against each platform's official documentation only: no blog posts, forums or tests of our own. Each cell paraphrases what the docs say, and the list under the table names the page behind every cell. "Not documented" means we could not find it in the official docs on that date. It does not mean the feature is missing or broken. Docs change often, so open the linked page before you rely on a cell.
Firebase Studio is not in the table. Its official docs say it is sunsetting on March 22, 2027, and that new workspace creation and user signup are disabled, so it is no longer a current choice for a new app.
What does each platform set up by default?
| Default | Lovable | Bolt.new | Replit | v0 (Vercel) | Cursor | Devin Desktop (formerly Windsurf) |
|---|---|---|---|---|---|---|
| Where secrets live, and a warning about the browser | In Secrets, in the built-in backend: encrypted, injected into Edge Functions, never sent to the browser. States that VITE_ values are embedded in the client bundle and must not hold secrets, and that secrets in frontend code "should be considered compromised". | In Secrets, in the database settings, for server functions only. Warns that any .env value your code reads in the browser is sent to everyone who visits your published site. | In the Secrets tool: AES-256 at rest, given to your code as environment variables. Its security checklist says never expose API keys in the frontend. | In Vercel environment variables. Only NEXT_PUBLIC_ variables reach the browser, and v0 analyzes NEXT_PUBLIC_ use and warns about risks. | In your own project files. Cursor keeps .env files out of AI context by default, though its docs say terminal commands and MCP tools run outside those file controls and may still read ignored files. A warning about browser exposure: Not documented. | In your own project files. Indexing skips gitignored paths, but the agent can read and edit gitignored files unless you turn off Gitignore access. A warning about browser exposure: Not documented. |
| Database it sets up | A built-in backend (Cloud) built on Supabase's open-source foundation. The built-in backend is enabled by default for your workspace. You can connect your own Supabase instead. | Bolt Database, created automatically when your project needs one and powered by Supabase. Pro and Teams plans can use their own Supabase. | A managed PostgreSQL development database with every Replit App, and a separate production database when you publish. | No built-in database documented. One-click integrations with Upstash, Neon, Supabase and Vercel Blob. | Not documented. | Not documented. |
| Row-level security or data rules | Sets up RLS policies automatically when it builds features that store user data. The docs tell you to review and adjust them. | Turns on RLS for the tables Bolt creates. Tables you add are yours to protect, and without sign-in Bolt might write policies that let any visitor read, change and delete data. | A default: Not documented. The security checklist puts authorization on you: verify permissions before every action. | Not documented. The full-stack guide has you ask for it in the prompt, for example "users can only see and manage their own tasks". | Not documented. | Not documented. |
| Built-in security scan | Automatic checks before you publish: database rules including RLS, an MCP server offered without sign-in, and vulnerable dependencies. Advanced checks read all your code. Findings do not block publishing by default. | A database security check on all plans, using the same checks as Supabase Security Advisor. A project security audit on paid plans covers data access, sign-in, keys in code or the browser, input handling and misuse. | Replit always runs a security scan before publishing, and a setting controls whether critical findings block the publish. Security Center adds levels: Level 1 is free, runs automatically and checks dependencies and packages. Level 2, on paid plans, adds an Agent review of your source code. Level 3 tests the running app from outside. | v0 says all generated code is analysed before it runs. DeepSec, on paid plans and only when you ask, reviews for missing authentication or authorization, injection, SSRF and unsafe input, in changed files or up to 50 of the riskiest files. It skips environment files, credentials and keys. | Security Review checks pull requests for security bugs, risky patterns and vulnerabilities. It runs on Automations and needs Cloud Agents. The /review-security skill runs the same review from your own agent. | No security scan documented in Devin Desktop itself (Devin Security is a separate cloud product). Quick Review is a general code review of local changes for correctness, style and potential issues. |
| Public by default? | Yes on Free and Pro: Public (anyone with the URL) is the default. Invite only is on every plan. Publishing to your workspace needs Business or Enterprise, where admins can also change the default. The editor preview needs project access, but a shared preview link opens for anyone who has it. | Yes. The Publish menu defaults to public, and on the Free plan every published site is public. Private sites need a paid plan. | Yes in a personal workspace: apps default to Public. Apps in an organization workspace default to a private option. | You choose at publish, with options set by plan and Deployment Protection. Vercel's recommended Standard Protection covers every deployment except production domains. | Not documented. | Previews show the local deployment of your app. The docs mention deploying to Netlify from the legacy Cascade agent (an admin control and a changelog entry). A visibility default: Not documented. |
| Built-in sign-in | Yes. Ask for login and Lovable builds the pages, connects them to the built-in backend and protects user data with RLS. Email and password, Google and Sign in with Lovable by default. | Yes. Email and Google sign-in in the database settings. New sign-ups are on by default, anonymous sign-ins off. | Yes. Two options set up by Agent: Replit Auth (Replit accounts) and Clerk Auth (your own user accounts). | Not documented as built in. The full-stack guide has you prompt v0 to add authentication. | Not documented. | Not documented. |
Where each cell comes from
- Lovable, secrets and the browser warning: Secrets
- Lovable, secrets in frontend code and RLS review: Security best practices
- Lovable, database: Built-in backend
- Lovable, RLS set up automatically: Control who can access your app's data
- Lovable, security scan: Security overview
- Lovable, findings do not block publishing: Publish your project
- Lovable, Public is the default: Website access
- Lovable, preview and preview links: Preview and test your app
- Lovable, sign-in: Users and authentication
- Bolt.new, secrets, the .env warning, and Supabase under Bolt Database: Secrets
- Bolt.new, database: Built-in database
- Bolt.new, RLS and the database check: Database security settings
- Bolt.new, project security audit: Check your project's security
- Bolt.new, public by default: Publish your project
- Bolt.new, sign-in: Database authentication settings
- Replit, secrets: Secrets
- Replit, frontend warning and authorization: Security checklist
- Replit, development and production databases
- Replit, managed PostgreSQL: Storage and databases
- Replit, Security Center: Security scan levels
- Replit, Public is the default: Who can access your app
- Replit, sign-in: Auth
- v0, environment variables: Security
- v0, database integrations: Databases
- v0, per-user access and authentication by prompt: Full-stack apps
- v0, DeepSec
- v0, visibility at publish: Deployments
- Vercel, Standard Protection: Deployment Protection
- Cursor, .env kept out of AI context: Ignore files
- Cursor, Security Review
- Devin Desktop, indexing and Gitignore access: .devinignore
- Devin Desktop, Quick Review
- Devin Desktop, local previews: Previews
- Devin Desktop, the rename from Windsurf: Devin Desktop FAQ
- Firebase Studio, sunset: Firebase Studio sunset and project migration
What does this mean for your app?
No platform's docs promise that the access rules it writes are right for your app. Lovable and Bolt write row-level security for the features they build, and both tell you to check it. The editors, Cursor and Devin Desktop, document no built-in database or sign-in, and no app hosting of their own beyond integrations with outside hosts.
- Access rules. Every table that holds private data needs a rule that limits rows to their owner, and every server route needs its own sign-in and ownership check. Test it signed out and as a second user.
- Keys in the browser. Anything behind
VITE_orNEXT_PUBLIC_, or read by code that runs in the browser, is public. Keep secret keys in the platform's secrets store and use them only on the server. - Who can open the app. Three of the six publish as public by default on personal plans (on Lovable that includes the paid Pro plan). Pick the audience on purpose before you share the link.
- Scan results. Every scan here covers some things and skips others: DeepSec skips environment files and keys, and Replit's free level checks only dependencies. None of the platforms documents blocking a publish on findings by default. A clean scan is a good sign, not proof.
- Payments and admin actions. Mark orders paid only from a verified webhook, and check roles on the server, not by hiding a button. See our payments guide.
1. Run the free local check
npx caelo .
Caelo is a free, open source (MIT) command line tool and MCP server from Irth Labs that checks the files of an AI-built app for exposed API keys, Supabase and Firebase misconfigurations and .env files with real values. It runs on your machine, uploads nothing and uses no AI model. Each finding comes with a plain-English fix.
2. Act on a finding
Follow the fix in your report and run Caelo again. If Git could commit an untracked file containing secrets, preview a US$19 quick fix for that file.
For findings that need an engineer, Irth Labs offers a US$490 App Health Check. You receive a written report within 48 hours and a fixed repair quote. The fee counts toward the repair if you proceed.
Questions
Which AI app builder is the most secure by default?
There is no single winner, and the docs do not support a ranking. Lovable and Bolt document that they set up row-level security for the tables they build. Lovable runs its automatic checks when you open the publish dialog, and Replit runs a security scan before publishing. Every platform still leaves your access rules for you to review.
Does any of these tools turn on row-level security automatically?
Lovable sets up RLS policies when it builds features that store user data, and Bolt turns on RLS for the tables it creates. Replit and v0 do not document a default, and Cursor and Devin Desktop do not document setting one up. Tables you add yourself need their own rules on every platform.
Are apps public by default?
On Lovable, Bolt.new and Replit personal workspaces, yes: anyone with the URL can open a published app unless you choose otherwise. On v0 you pick visibility at publish, and Vercel's recommended Standard Protection leaves production domains public.
Is a VITE_ or NEXT_PUBLIC_ variable a secret?
No. Both are copied into the JavaScript that every visitor downloads. Lovable and v0 say so in their docs. Put secret keys in the platform's secrets store and use them only in server code.
Why is Firebase Studio missing?
Its official docs say Firebase Studio is sunsetting on March 22, 2027 and that new workspaces and sign-ups are disabled. Firebase's own services, such as Firestore rules, are a separate topic: see our Firebase rules guide.
Does Caelo check apps from all of these tools?
Caelo reads the project files on your own machine, whichever tool wrote them. It looks for exposed provider keys, secret-sounding names behind VITE_ or NEXT_PUBLIC_, Supabase service-role keys, using (true) policies and tables created without row level security in SQL files, and open Firebase rules. It cannot see settings that live only in a platform's dashboard, such as who can open your published app.
Sources
- Lovable docs: Secrets.
- Lovable docs: Security best practices.
- Lovable docs: Built-in backend.
- Lovable docs: Control who can access your app's data.
- Lovable docs: Security overview.
- Lovable docs: Publish your project.
- Lovable docs: Website access.
- Lovable docs: Preview and test your app.
- Lovable docs: Users and authentication.
- Bolt help center: Secrets.
- Bolt help center: Built-in database.
- Bolt help center: Database security settings.
- Bolt help center: Check your project's security.
- Bolt help center: Publish your project to a live website.
- Bolt help center: Database authentication settings.
- Replit docs: Secrets.
- Replit docs: Security checklist.
- Replit docs: Development and production databases.
- Replit docs: Storage and databases.
- Replit docs: Security scan levels.
- Replit docs: Who can access your app.
- Replit docs: Auth.
- v0 docs: Security.
- v0 docs: Databases.
- v0 docs: Full-stack apps.
- v0 docs: DeepSec.
- v0 docs: Deployments.
- Vercel docs: Deployment Protection.
- Cursor help: Ignore files.
- Cursor docs: Security Review.
- Devin Desktop docs: .devinignore.
- Devin Desktop docs: Quick Review.
- Devin Desktop docs: Previews.
- Devin Desktop docs: Devin Desktop FAQ (the transition from Windsurf).
- Firebase docs: Firebase Studio sunset and project migration.