Rate Limit Boundary Fairness
Check that rate limits and quotas are assigned and consumed per identity, so exhaustion of one caller cannot perturb another's authorization guarantees
Use when: the API enforces rate limits, quotas or concurrency caps alongside its authorization checks
Avoid when: no rate limit exists at all, so there is no consumption model to probe for boundary fairness
Procedure
- Record where limits are measured: gateway, service or handler, and what identity the limiter observes.
- Hit one identity's limit deliberately using your own account and observe the exact refusal shape at the edge.
- Verify another identity's allowance stays unaffected immediately afterward, which is the isolation property this boundary exists to check.
- Test limit bypass surfaces where the limiter's key can change: alternate credentials for the same account, segmented IPs and tokenless calls.
- Check whether exceed responses leak resource existence or account state the limiter should not have touched.
- Record which limiter proxy or gateway each endpoint actually encounters, because a bypass is only meaningful against that one.
Signals
- Exhausting your own limit takes down the shared key space in a way that interferes with a different account's calls.
- A limiter keyed on a header or route pattern silently permits alternating between your credential variants at full speed.
- Limit-exceeded responses still return data for operations your early phases proved should be refused.
- Two endpoints key the same account differently, so the effective ceiling is the sum of inconsistent counters.
Patterns
1. Isolation
exhaust alice's account -> bob's next call -> 200 (isolated=yes)
2. Key bypass
rotate X-Forwarded-Origin values in your own surface t0..tN -> counters=each-new -> key is mutable
3. Result row
limit=account-keyed bypass-surfaces=alt-header+alt-route isolation=partial
Pitfalls
- Assuming limit enforcement is centralized, where a single gateway often hands over to a dispatch surface with its own counters.
- Ignoring that a limiter anomaly doubles as an authorization-perturbation: it may hide data on allowed but blocked routes.
- Mistaking a per-limiter bypass finding for a machine-wide bypass, when only the specific gateway or proxy variant is affected.
Done when
- Every limiter surface actually facing your operations is tested with per-identity quota exhaustion.
- Cross-account isolation is verified against your own accounts and bypass surfaces are recorded per gateway or proxy in play.