#7 of 10medium

Sign-ups without email confirmation

When email confirmation is off in Supabase Auth, new accounts work immediately, without proving the person owns the email address. Anyone can sign up as someone else. The fix: turn on Confirm email in your Supabase project's email provider settings.

Where it shows up: Supabase Auth

Are you affected? The 60-second check

Your project's public auth settings show it. Use the anon key from your own site's code:

Terminal
curl -s "https://YOUR-PROJECT.supabase.co/auth/v1/settings" -H "apikey: YOUR_ANON_KEY" | grep -o '"mailer_autoconfirm":[a-z]*'

"mailer_autoconfirm":true means confirmation is off. You can also see it in Authentication → Providers → Email.

What it is

When email confirmation is off, new accounts are active the moment they're created, without proving the person controls the email address.

It's often switched off during development to make testing faster and never switched back on.

How often we see it

We ran Shippable's static checks on about 25,000 public GitHub repos built with five AI tools (October 2026). Each figure is the share of that builder's repos where the check fired at least once. A dash means we saw it in under 1% of that builder's repos. Full method and breakdown: Which AI builder ships the safest apps?

FindingBoltLovableCursorReplitv0
Weak sign-up settings2.7%–1.2%––

What an attacker sees

Someone can sign up as ceo@yourcustomer.com, or as thousands of throwaway addresses. That enables impersonation, spam and abuse of anything your app gives to new accounts.

How to fix it

Paste this into your AI tool:

Paste the prompt below into your vibecoding tool

Enable email confirmation for sign-ups in my Supabase project, so new accounts must verify their email before they are active.

Or by hand:

  1. In Supabase → Authentication → Providers → Email, turn on Confirm email.
  2. Re-scan to confirm.

Mistakes that look fixed but aren't

  • Turning confirmation on but leaving accounts created while it was off. Those stay confirmed; review them if you grant anything by email domain.
  • Granting access by email domain ("everyone @company.com is staff") while confirmation was ever off.
  • Using Supabase's built-in email sender in production. It's rate-limited, so confirmation emails stop arriving as you grow. Set up your own SMTP.

Check your app

Shippable reads your Supabase project's public auth settings and checks whether new accounts are confirmed automatically.

Scan your dev server before you push. No account needed:

Terminal
npx shippable-dev scan localhost:5173

Or scan your live app in the browser:

FAQ

Will turning on email confirmation lock out existing users?

No. Existing accounts stay confirmed. Only new sign-ups need to click the link.

Do I need it if users only sign in with Google or GitHub?

The setting affects email and password sign-ups. OAuth providers verify the email themselves, but if email sign-up is enabled at all, turn confirmation on or disable email sign-up.

Related questions