# Velocity checks: a step-by-step that follows how practitioners actually do it | Bot Protection For Ticketing

Source: https://queuekeep.com/blog/velocity-checks-a-step-by-step-that-follows-how-practitioners-actually-do-it-2026-12-02/

A velocity check counts attempts against a key inside a window: tries per card, per IP, per device, per account, per shipping address. The key choice is the strategy, because attackers rotate whichever key you watch. That single fact explains most of what follows about velocity checks: what it can do, what it costs to run, and where it stops working.

## Step one: set up the measurement first

The number, threshold, or window in this section is the part to keep. A velocity check counts attempts against a key inside a window: tries per card, per IP, per device, per account, per shipping address. The key choice is the strategy, because attackers rotate whichever key you watch.

Windows need care. Fixed windows invite boundary bursts, two full allowances a second apart, so sliding windows or token buckets are the standard implementation, a detail OWASP states plainly in its bot management guidance. It is a small detail that decides a disproportionate share of cases.

## Step two: place the control where it bites

Nobody learns this from a quiet week; it shows up under load. OWASP's credential stuffing guidance makes the two bucket shape concrete for login: a per-username bucket that limits attempts against one account from anywhere, and a per-IP bucket that limits one source against all accounts, with both required to pass.

Thresholds are a false positive budget, not a security preference. A card testing threshold set at three attempts will catch testers and also catch a parent re-entering a mistyped number at a kitchen table, and only your own traffic data says where the line belongs. Anyone selling certainty past this point is selling past the evidence.

Two companion pieces on this site go deeper on the adjacent problems: [residential proxy detection](https://queuekeep.com/blog/detecting-residential-proxies-the-signals-that-give-it-away-in-your-logs-2026-12-01/) covers the control order, and [counterfeit listing detection](https://queuekeep.com/blog/detecting-counterfeit-listings-the-signals-that-give-it-away-in-your-logs-2026-12-01/) covers the detection side. Read them alongside this one if velocity checks is only one layer of the problem you are looking at.

## Step three: tune against real traffic

The distinction in this section decides real cases. Windows need care. Fixed windows invite boundary bursts, two full allowances a second apart, so sliding windows or token buckets are the standard implementation, a detail OWASP states plainly in its bot management guidance.

Velocity data is also diagnostic. A sudden rise in attempts per gift card, per discount code, or per account tells you which attack is running before any single attempt succeeds, which makes the counters worth building even where they never block. That is the difference between a control that holds on the day it matters and one that only looks right in a dashboard.

## Step four: wire the response

Treat this as a working rule, then test it against your own logs. Thresholds are a false positive budget, not a security preference. A card testing threshold set at three attempts will catch testers and also catch a parent re-entering a mistyped number at a kitchen table, and only your own traffic data says where the line belongs.

The tuning loop is the operational work the brief points at: review the hits weekly, separate confirmed abuse from unlucky customers, adjust one threshold at a time, and keep a record, because an untuned velocity rule decays as traffic patterns move. Skip this layer and the gap usually gets discovered during an incident, when it is most expensive.

## The step most teams skip

The honest version of the claim is the conditional one. Velocity data is also diagnostic. A sudden rise in attempts per gift card, per discount code, or per account tells you which attack is running before any single attempt succeeds, which makes the counters worth building even where they never block.

A velocity check counts attempts against a key inside a window: tries per card, per IP, per device, per account, per shipping address. The key choice is the strategy, because attackers rotate whichever key you watch. Write the number down and date it, because this is the figure the next review will ask for.

Start where practitioners start, not where the brochure starts. Velocity checks see volume, not intent, and a patient attacker who spreads attempts thinly across cards, accounts, and addresses stays under every line. They are a tripwire and a throttle, and they need identity and behavior signals behind them.

## Frequently asked questions

### Does velocity checks work on its own?

No. Velocity checks see volume, not intent, and a patient attacker who spreads attempts thinly across cards, accounts, and addresses stays under every line. They are a tripwire and a throttle, and they need identity and behavior signals behind them. It belongs in a layered stack where other controls cover the gaps it leaves.

### What is the first thing to check before relying on velocity checks?

Whether your own logs can prove it is working. Thresholds are a false positive budget, not a security preference. A card testing threshold set at three attempts will catch testers and also catch a parent re-entering a mistyped number at a kitchen table, and only your own traffic data says where the line belongs. Without that measurement habit, you are trusting a dashboard instead of evidence.

### Where does velocity checks fail most often?

In the gap between the claim and the mechanism. The tuning loop is the operational work the brief points at: review the hits weekly, separate confirmed abuse from unlucky customers, adjust one threshold at a time, and keep a record, because an untuned velocity rule decays as traffic patterns move. Most failures trace back to expecting the control to judge intent when it can only observe behavior.

### What should sit alongside velocity checks in a working stack?

Controls from a different layer. OWASP's credential stuffing guidance makes the two bucket shape concrete for login: a per-username bucket that limits attempts against one account from anywhere, and a per-IP bucket that limits one source against all accounts, with both required to pass. Pairing two controls that fail the same way is not layering, it is duplication.
