Lab results
Leaked password protection disabled (Supabase Auth warning)
WARN
Supabase Auth can check new passwords against the Pwned Passwords list from HaveIBeenPwned and reject the ones that have leaked. The warning says this is switched off, so a user can sign up with a password that attackers already have.
Supabase’s advisor calls it “Leaked Password Protection Disabled”. Its docs say: “Supabase Auth uses the open-source HaveIBeenPwned.org Pwned Passwords API to reject passwords that have been leaked”. Supabase docs
Reviewed:
Codes and titles are Supabase’s, the explanations are mine.
Check it yourself: Authentication settings
- Open your project in the Supabase dashboard.
- Go to your project’s Auth settings, to the password settings.
- Look for leaked password protection and see whether it is switched on.
Prove it
Try it with a test account:
- Sign up a new test account on your app with a password that appears in breach lists, for example Password123!.
- If the sign-up works, leaked password protection is off.
- Delete the test account afterwards.
Use a test address, never a real user’s account.
Why AI-built apps get it
This is a setting of your project, not something in your code or your migrations, so an AI tool that builds the app has no reason to touch it. It stays as it was until someone opens the Auth settings and looks.
The real fix
Switch leaked password protection on in your project’s Auth settings. Per Supabase it is available on the Pro Plan and above. On a plan without it, set stricter password requirements in the same settings.
What HaveIBeenPwned’s list is
HaveIBeenPwned is a public service that collects passwords exposed in data breaches. Its Pwned Passwords list is the part that matters here: a very large set of passwords that are known to be circulating among attackers. Supabase Auth uses the open-source Pwned Passwords API to reject passwords that have been leaked.
The reason this is worth a switch is how attacks on logins usually work. Someone with a list of leaked passwords tries them against many sites in turn, hoping that a person reused one. A password that is on the list is the first thing such an attempt tries. Refusing it at sign-up takes that easy win away.
It does not replace a good password and it does not stop a determined attack on a strong one. It removes the passwords that were never safe to begin with.
Which plan you need
Per Supabase’s documentation on password security, leaked password protection is available on the Pro Plan and above. If your project is on a free plan, the switch is not there to flip, and the advisor warning will stay for as long as that is the case.
That leaves you two honest options. Move to a plan that has it, which is a business decision about your project rather than a technical one. Or accept the warning and cover the same risk in the settings you do have, by asking for stricter passwords in the same Auth settings.
Write down which option you chose. A warning you decided to live with is a different thing from one nobody has read, and your future self will want to know which of the two it is.
Why this warning has no lint number
Most pages in this section carry a code such as 0013 or 0024. Those numbers belong to Supabase’s database linter, which reads your catalog with queries and reports what it finds. This warning is not one of them. It reports an Auth setting, and a setting cannot be found by querying your tables.
That is also why there is no SQL on this page. You check it by looking at the settings, as in the box at the top, or by trying a leaked password on a test account, as in the Prove it section. You may see people refer to it as lint 0020. That number belongs to a performance lint about table bloat, not to this warning.
The same split explains why the SQL checklist on this site lists it as a setting instead of a query: there is nothing for a query to read.
Rx
Fix it with your AI, then make sure it holds
Paste this into Lovable, Bolt, Cursor, Claude Code or whatever you built with. It asks for the fix and for an explanation you can check.
Watch out: Switching it on protects passwords when they are set or changed. It says nothing about accounts that already use a leaked password, so do not read a clean advisor as proof that every user is safe.
Your AI says it’s fixed. Is it?
The warning going away is not proof. In a Second Opinion I read your code and your database rules, prove every critical problem on your live app with two test accounts and check your fixes again for free within 30 days. Paste the Advisor’s warnings into your checklist when you book: anything it already flagged does not count toward my refund guarantee. From $299, report within 2 business days of complete access.
My Supabase project shows the warning Leaked Password Protection Disabled. Do not change any code. Tell me in plain English which settings in my project’s Auth settings control password strength, which of them my plan allows and what changes for my users if I switch on leaked password protection. Then list the places in my app where users set or change a password, so I can test them.
Signed
Questions about Leaked password protection disabled
Is leaked password protection free?
According to Supabase’s documentation it is available on the Pro Plan and above. On a plan without it, you can still set stricter password requirements in the same Auth settings.
What does it check against?
It uses the open-source Pwned Passwords API from HaveIBeenPwned to reject passwords that have been leaked. It checks passwords when they are set, which is what the Supabase documentation describes.
Why is there no lint code like 0020?
This warning reports an Auth setting, not a database check, and Supabase’s numbered lints read the database. The number 0020 belongs to a performance lint about table bloat.
Before you change anything
Often found together
Warning gone? Get it checked.
From $299. Ready within 2 business days of complete access. If I find no problem rated medium or higher that your own scan missed, I refund the full price automatically.
Replies within 2 business days.