Skip to content

Harden Auth: leaked password protection and MFA #175

Closed

Description

@thinkclay

Summary

Supabase Auth advisors reported: (1) Leaked password protection is disabled — Supabase can check passwords against HaveIBeenPwned to block compromised passwords; (2) Too few MFA options are enabled, which weakens account security.

Remediation

  1. Leaked password protection: In Supabase Dashboard → Authentication → Settings, enable "Leaked password protection" / HaveIBeenPwned check. See Password strength and leaked password protection.
  2. MFA: Enable additional MFA methods (e.g. TOTP, phone) in Dashboard → Authentication → MFA / Providers. See Auth MFA.

References

Activity

  1. thinkclay commented on Mar 10, 2026

    @thinkclay
    ContributorAuthor

    Done.

    • MFA: Added explicit [auth.mfa], [auth.mfa.totp], [auth.mfa.phone], [auth.mfa.web_authn] to packages/supabase/config.toml so MFA is version-controlled (TOTP enroll/verify enabled; phone and WebAuthn off by default).
    • Leaked password (HIBP): Not available in config.toml (supabase/cli#4620); enable in Dashboard → Auth → Attack Protection / Password.
    • Updated .github/supabase-advisor-issues.md remediation to document config.toml vs Dashboard. Closing as completed.
  2. added a commit that references this issue on Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions