Open source, runs entirely on your machine

Find out if one customer can read another customer's data. Before they do.

tenantbleed signs in to your Supabase app as two real users, attacks across them, and checks the database to prove whether your isolation actually holds. Every finding is a real attack that worked, with the exact request that leaked and a fix that is already tested.

Read the docs

Opens a local web UI in your browser. No setup, no account.

Local only Never touches production Nothing leaves your machine AGPL-3.0

What it has found in the real world

89%
of 18 known issues proven in side-by-side tests. Six other tools proved none.
33%+
of 31 open-source Supabase apps run had a real, proven data leak.
100%
of 24 proposed fixes passed their test: attack blocked, access preserved.
4%
of a linter's 422 warnings were real, proven problems on one platform.

How these were measured

This is what you get back.

A calm, dense report that reads like a well made terminal log. The coverage screen gets equal weight to the findings, because a report should never say clean when coverage is incomplete.

The findings screen: a list of issues, each with a plain-language title over the exact evidence.

Findings. Each row leads with a plain-language title over the exact evidence.

A single finding opened: the full request and response, where to fix, the fix SQL and an AI-fix prompt.

Finding detail. The request, the proof, where to fix, the fix SQL and an AI-fix prompt.

The status screen: what is holding and what needs fixing, each described by its most serious finding.

Status. What is holding and what needs fixing, right now.

The coverage screen: every reachable object with a clean or breached result, and what was not tested and why.

Coverage. Every reachable object, clean or breached, and what was not tested and why.

Every finding opens to the exact request, the leaked row, the SQL fix, and a prompt you can paste into your AI tool.

Linters say the policy exists. tenantbleed proves it isolates.

A linter reads your rules and answers with a long list of maybes. tenantbleed runs the attack across two real tenants and answers with what actually happened in the database. Status codes lie. The database does not.

Your app can work perfectly and still leak.

In a Supabase app, a few lines of database rules decide who sees what. Miss one condition and any signed in user, or anyone at all, can read or change your customers' data. Every screen still works, so tests and code review miss it. AI builders write these rules fast, and linters answer with a long list of maybes.

What it checks

Two real accounts, real HTTP requests, and every result checked in the database. No AI decides whether something leaked.

Cross-tenant and anonymous reads
Reads every table, view and function as anon, tenant A and tenant B, looking for the other tenant's rows.
Cross-tenant update and delete
Targets the other tenant's row by primary key, then reads the database back. Status codes lie; the database does not.
Cross-tenant insert
Inserts rows whose foreign keys point at the other tenant's parent rows.
Re-parenting
Rewrites the foreign key on its own row to move it into another tenant, catching a missing WITH CHECK.
Impersonation
Creates rows that name the other tenant as owner or author.
Function leaks and writes
Calls exposed functions with the other tenant's ids, exactly as PostgREST runs them, in a rolled-back transaction.
Self-escalation
Tries to make itself an admin, or add itself to another organization, by editing its own record.
Metadata, storage, GraphQL
user_metadata escalation, cross-tenant bucket access, and /graphql/v1 reads when pg_graphql is on.

Run it in about a minute

  1. Run one commandWith your local stack running, type npx tenantbleed ui in your project.
  2. It runs against your local stackPointed at your local Supabase, built from your migrations, it creates two real users, attacks across them, then checks the database to see what got through.
  3. Read the resultIn plain English, with the exact request, the leaked row, a fix, and a prompt for your AI tool.

Safe by design. It runs entirely on your own machine and binds to loopback only. The probes write and change rows, so you point it at a local dev or staging database, never production. It refuses non-local targets.

Before you run it

Does it touch my production data?
No. It writes and changes rows, so you point it at a local or staging database. It refuses non-local targets and binds to loopback only.
Do I need an account or an API key?
No. It is free and open source. Nothing is sent off your machine.
How is this different from the Supabase advisor or a linter?
Those tell you a policy exists. tenantbleed runs the attack across two real tenants and proves whether it isolates.
What does a finding include?
A plain English title, the exact request and response, the leaked row, a tested SQL fix, and a prompt for your AI tool.

Point it at one Supabase project. See what one user can do to another.

Free and open source. No account, no sign up, nothing sent off the box. It runs against your local Supabase stack, built from your migrations, and never touches production.

Star on GitHub Read the docs