AnyCreo Free fixes All free fixes

Free guide · Your data

Your database says “Unrestricted”. Is that bad?

If your app keeps its data in Supabase, as many Lovable apps do, a red “Unrestricted” label on a table means anyone can read it, no login needed. Here’s a two-minute check for your own app, Supabase’s own free fix, and the prompt to paste.

What “Unrestricted” means in Supabase

In our reel (a cartoon skit, so the app and its users are made up), a founder opens his database and sees a red label next to every table: Unrestricted. Claude, the AI that built the app, explains: “That means… anyone can read it. Every name, every email. No login needed.”

That label is real. In Supabase’s Table Editor (the screen that lists your tables), a table without protection gets a red “Unrestricted” badge. Hover over it and Supabase says: “This table can be accessed by anyone via the Data API as RLS is disabled.”

Why the key isn’t the lock

Your app talks to Supabase with a publishable key. It sits inside your web page on purpose, and Supabase calls it “Safe to expose online”, so anyone can copy it. Strangers are kept out by rules stored in the database itself, called Row Level Security (RLS). Each rule says who can see or change which rows, for example “each user sees only their own orders”.

A table in the public part of your database with RLS turned off has no rules at all. Supabase’s own check calls this an error: “Anyone with your project URL can read, edit, and delete all data in this table because Row-Level Security is not enabled.”

Why the AI built it that way

When you make a table by clicking in Supabase’s dashboard, Supabase turns RLS on for you. AI tools usually make tables by writing code instead, and then, in Supabase’s words: “When you create a table with SQL, enable it yourself.” If nobody asks, the AI may not. As Claude puts it in the reel: “Rules on every table. You never asked me for any.”

This week’s news. Crissy Field, a security firm in Hamburg, looked at 159,041 Lovable projects together with the German paper Handelsblatt (reported November 2, 2026). 24,664 sites sent records from their Supabase database “as soon as they loaded, without requiring a login”, and on 7,403 of those sites the records included email addresses. The firm says its numbers “should therefore not be read as a confirmed data leak rate”: some addresses may be public contact emails or test data. On single sites they found a forum with more than 200,000 chat messages and a service with over 1,000 passport records (Crissy Field’s report).

Check your own app in two minutes

Only check projects you own. You don’t need to read any code.

  1. Open your project in Supabase

    Sign in at supabase.com and open the project your app uses. Not sure which one? Ask the AI that built your app: “Which Supabase project does my app use?”

  2. Look for red “Unrestricted” badges

    Click Table Editor in the left sidebar. Any table with a red Unrestricted badge next to its name can be read by anyone.

  3. Run Supabase’s Security Advisor

    Click Advisors, then Security Advisor. On the Errors tab, look for “RLS Disabled in Public”. Each one names a table that needs rules.

  4. Lovable builders: read your Quick scan

    Lovable runs a Quick scan “automatically every time you publish”, and its Security view lets you run a deeper one (Lovable’s docs). Read what it flags instead of clicking past it.

No red badges and no “RLS Disabled in Public” errors means every table has rules. Whether those rules are right is what Step 3 tests.

The fix: Supabase’s own free skills

Supabase publishes free agent skills in its supabase/agent-skills repository on GitHub. A skill is a set of written instructions that your coding agent (an AI that writes and runs code on your computer, like Claude Code or Cursor) reads and follows. Supabase says they work with “18+ AI agents including Claude Code, GitHub Copilot, Cursor, Cline, and many others.”

Made by
Supabase
Licence
MIT Free to use, change and share
Price
Free Running it uses your AI plan
GitHub stars
About 3,000 Checked November 5, 2026

The rule that fixes the reel

The repo has two skills, supabase and supabase-postgres-best-practices. The second one lists “Security & RLS” as Critical, and its rule file says, word for word:

“Row Level Security (RLS) enforces data access at the database level, ensuring users only see their own data.”

In plain words: lock every table, then write a rule for who gets in. Or as Claude says in the reel: “Lock every table. Each user sees only their own rows.”

Step 1: Install it with one line

Any coding agent. It needs Node.js, a free program from nodejs.org. Open a terminal (the window where you type commands) in your project’s folder and run:

npx skills add supabase/agent-skills

Claude Code, as a plugin. Two lines, one after the other:

claude plugin marketplace add supabase/agent-skills claude plugin install postgres-best-practices@supabase-agent-skills

Both lines are from the agent-skills README. Supabase’s AI skills docs have more ways to install.

If your coding agent was already open, start a new session so it loads the skill.

Building in Lovable or another browser tool that can’t install skills? You can still paste the prompt below into its chat. It spells out the main rule, so your AI can follow it without the skill. The two-minute check works on any Supabase app.

Step 2: Paste this prompt

It asks your AI to find every open table, decide with you who should see what, lock the tables, and explain it all in plain English.

The prompt

Use the supabase-postgres-best-practices skill to check my Supabase database. I'm not a developer, so explain everything in plain English.

1. List every table in the public schema and say whether Row Level Security (RLS) is on. Flag every table Supabase would mark "Unrestricted".

2. For each table, tell me who you think should be able to read, add, change or delete its rows: anyone, signed-in users, or only the person the row belongs to. Ask me before you decide.

3. Turn on RLS for every public table and write policies that match my answers. By default, people should only see and change their own rows. Never write a policy that lets everyone in (like "using (true)") on a table with personal data.

4. Don't delete or change any data. Make the changes as a migration I can review before it runs.

When you're done:
- Show me what you changed, in plain words.
- Tell me how to check in the Supabase dashboard: no red "Unrestricted" badges in the Table Editor, and no "RLS Disabled in Public" errors in Advisors > Security Advisor.
- Give me step-by-step instructions to test it while logged out, and with two different test accounts.

While it works

  • Your app may look empty for a moment. Supabase: “Once RLS is enabled, no data is accessible through the API when using a publishable key, until you create policies.” The policies your AI writes next let the right people back in.
  • Answer its questions. Only you know whether, say, a product list should be public and a messages table private.
  • Supabase also has a secret key that skips every rule. It must never be in your web page or your code.

Step 3: Check it worked

  1. Run the two-minute check again

    No red badges in the Table Editor. In Security Advisor, click Rerun linter: the “RLS Disabled in Public” errors should be gone.

  2. Visit your app logged out

    Open your app in a private window without signing in. Pages that show people’s data should be empty or ask you to log in. In the reel, after the fix: “Logged out, your tables show nothing now.”

  3. Try two test accounts

    Sign up twice with your own email addresses (for example with +a and +b added before the @, if your email allows it). Add something private as account A, then log in as B. B must not see it.

  4. Ask who might already have seen it

    Which of my tables were "Unrestricted" before today, and what personal data was in them? Where can I see my Supabase API logs?

    If personal data was open, you may have to tell your users. The rules depend on where you and they live; a lawyer can tell you what applies.

Honest catches

  • A table with rules can still be open

    A table can have RLS on and still let everyone in, if its policy says so. Badges and scans catch missing rules better than wrong ones, so do the logged-out and two-account tests too.

  • Supabase’s October change doesn’t fix old tables

    Supabase announced that from October 30, 2026, new tables on existing projects aren’t opened to its API automatically. For tables you already have, Supabase says they “keep their current grants and stay reachable” (Supabase changelog), so older apps still need the check.

  • The skill doesn’t test your live app

    The skill guides your AI while it works, and it covers your database only. Testing your live app is up to you. For a check of the rest of your code, see Before you launch, ask for a security audit.

The reel ends with Claude saying “I only do what I’m asked.” So before you launch, ask your AI to check every table.

AnyCreo is in beta · Free while in beta

Get your app right the first time

AnyCreo plans, builds, tests and secures your app on your PC, with the AI plan you already have. You don't have to ask for security or testing. Join the beta list for your invite.

We only email you about AnyCreo. Unsubscribe any time. Privacy · What is AnyCreo?

Credits and sources

Supabase Agent Skills by Supabase (github.com/supabase/agent-skills), MIT licence. The short quotes on this page come from Supabase’s README, skill files, docs and dashboard, from Lovable’s docs, and from Crissy Field’s report; everything else is in our own words. The reel is a cartoon skit: the app, its tables and its users are made up. The facts are not.

Sources, all opened and checked on November 5, 2026:

  1. [1] Supabase, agent-skills README on GitHub: the two skills, “Security & RLS (Critical)”, the install lines, MIT licence, about 3,000 stars.
  2. [2] Supabase, security-rls-basics.md in the same repo: the rule quoted above.
  3. [3] Supabase docs, API keys: the publishable key is “Safe to expose online”.
  4. [4] Supabase docs, Row Level Security: no data through the API with a publishable key until you add policies.
  5. [5] Supabase docs, Tables: RLS is turned on for dashboard-made tables; with SQL, “enable it yourself”.
  6. [6] Supabase docs, Database Advisors: lint 0013 “rls_disabled_in_public”, level ERROR.
  7. [7] Supabase dashboard source code on GitHub (supabase/supabase): the “Unrestricted” badge and its hover text, and the advisor title “RLS Disabled in Public”.
  8. [8] Supabase, changelog: tables not exposed to the Data API automatically, published April 28, 2026.
  9. [9] Lovable docs, Security: Quick scan, Deep scan, Security view.
  10. [10] Crissy Field GmbH, research report on Lovable apps, with Handelsblatt (reported November 2, 2026).
MIT licence notice for supabase/agent-skills

Copied word for word from the project’s LICENSE file on November 5, 2026.

supabase/agent-skills, by Supabase LICENSE

MIT License

Copyright (c) 2026 Supabase

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

This site’s fonts, Bricolage Grotesque and Geist, are used under the SIL Open Font License (Bricolage Grotesque licence, Geist licence).