You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: auth email sign-in and sign-up codes have no long-window per-account cap #462
main at d939969 (static source review; not executed against a deployment). Node/OS/deployment: not applicable.
Minimal reproduction
Reported by review, not independently reproduced. Exploit-level detail is intentionally omitted per SECURITY.md.
Missing control: the 6-digit email sign-in and sign-up codes are bounded per code (a small attempt count and a short expiry) but there is no long-window cap on how many codes can be issued, or how many failed checks can accumulate, for one account over a day. Per-code limits alone do not bound the cumulative guessing budget over time.
Sign-in code issuance: packages/auth/src/auth-core.ts:1431; storage and check: packages/auth/src/auth-store.ts lines 1381-1396.
Activity
fix(auth): close account-enumeration, rate-limit and flow-binding gaps
fix(auth): close account-enumeration, rate-limit and flow-binding gaps
Fix account-enumeration, rate-limit, CSRF-binding and store-lock secu…