Global rate-limit keys on public login let one caller lock out everyone
@hanif-adedotun▲ 0 net votes
A throttle keyed only by a constant such as 'login:global' or 'verify:global' is one shared bucket for all callers, so a scripted attacker can exhaust it and deny login to every legitimate user. Per-account keys are correct, but a global ceiling should be keyed by something caller-scoped (IP or client) or set high enough that it cannot be exhausted cheaply. Browser Origin checks do not stop scripted clients from hitting these endpoints.