False positives in bot detection: how to measure and reduce them
Short answer
Measure false positives by running rules in preview mode and checking what flagged visitors did next: logins, purchases, payments without disputes, return visits. Keep an unenforced holdout, track challenge solve rates, support tickets and conversion by segment. In-app browsers, privacy browsers, VPN and corporate network users, assistive technology users and old devices are flagged most often.
A false positive in bot detection is a real person treated as a bot. Security dashboards show the bots a rule caught, while the people it hurt usually leave without complaining, so false positives show up later as lower conversion, odd support tickets and missing traffic from one browser or country. Measuring them takes deliberate work, because for most sessions you never learn for certain who was behind the screen.
Why do small error rates block many people?
When bots are a small share of the traffic on an endpoint, even a small human error rate becomes expensive. Here is a worked example with illustrative numbers. A login page gets 10,000 sessions a day, 2% of them bots. A rule catches 90% of the bots (180 sessions) and wrongly flags 1% of the humans (98 sessions). Of the 278 sessions it flags, 98, about 35%, are real people. A rule that looks accurate in a lab can still block one person for every two bots.
The ratio gets worse as the share of bots falls, so a rule tuned during an attack can do more harm than good once the attack stops.
How do you measure false positives?
No single method gives ground truth, so combine several.
Preview mode, also called shadow or log-only mode, runs a rule without enforcing it and records what it would have done. Follow the would-be-blocked sessions forward and check outcomes that bots rarely produce: a successful login to an account with a long history, a purchase paid without a dispute, a return visit days later, a support conversation. Each such session is very likely a person.
A holdout keeps a small random share of traffic unenforced after you go live. Compare conversion, abuse and chargeback rates between the enforced and holdout groups. If conversion in the enforced group drops by more than the removed bots can explain, the rule is hitting people. A few percent of traffic is a reasonable starting share; on low-volume endpoints you need more to see a difference.
Challenge solve rates help when a rule challenges instead of blocking. Cloudflare reports a challenge solve rate per rule, and you can compute the same ratio from your own logs. A segment that solves challenges about as often as known-good traffic is probably human. A high solve rate does not prove innocence, because bots running real browsers and paid solving services also pass, but a sudden change is worth investigating. Also count challenge loops, where the same visitor is challenged again and again within minutes.
Support data is the most direct signal. Show a reference ID on every block and challenge page, tag tickets that mention access denied, CAPTCHA or "verify you are human", and count them per week. The reference ID lets staff find the exact decision and the signals behind it.
Conversion by segment catches what the other methods miss. Compare would-block and allowed sessions inside each browser, operating system, app, country and network type:
SELECT browser_family,
would_block,
COUNT(*) AS sessions,
ROUND(AVG(CASE WHEN converted THEN 1.0 ELSE 0 END), 4) AS conversion_rate
FROM sessions
WHERE started_at > now() - interval '14 days'
GROUP BY browser_family, would_block
ORDER BY browser_family, would_block;If flagged sessions in one segment convert at close to the normal rate, the rule is flagging buyers there. This check fails where bots do buy, such as scalping and card testing, so on those flows use payment outcomes like declines and disputes instead of conversion.
Which visitors get wrongly flagged most often?
The same groups come up again and again:
- People in the in-app browsers of social media and messaging apps, which use embedded browser views with unusual User-Agents, small windows, missing features and storage that may not survive between visits, so a visitor who passed a challenge can be challenged again on the next click.
- People on privacy browsers or with privacy extensions. Brave randomises fingerprint values, Firefox's resist-fingerprinting mode and Tor Browser report uniform values, and ad or script blockers can stop your detection script entirely, which makes a person look like a client that never ran JavaScript.
- Staff on corporate networks, where hundreds of people can share one IP and trip rate limits, and where TLS inspection proxies replace the browser's TLS fingerprint with their own.
- VPN and relay users, whose traffic exits from data centre networks. Apple publishes the iCloud Private Relay egress IP ranges, which helps you recognise that traffic.
- Mobile carrier users behind carrier-grade NAT, where many subscribers share one IP.
- People using screen readers, switch access, voice control or only a keyboard, who produce little or no pointer movement and may be unable to complete visual puzzles. CAPTCHA conversion and accessibility covers the challenge side.
- Old phones and browsers, with outdated TLS, missing APIs and slow processors that can time out on heavy JavaScript challenges.
- Travellers and expats, whose time zone and language do not match their IP location.
- Search crawlers, payment and shipping webhooks, uptime monitors, link previews and partner integrations, which are automated but wanted. Verify and allow these before any scoring, as in how to verify good bots.
How do you reduce false positives?
- Require at least two independent signals before a block, for example a network signal and a browser contradiction. Single-signal rules should log or challenge.
- Use graduated actions. Start by logging, then use an invisible JavaScript challenge, then an interactive challenge, and block only at high confidence. Every visible step costs real customers, as Kairal argues in why friction-based defences stop more users than attackers.
- Set thresholds per endpoint. Login, signup and checkout justify stricter rules than content pages.
- Treat missing data as uncertainty. A session without JavaScript signals should get a challenge, not a block.
- Key actions on devices, sessions or accounts where you can, and keep IP-based blocks short. Rate limiting for bots explains why per-IP limits hit shared addresses.
- Fail open for low-risk paths when the detection service times out, so an outage does not become a site-wide block.
How should you roll out a new rule safely?
- Write down what the rule should catch and which outcomes would prove a flagged session was human.
- Run it in preview mode for at least a full week, so weekday and weekend traffic are both covered. A week is a starting point; seasonal sites need longer.
- Decide the maximum human impact you accept for that endpoint before you look at the results, then compare would-block sessions against outcomes and segments.
- Enforce on one endpoint with the softest useful action, and keep a holdout.
- Ramp up by percentage of traffic while watching conversion, challenge rates and support tickets daily.
- Keep a rollback switch with a named owner, and recheck the rule after major browser and app releases, since in-app browsers and privacy features change often.
Tools that help
StopBots is published by Kairal, which is one of the tools listed. The list is not a ranking.
- Cloudflare Bot Management shows bot score distributions in its analytics and reports challenge solve rates per rule, which helps you choose a threshold before you enforce it.
- AWS WAF Bot Control rules can run in count mode, which records matches without blocking, so you can compare matched traffic with your own outcome data.
- Google reCAPTCHA score-based keys return a risk score without showing a puzzle, so you can log scores against outcomes before deciding on any action.
- Kairal has a preview mode that shows the decisions it would take without blocking, shows the evidence behind each decision in its console, and fails open if an evaluation times out.
Common questions
What is a false positive in bot detection?
It is a real person treated as a bot: blocked, served a challenge they cannot pass, or shown degraded content. The opposite error, a bot treated as a person, is a false negative, and every threshold trades one for the other.
What false positive rate is acceptable?
There is no standard number. Set a ceiling per endpoint before you look at results, based on what a wrongly blocked person costs you there. A content page can tolerate an occasional invisible challenge, while a checkout block on a paying customer is expensive every time.
Why do some real users keep getting challenged?
Usually because something stops the pass from sticking or makes their setup look automated: blocked cookies, a privacy extension that stops the detection script, a VPN or office IP with a poor reputation, or an in-app browser that loses storage between visits.