N-01 · Field note
A fraud check that is too slow gets turned off
Why the latency budget comes first when you design a check that sits in the login path.
Slow checks get bypassed
If a risk check adds 300 ms to every login, someone will eventually put it behind a feature flag and switch it off during an incident. A latency budget is part of the security design, not a performance nice-to-have. Set the budget first, then pick signals that fit inside it.
Decide what failure means
Every dependency in the login path will fail eventually. Decide in advance whether a failure means allow, challenge, or block, and test it. For account security, a step-up challenge is usually the right default: it costs a real user a few seconds and costs an attacker the takeover.