- Member list is open
- V.I.B.E reads your database rules
- Each person sees their own
Where to run it in Lovable
- Open More, then Database
- Choose Manage, then SQL editor
- Paste the query and press Run
- Press Copy JSON and paste the result here
Checks
- Tables with row security switched off
- Rules open to anyone or to any account
- Rules that trust details people can edit
- Saved actions and views that skip rules
- File storage rules
A member list every account can read
This made-up project keeps profiles and orders. One rule hands every profile to any signed-in person. Another lets someone change orders when their sign-in details say admin, although people can edit those details themselves. If strangers can register in your app, both doors are open to them. The repaired copy ties each row to its owner.
- A rule on “orders” trusts details users can changePolicy "Admins can update orders" (UPDATE, authenticated): using (((auth.jwt() -> 'user_metadata'::text) ->> 'role'::text) = 'admin'::text), check none
Keep roles in app_metadata, or a table only your server can change.
- Any signed-in user can read every row in “profiles”Policy "Signed in users can view profiles" (SELECT, authenticated): using true, check none
Replace it with a rule that checks who owns each row.
Checked again after the fix: none of these results come back.
Does Lovable check security for you?
Partly. Lovable says automatic checks of database access, tools reachable without sign-in and vulnerable packages run when you open the publish dialog. Its advanced checks generally wait until you start or schedule them. Lovable also says its checks cannot guarantee that an app is secure.
Read the security view before publishing and start the advanced checks yourself. Treat the query above as a second reading in plain words.
Do real projects leave records open?
Some do. A study published by Crissy Field searched a public web archive for Lovable projects seen between December 2025 and September 2026. It identified 159,041 projects, of which 34,545 used Supabase, and counted 24,664 pages that sent database records to a visitor who had not signed in. On 7,403 of those pages, about three in ten, a table held email addresses. A record sent this way may be meant for the public, so the figures are not a count of leaks and say nothing about your project. Lovable’s built-in database was not examined.
Run the query on your own project. Then open the published app in a private window and notice which records appear before you sign in.
What stops when credits run out?
Lovable says published pages keep serving while backend services, such as the database, file storage and sign-in, pause. AI features inside the app fail without showing a message once their allowance and your credits are used up. Your data is kept, but you cannot open or export it until services restart. To a visitor this can look like a normal page with a form that goes nowhere.
Watch the balance, or switch on automatic top-up on a paid plan. After adding credits, open More, then Database, and choose Wake up.
Will undoing a change bring records back?
No. Lovable says reverting to an earlier version restores code only. Records added or edited since then stay as they are, and so do structure changes made by an accepted draft. Separate daily backups reach back roughly 14 days, so a mistake noticed after three weeks can be older than every copy. Restoring one loses newer records, cannot be undone and leaves uploaded files out.
Before a database fix, open More, Database, Manage, then Settings, and export the data. Download uploaded files from Storage as well.
Can a stranger call your server functions?
They can send them a request. Lovable says anyone who knows the address of a server function or edge function can do that, so each one has to check who is asking. A function that sends email, changes an order or spends AI credits without such a check serves whoever finds it.
Paste one function at a time into the key and server code check linked below. Ask Lovable to add a caller check wherever one is missing.
Should .env stay in your repository?
In a Lovable project, yes. Lovable says it needs that file committed so previews and published builds can read values beginning VITE_. Those values are built into the code visitors download, so only public ones belong there. Payment keys and AI provider keys go in its Secrets manager.
If a private key ever sat in the file, replace it, save the new one in Secrets and keep the file itself.
Was your project public in spring 2026?
On 22 April 2026 Lovable reported that other users holding a link could view the chat history and source code of public projects between 3 February and 20 April. It says private projects and Lovable Cloud were not affected, and that this access has been closed.
If yours was public then, we suggest replacing every password or key that was typed into the chat or written in the code.
A shared link that still says Lovable App
This made-up page went live with its starter title. The free website check reports it, because a browser tab or shared link may show those words where your business name belongs. With a title of its own, the page passes.
- Your page still shows Lovable’s starter detailsIn the page as sent
In Lovable, ask in the project chat for your own page title, description and social sharing picture, or open the publish dialog and choose Social & search appearance in its ⋮ menu. Publish, because the live site changes only then. Run this check again.
Checked again after the fix: none of these results come back.
Why can’t search tools find your app?
Lovable says apps created from 13 May 2026, or 22 June on Enterprise plans, send finished pages from the server. Older ones are rendered for verified search and AI crawlers, so another tool may receive an almost empty page. Unpublished projects, restricted ones and branded workspace addresses never appear in search.
Use URL Inspection in Google Search Console to see what Google receives. On a workspace address, connect your own domain first.
Which address do customers end up on?
The lovable.app address cannot be removed. Once your own domain is marked primary, the other connected domains and the lovable.app address redirect to it. With no primary, nothing redirects and each connected domain serves the app equally.
Mark your domain primary in the project’s domain settings, then open the old address and watch it forward.
What does one query leave unread?
It reads table rules, file storage rules and permissions. It never reads your rows, tries the app from outside or looks at server functions, secrets or your credit balance. We have not yet run it inside a Lovable project of our own. The editor may ask you to confirm, because the query names permissions such as delete, although it only reads. A clean result means the listed checks found no match.
Fix one thing, publish and prove it
In Plan mode, ask for a single change, read the plan and approve it. Try it with two different accounts, publish the changes and run the query again. Then enter your published address in the free website check. Security results there appear once you prove the app is yours.
Sources, read 30 November 2026
- Lovable: securityno date shown
- Crissy Field: Lovable studyno date shown, cites a 2 November 2026 article
- Lovable: out of creditsno date shown
- Lovable: history and revertno date shown
- Lovable: database backupsno date shown
- Lovable: edge functionsno date shown
- Lovable: secretsno date shown
- Lovable: April 2026 incidentpublished 22 April 2026
- Lovable: search and AI answersno date shown
- Lovable: custom domainsno date shown
- Lovable: database and SQL editorno date shown
- Lovable: Plan modeno date shown
V.I.B.E is made by TNAADO. It is not part of, or endorsed by, Lovable or Supabase.
Advanced app builds
TNAADO builds multiplatform products that take payments and protect sensitive data.
Start a project