VibeCPR

← All fixes

Publishing · Access control · Auth

Your app is public to anyone with the link: a share link is not a login

Updated · Applies to: Lovable, Bolt, Replit, Grok, Vercel, Netlify, Supabase

TL;DR fix: An unguessable URL is not access control. "Anyone with the link", "Public", a Vercel or Netlify preview URL and a random *.grok.me/*.bolt.host/*.replit.app subdomain all open for whoever has the address, and in November 2026 Claroc showed app hostnames can be listed from passive DNS without anyone sharing them. Open the app in a private window and run the curl check below on the page and the data endpoint. If it opens, switch the platform visibility to Invite only / Workspace / Only you / Private (or Vercel Deployment Protection, Netlify Private/Password). That gate only covers the page: if the app reads Supabase or Firebase from the browser, also require sign-in and enforce who may read what with RLS. If real data or keys were exposed, rotate keys and change exposed passwords.

Steps

  1. Open the app logged out. Copy the published URL (and any preview URLs) into a private/incognito window where you are signed in to nothing. If you see real data or the app works, so can anyone who has or finds the address.
  2. Run the curl check on the page and the data. curl -s -o /dev/null -w '%{http_code}' on the app URL and on one data endpoint the app calls (find it in DevTools > Network). 200 with data on the data endpoint means it is open even if the page shows a login screen. 401/403 means a gate is in front of it.
  3. Switch the platform's visibility setting. Lovable: Publish > visibility row > Invite only (Workspace on Business/Enterprise). Bolt (paid): Publish > Private. Replit: Tools > Publishing > Sharing > Invite only or Workspace only. Grok: Only you or Invited users. Vercel: Settings > Deployment Protection. Netlify: Project configuration > General > Visitor access > Project visibility. Republish if the platform requires it, then repeat the logged-out check.
  4. Audit the ways around the gate. Vercel Shareable Links, Deployment Protection Exceptions and Protection Bypass for Automation secrets all let people in without signing in. Revoke ones you don't need and treat bypass secrets like passwords. Check every domain: custom domain, generated domain and preview/branch URLs.
  5. Put real auth and authorization in front of the data. If the app talks to Supabase or Firebase from the browser, the platform gate does not protect the database. Require sign-in, then enforce who may read and write each row on the server: Supabase RLS policies scoped to auth.uid() or a membership table, Firebase rules on request.auth. Signing in must not be the same as being allowed in.
  6. Clean up what was exposed. If the app held secrets in its code or data while it was public: rotate the keys, change any passwords that appeared in the page or JavaScript, unpublish apps nobody owns, and decide whether people whose data was exposed need to be told.
  7. Recheck logged out and keep checking. Run the private-window and curl checks again after every publish. AI builders change apps with each prompt, and a new table or a new share link can reopen it.

You built an internal tool, a client portal or a team roster with an AI builder, clicked Publish, and sent the link to three people. The publish dialog said something like “Anyone with the link”, “Public” or nothing at all, and the URL looked random enough that nobody would ever find it.

That setting means no sign-in and no check of who is asking. On November 10, 2026, security firm Claroc published research on apps published from Grok (widely reported as Grok Build; Grok told The Verge the reports concerned the app builder on grok.com, not Grok Build). Claroc’s numbers, from its own write-up:

  • Each published app gets its own hostname under grok.me. Claroc listed 43,601 of those names with common subdomain discovery techniques (passive DNS collects hostnames as people open them).
  • Of the 37,571 apps still online, 35,578 (94.7%) opened for anyone with no sign-in. Only 1,993 answered 401.
  • In the paid account Claroc used, the publish step offered Anyone with the link, Invited users and Only you, with Anyone with the link preselected. SpaceXSI told a reporter that apps are private until their creator shares one and that employee accounts default to Only you; 24 apps built by SpaceXSI and X staff were still open and were taken down after Claroc’s report.
  • In a team app Grok built for Claroc, “Continue with Google” let any Google account in and read, edit and delete records, because the code added whoever signed in to the team before checking membership. Claroc tested that on its own app only.

Coverage: Ars Technica, Engadget, The Verge.

This is not a Grok-only problem. Lovable, Bolt, Replit, Vercel and Netlify all have a mode where a URL alone gets you in, and in several it is the default (details below). Claroc points out that Lovable, Replit, v0 and Bolt also serve apps on their own hostnames.

Step 1: the 2-minute check

1. Private window. Open the published URL, the custom domain, and any preview or branch URLs in an incognito/private window signed in to nothing. Real data on screen = public.

2. curl the page and the data. A login screen on the page proves nothing about the data behind it. Open DevTools > Network in your normal window, find one request that returns real records (/api/..., /rest/v1/..., a function URL), and check both logged out:

URL="https://your-app.example.com"
API="/api/staff"   # one data endpoint your app calls

# Page: 200 = opens, 401/403 = gated, 302/307 = redirect (see where)
curl -s -o /dev/null -w 'page: %{http_code} -> %{redirect_url}\n' "$URL/"

# Data: should be 401/403 or empty for a logged-out request
curl -s -o /tmp/body -w 'data: %{http_code}\n' "$URL$API"; head -c 200 /tmp/body; echo

If the app calls Supabase directly from the browser, the data check is a Supabase REST call with your public key; use the anon-key GET /rest/v1/<table>?select=* check from Fix “RLS policy USING (true)” making a table publicly readable.

3. Read the result:

What you see logged outWhat it meansFix
Page 200, real data on screenPublished as Public / Anyone with the linkStep 2: switch visibility
Page 401/403 everywhere, data 401Platform gate is onCheck the bypasses (Step 3) and every other domain
Page 302 to /login, data 200 with recordsLogin screen in front of the UI onlyStep 4: enforce auth on the data
Page 200 (app shell), redirect happens in the browser, data 200“Auth” is client-side JavaScript onlyStep 4
Page 200, data 401 without a tokenFine: the server checks the dataStill test with a signed-in outsider (Step 4)
Signing in with any Google/GitHub account shows the dataAuthentication without authorizationStep 4, and “Sign in with Google” lets anyone in
Preview or branch URL opens, production is gated (or the reverse)Protection scope doesn’t cover every URLStep 2: widen scope, delete stale previews

We ran these checks against five local stand-in servers that behave like the rows above (see “What we verified”).

Step 2: switch the platform’s visibility setting

Settings as described in each platform’s docs today (we did not click through these UIs ourselves):

  • Lovable. Publish > the visibility row under the website address > Who can view your site? On Free and Pro the options are Public (default, anyone with the URL) and Invite only (people you add, who log in to Lovable; up to 10 per project). Business and Enterprise add Workspace and Custom. Changes take effect when you click Publish or Publish changes. Website access is separate from project access (who can open the editor); making the project private does not make the published site private. Docs.
  • Bolt. On paid plans, Publish > change visibility from Public to Private, then Manage access to invite emails or trusted domains. Public is the default, and Bolt says public sites can be listed by search engines. On the Free plan all published sites are public, and sites on a custom domain can only be public. Teammates can view private sites by default. Docs.
  • Replit. Tools > Publishing > Sharing: Public, Password protected, Workspace only or Invite only. Apps in a personal workspace default to Public; organization workspaces default to a private option. The development preview URL is private by default and isn’t the link to share. Docs.
  • Grok. Per Claroc: Only you or Invited users instead of Anyone with the link. Switched to Only you, Claroc’s test app answered 401 to a stranger on both the page and its data function, and unpublishing took the address offline within seconds.
  • Vercel. Project > Settings > Deployment Protection. Standard Protection protects every deployment except production domains; All Deployments protects production too (both on all plans). Methods: Vercel Authentication (no add-on needed), Password Protection (Pro add-on, $20/month per project, not on Hobby), plus Enterprise-only options. Docs.
  • Netlify. Project configuration > General > Visitor access > Project visibility: Private (logged-in team members) or Password (Pro), scoped to Production and previews or Previews only. New projects start private only if your team has “private by default” on, so check. Netlify’s knowledge base notes private projects can’t receive third-party webhooks (Stripe, Slack); if you need those, keep the project public and protect the app itself. Docs, Password Protection.

After switching, repeat the private-window and curl checks on every URL: custom domain, generated *.vercel.app / *.netlify.app / *.bolt.host / *.replit.app address, and old preview or branch URLs.

Step 3: close the ways around the gate

On Vercel, these are documented features that let people past Deployment Protection (docs). They’re useful; just know which ones are on:

  • Shareable Links: anyone with the link sees the latest deployment of that branch. Revoke links you don’t need.
  • Deployment Protection Exceptions: listed preview domains become fully public.
  • Protection Bypass for Automation: a secret that bypasses protection for all deployments, sent as a header or a ?x-vercel-protection-bypass= query parameter. A URL containing it is a password; don’t paste it into tickets or chat.

On every platform: shared passwords get forwarded. A single shared password (Netlify Password, Replit Password protected, Vercel Password Protection) is better than nothing, but for real data prefer team login / invite lists that name people.

Step 4: put real auth in front of the data

The platform gate protects the page and what that host serves. It does not protect a database the browser talks to directly. If your app calls Supabase or Firebase from the client, the project URL and public key were in the JavaScript every visitor downloaded while the app was public, and those services accept requests from anywhere. (That is our reading of how the pieces fit, not a quote from the platforms.) So:

  1. Require sign-in in the app for anything with real data.
  2. Authorize on the server, per row. Signing in proves who someone is, not that they belong. With Supabase, that means RLS policies scoped to auth.uid() or a membership table, never using (true):
-- Only members of the team can read its rows
create policy "team members read" on public.staff
for select to authenticated
using (exists (
  select 1 from public.team_members m
  where m.team_id = staff.team_id and m.user_id = (select auth.uid())
));

The membership rows must be written by your server or an admin, not by the user signing in. That is exactly what went wrong in Claroc’s test app. Rules that only exist in React don’t count: see Your app’s rules only live in the frontend and users updating their own plan or is_admin column. Firebase: Fix “Cloud Firestore database has insecure rules”. Files: public Storage buckets that allow listing.

  1. Test as a signed-in outsider. Create a fresh account that was never invited, sign in, and confirm you see nothing. If any Google account gets in, follow “Sign in with Google” lets anyone in to turn off open signups, add an allowlist or domain hook, and find policies that only check “signed in”.

Step 5: clean up if it was already exposed

  • Lock first, then confirm logged out that it’s closed.
  • Rotate secrets that were in the page, its JavaScript or its data (Claroc found a timesheet app whose script file held employees’ plain-text passwords). Guides: find and fix leaked API keys, and if the app breaks after rotating Supabase keys, Invalid API key after rotating Supabase keys.
  • Change exposed passwords and sign everyone out if the app has its own accounts.
  • Unpublish apps nobody owns. Claroc’s advice for teams: find which AI builders your people use and check each published app’s access setting.
  • Personal, health or employee data? Get advice on notification obligations. We can’t tell you whether you have them.

Paste this into Lovable, Bolt, Replit or Cursor

This app is published and may be reachable by anyone with the link. Make it
private and make the data safe even if the link leaks:
1. Tell me exactly which publish/visibility setting this platform uses and
   which value restricts it to signed-in, invited people. Do not change it
   for me; give me the clicks.
2. List every place the app reads or writes data (Supabase/Firebase calls,
   API routes, server functions) and for each one say whether a logged-out
   request or a signed-in stranger could get data. Show me curl commands I
   can run logged out to prove it.
3. Require sign-in for every page and API route that touches real data.
4. Enforce authorization on the server, not in React: Supabase RLS policies
   scoped to auth.uid() or a team_members table (never USING (true)), or
   server-side checks in API routes. Signing in must NOT add a user to the
   team; only an admin or server code may insert membership rows.
5. Remove any secrets, passwords or personal data hard-coded in the frontend
   and tell me which keys I need to rotate.
6. Show me all SQL and setting changes before applying them.

What we verified

  • Tested (local stand-ins, Nov 17, 2026): we ran the curl check above against five local Node servers mimicking the table rows: open page + open data (200/200); a platform-style gate (401 on page and data, 200 with the password); a login redirect in front of the UI only (302 page, 200 data with records); a client-side JavaScript redirect (200 shell, 200 data); and server-enforced data (200 shell, 401 data). The check told each case apart. These are not real Lovable, Bolt, Replit, Grok, Vercel or Netlify apps, and we did not test any platform’s protection ourselves.
  • Docs-based (fetched Nov 17, 2026): every Lovable, Bolt, Replit, Vercel and Netlify setting, default and price above comes from the linked docs pages, which can change. The Netlify webhook caveat is from Netlify’s knowledge base.
  • Reported by others: all Grok figures and test results are Claroc’s (linked), cross-checked against Ars Technica, Engadget and The Verge coverage. We did not scan any app or DNS data.
  • Our inference, labeled as such: that a host-level gate does not protect a Supabase/Firebase project the browser calls directly. The membership-policy SQL is an example pattern; for tested RLS patterns see the linked Supabase pages.

Related: USING (true) policies, rules that only live in the frontend, public Storage buckets, Firestore insecure rules, and Check your Supabase RLS in two minutes.

When to get help

Get help if the app held customer, health, payroll or employee data while it was public, if passwords or API keys appeared in the page or its JavaScript, if a login exists but any Google or GitHub account gets in, or if you can't tell which of your apps (or your team's) are published and to whom.

FAQ

Is an unlisted or unguessable link private?

No. "Anyone with the link" means exactly that: no sign-in, no check of who is asking. The link gets forwarded, pasted into chats, saved in browser history and logged by tools in between. Claroc's November 2026 research on Grok-published apps showed a second problem: each app got its own random subdomain, and those names reached passive DNS databases that anyone with an account can search, so the apps could be found without the link ever being shared. Use an access setting that requires sign-in (Invite only, Workspace, Only you, Private) for anything with real data.

Can someone find my app's subdomain if I never shared it?

Possibly. When anyone opens an app on its own hostname (name.grok.me, name.bolt.host, name.replit.app and similar), their computer does a DNS lookup, and passive DNS services collect and index those lookups. Claroc used subdomain discovery to list 43,601 grok.me names and found 35,578 of the 37,571 apps still online opened with no sign-in. Claroc notes that a secret in the URL path stays out of DNS but can still leak through search indexing and link scanners. Don't rely on the name being secret.

Does Vercel or Netlify password protection protect my Supabase data?

It protects the deployment: the pages and anything served from that host. It does not protect a Supabase or Firebase project, which lives on its own host and accepts requests from anyone holding your project URL and public key. Anyone who loaded the app while it was public could have both. Turn on the deployment gate and also require sign-in in the app and enforce access with Supabase RLS (or Firebase rules). This is our reading of how the pieces connect, not a statement from Vercel or Netlify.

Are Vercel preview deployments public?

That depends on the project's Deployment Protection setting, so check it rather than assuming. In Vercel's docs, Standard Protection (available on all plans) protects every deployment except production domains, and All Deployments protects production too. Shareable Links, Deployment Protection Exceptions and Protection Bypass for Automation secrets deliberately let people past it, so review those under Settings > Deployment Protection. Password Protection is a paid add-on ($20 per month per project on Pro, not on Hobby); Vercel Authentication needs no add-on.

How do I make a Lovable app private?

Open Publish, select the visibility row under the website address, and pick who can view it. Lovable's docs say Public (anyone with the URL) is the default on Free and Pro, which also offer Invite only (people you add, after they log in to Lovable, up to 10 per project); Business and Enterprise add Workspace and Custom. Changes apply when you click Publish or Publish changes. This website access is separate from project access, which only controls who can open the project in the editor.

How do I check if my app is public?

Open the published URL in a private window signed in to nothing, then run curl -s -o /dev/null -w "%{http_code}" https://your-app.example.com and the same against one data endpoint the app calls (copy it from DevTools > Network). 401 or 403 means a gate. A 302 to a login page protects the page only, so the data endpoint must also refuse you. A 200 page with a 200 data response full of records means the data is open.

My app was public with real data. What now?

Lock it first (switch visibility or unpublish), then confirm logged out that it is closed. Rotate any API keys and change any passwords that were in the page, its JavaScript or its data. Fix the data layer (sign-in plus RLS) before you republish. Check whatever access logs or analytics your host offers for visits you don't recognize. If personal, health or employee data was exposed, talk to someone who knows your notification obligations; we can't tell you whether you have them.

Sources

Related fixes