What we check
Tightlatch is a point-in-time check of a published list of common Supabase misconfigurations. This page is that list: 25 checks today, and 15 more coming soon. It also shows how we rate what we find, and what we don't check.
How we rate findings
| Severity | Meaning |
|---|---|
| Critical | A stranger with no account can read private data, change data, or take control (for example a secret key in your app's code). |
| High | Anyone who signs up can read or change other users' data, or a stranger can read data that looks personal or can add data without limits. |
| Medium | A real weakness that needs another condition to be exploited, or exposes data that does not look personal. |
| Low | Hardening. Worth fixing, not urgent. |
| Info | Worth knowing. Often intentional (for example a public product catalog). Not counted in the headline. |
Every finding carries evidence lines, so you can see why we rated it the way we did. A few rules apply across the checks:
- What we can actually read wins. If our live check gets rows back from a table, we rate the finding on that, not only on what the rules say. If the rules look open but no rows come back, we lower the rating by one level and say so.
- Personal-looking columns raise the rating. We judge a table by the names of the columns a role can read. We never read the values.
- Public catalogs are not alarms. A table that looks like a public catalog (products, posts, FAQ and similar) with no personal-looking columns is shown as Info: "Readable by anyone (looks intentional)".
- You can mark a table as meant to be public. After you verify, you can mark a table public from your results. Its public-read findings then show as "Marked public by you". If a stranger can read columns that look personal, the finding stays at Medium or higher.
- Narrowing rules count. If a restrictive rule ties access to the signed-in user, a team or a server-set claim, we lower the rating by one level and say so.
What your results headline means
- Counts, like "2 critical, 3 high, 1 medium, 1 low", when we found Critical to Low issues. If some checks could not run, the headline adds "Partly checked" and lists the gaps.
- "No issues found in the checks we ran." only when we found no Critical to Low issues and every check ran.
- "Partly checked. No issues found in what we could check." when we found nothing but something could not be checked. We list what. A partial scan never gets the clean headline.
A clean result means none of the checks below found a problem at that moment. It doesn't mean your app can't be attacked.
The checks
22 checks can raise findings. 3 more are coverage notices, listed after them.
Table rules (Row Level Security and policies)
- TL-RLS-001 Row Level Security is off on a table the API can reach
Without Row Level Security, the table has no row rules at all. We also note rules that exist but are not enforced.
Critical when strangers have access, High when only signed-in users do, Info when no API role has access today.
- TL-RLS-002 A stranger can read rows
A request with only your public key got rows back. We report the estimated number of rows and the columns a stranger can read, without downloading any rows.
Critical for personal-looking or private content columns, High for names and similar, Medium for other data, Info for public catalogs.
- TL-RLS-003 Anyone can read every row (public read policy)
A read rule that lets everyone, including strangers, see every row (for example
using (true)).Critical, High or Medium depending on the columns; Info for public catalogs and tables you marked public.
- TL-RLS-004 "Signed-in only" data while anyone can sign up
A read rule that lets any signed-in user see every row, while anyone on the internet can sign up and become a signed-in user.
High when email confirmation is off, anonymous sign-ins are on, or the data looks personal; Medium otherwise; Info when sign-ups are off.
- TL-RLS-005 Anyone can add rows, or add them under someone else's name
An insert rule that lets strangers add rows, or lets users create rows that claim to belong to someone else, or mark their own order as paid.
Critical when strangers can set an owner or a column like
payment_status; High or Medium otherwise. - TL-RLS-006 Users can change rows that are not theirs
An update rule that lets people edit rows they can see but don't own, or hand their own rows to someone else.
Critical for strangers, High for signed-in users; Medium (High for personal data) when users can only hand rows to others.
- TL-RLS-007 Users can give themselves admin rights, credits or a paid plan
Users can edit a privileged column on their own row, like
role,is_admin,credits,planorpayment_status.Critical for role and admin columns, High for money and plan columns, Medium for status.
- TL-RLS-008 Anyone can delete rows
A delete rule that lets people delete rows that are not theirs.
Critical for strangers, High for signed-in users.
- TL-RLS-010 A rule trusts data users can edit themselves
A rule that reads
user_metadata, which any user can change about themselves.High.
Secrets in your app's code
We look at your app's public page and up to 8 of its scripts. We only search for secrets after you prove the project is yours, we store a masked value (first 4 and last 4 characters), and we never use a key we find.
- TL-SEC-001 Supabase secret key in your app's code
A secret or service_role key skips every rule in your database.
Critical.
- TL-SEC-002 Supabase account token in your app's code
A personal access token controls your whole Supabase account.
Critical.
- TL-SEC-003 Other secret keys in your app's code
Keys for Stripe, AWS, OpenAI, Anthropic, GitHub, SendGrid, Resend and Google, and private keys.
Critical for Stripe live keys, private keys and AWS keys with their secret; High for AI, GitHub and SendGrid keys; Medium for Stripe test keys, Resend keys and AWS key IDs found alone; Info for Google API keys, which are often public on purpose.
- TL-SEC-004 Your app uses a legacy Supabase key
Supabase plans to remove legacy keys. Switch to a publishable key.
Info.
- TL-SEC-005 A secret is written into your database code
A key or password inside a rule, a function, a view or a column default. Builders often sync this code to GitHub.
High (Medium for lower-risk kinds of keys).
File storage
- TL-STO-001 Files in a public bucket can be downloaded by anyone with the link
Fine for avatars and images. Not for invoices or documents.
High when the bucket name looks private (invoices, documents, receipts and similar), Medium otherwise, Info when it looks public (avatars, images, logos).
- TL-STO-002 Anyone can list or read the files in a bucket
A storage rule that lets strangers list or read a bucket, including buckets set to private. We confirm it by asking for a list of one file and stop reading before any file name arrives.
High for a private bucket, Medium for a public one.
- TL-STO-003 Anyone can upload files
Strangers could use your storage for their own files, and you pay the bill.
High.
Functions and views
We read your functions' settings through our check function. We never call them.
- TL-FN-001 A privileged database function strangers can call
A function that runs with its owner's rights (security definer), that strangers can call, and that doesn't check who is calling.
Critical when it deals with keys, secrets or passwords, returns personal data, or builds SQL from input; High otherwise; Medium when it does check who is calling. A function that builds SQL from input is also reported when only signed-in users can call it, as Critical, and the finding says so: strangers cannot call that one, but anyone who signs in can.
- TL-FN-006 An extension's functions can be called through your API
An extension installed where your API can reach its functions.
High for
http,pg_net,dblinkandpostgres_fdw, which can reach other systems; Low for others. - TL-VIEW-001 A view skips your security rules
A view that runs with its owner's rights, so the rules on its tables don't apply.
Critical when it exposes your users' sign-in table to strangers; High, Medium or Low depending on who can read it and what it shows.
Sign-up settings
- TL-AUTH-001 Anyone can sign up without confirming their email
Anyone can create a signed-in account with an address they don't own. The fix is a setting in your Supabase dashboard.
Medium. It also raises "Signed-in only" data findings (TL-RLS-004) to High.
Our own function
- TL-META-003 A function that looks like Tightlatch's is in your database
Any function named
tightlatch_something other than our exact, verified check function. It may be a leftover, an edited copy, or something hiding behind our name.High when it runs with its owner's rights and the public or signed-in role can call it; Medium otherwise.
Coverage notices
These tell you what we could not fully check. They are shown above your findings, they make the headline "Partly checked", and they are never counted as findings or used to sell you anything.
- TL-META-001 Storage could not be fully checked
The snippet ran as a role that can't see every storage rule. Run it with the role selector on postgres.
- TL-META-002 Some checks did not finish
Lists the steps that failed or timed out, tables your app uses that our function didn't list, and any time we had to assume your API serves only the
publicschema. - TL-META-004 Rules we could not evaluate
Lists every rule we could not read with confidence, by table and name. We never treat a rule we can't read as safe.
Coming soon
These 15 checks are designed but not running yet. Until they ship, your results don't cover them.
- TL-RLS-009 A rule is not tied to the signed-in user
- TL-RLS-011 Row Level Security is on but there are no rules
- TL-STO-004 Signed-in users can read, replace or delete other users' files
- TL-FN-002 A privileged database function any signed-in user can call
- TL-FN-003 Privileged function without a fixed search_path
- TL-FN-004 A callable function builds SQL from input
- TL-FN-005 A callable function trusts data users can edit
- TL-VIEW-002 A materialized view is readable through the API
- TL-AUTH-002 Anonymous sign-ins are on
- TL-AUTH-003 Phone sign-ups are confirmed automatically
- TL-RT-001 Changes to a table may be broadcast to anyone
- TL-RT-002 Deleted rows are broadcast in full
- TL-EXP-001 New tables are reachable by the public role by default
- TL-EXP-002 API roles can create objects in an exposed schema
- TL-EXP-003 The public role can write to tables if a rule ever allows it
What we do not check
- Your application code, beyond searching it for secret keys.
- Edge Functions.
- Business logic outside the database.
- What signed-in users can reach in practice. We never sign in, so we judge signed-in access from your rules.
- Password policy, multi-factor sign-in, CAPTCHA, redirect URLs and rate limits. Supabase's public settings don't show them.
- GraphQL.
- The inner workings of database extensions. We only check whether their functions can be called through your API.
- Custom roles other than the public (anon) and signed-in (authenticated) roles.
- Schemas your API does not serve.
- Rules we cannot parse. We list them instead of judging them.
- Anything not on the list above.
A clean result means none of the listed checks found a problem at that moment, not that the app cannot be attacked. The checks under "Coming soon" are not covered yet.
Free scan. Full report with every fix is $49.