Risk scoring and bot detection: a challenge sized to the request
Bot detection without a profile: every request is scored from what it reveals about itself, and the score picks how hard the puzzle is, between levels 1 and 5.
How risk scoring sets the challenge
Signals, not identity
The user agent, the Accept headers, whether the address looks like a data center, and how often that hashed client has failed today.
Decided on the server, always
The client never sends a difficulty and never gets to ask for an easier one.
Failure compounds
Wrong answers are counted against a daily-rotating hash of the client and push the next challenge higher.
How bot detection works in PrivCaptcha
Bot detection on a website usually means one of three things: matching known bad addresses and user-agents, profiling the visitor across sites, or watching behavior such as mouse movement. PrivCaptcha does none of the profiling. It adds up a few signals the request itself carries, plus how that client has done today, into a bot score from 0 to 100.
| Signal | Points | Why it counts |
|---|---|---|
| Every request | +20 | A captcha only runs where abuse is expected |
| No User-Agent header | +30 | Real browsers always send one |
| A bot or automation user-agent | +40 | python-requests, curl, HeadlessChrome and similar |
| No Accept-Language header | +15 | Browsers send the visitor's languages |
| No Accept header | +10 | Browsers send it on every request |
| A reserved or non-routable address | +20 | Not where ordinary visitors come from |
| Each failed challenge today | +8, up to +40 | Guessing gets more expensive |
| Each solved challenge today | -5, down to -25 | A record of solving earns some slack |
The score is clamped to 0 to 100 and computed on the server for every request.
There is no machine-learning model and no third-party reputation feed.
From score to puzzle: levels 1 to 5
The score never blocks anyone. It sets the difficulty, and every level is a real table in the server code rather than a setting.
| Score | Level | Rotate | Slider | Shapes |
|---|---|---|---|---|
| 0 to 39 | 2 | ±16° | ±10px | 6 |
| 40 to 59 | 3 | ±13° | ±8px | 8 |
| 60 to 79 | 4 | ±10° | ±6px | 10 |
| 80 and above | 5 | ±8° | ±5px | 12 |
Below 20 the server uses its default level, currently 2. Level 1, at ±20°, ±12px and 5 shapes, is the lightest the widget has.
A higher score also means more proof-of-work, from 12 bits at a score of 0 to 20 bits at 100.
Risk scoring vs a reCAPTCHA v3 score
As of November 2026, a reCAPTCHA v3 score runs from 0.0 to 1.0 for each action, where 1.0 is very likely a good interaction, and Google suggests starting with a threshold of 0.5. That reCAPTCHA score is built from signals Google collects about the visitor, and a visitor below your threshold is blocked or sent somewhere else.
PrivCaptcha's risk scoring inverts both parts. The score comes only from the request and that client's own recent failures, and it never decides pass or fail: it sets how hard the next puzzle is. There is no threshold for you to tune, so a bad guess costs a real person a few seconds, not a lost signup.
The same idea runs through risk based authentication and adaptive authentication on login systems, which ask for a second factor only when a sign-in looks unusual. PrivCaptcha applies it to the challenge itself: the riskier the request, the more precise the puzzle and the heavier the proof-of-work.
What request signals cannot see
Request signals catch bare HTTP clients and careless automation. A real browser driven by a script, on a residential proxy with clean headers, scores like a person at 20. No bot detection API can judge that from one request, and neither can this one.
That is why the score only sets difficulty. The puzzle and the proof-of-work still apply to that browser on every attempt, its wrong answers push its score up for the rest of the day, and each token works once. Paid human solvers and patient manual abuse remain outside what any score can catch.
For bot traffic detection across a whole site, pair it with your server logs and rate limits: the score only exists on the routes where the widget runs.
What risk scoring guarantees
Risk scoring and bot detection: common questions
What PrivCaptcha does here, and where it stops.
Change two lines. Keep the rest.
10,000 verifications a month are free, and the integration is the one you already have.