PrivCaptcha.com

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

Five difficulty levels: rotate ±20° down to ±8°, slider ±12px down to ±5px, 5 to 12 shapes.
There is no rule file, signature list or score threshold to maintain.

Risk scoring and bot detection: common questions

What PrivCaptcha does here, and where it stops.

Every request is challenged. There is no invisible pass to aim a script at, and no allowlist that skips the check. What changes is the form the challenge takes and what it costs. The server scores each request and picks one of five difficulty levels, so an ordinary visitor gets a couple of seconds and a client that looks automated gets tight tolerances and a heavier proof-of-work. On the non-visual path, taken by screen-reader and keyboard visitors, there is no puzzle to solve at all: the proof-of-work is the whole challenge, at a fixed 22 bits.
The score is computed server-side from the request itself and never leaves the server. There is no parameter a page can send to ask for an easier puzzle, which is why we removed the customer-facing difficulty setting too.
No, and we would rather say so plainly. It is a hand-tuned additive heuristic over request signals: headers, how the address presents, and how that client has been doing on recent attempts.
They still pass. A high score buys tighter tolerances and heavier proof-of-work, not a refusal. The worst case is a slower solve, never a locked-out customer.
Not on its own. A VPN or a privacy browser is not a signal here, and nothing is blocked by country or carrier. What raises the score is what the request carries, such as a missing Accept-Language header or a bot user-agent, and wrong answers from that address today.
No. The score is computed per request on the server and is not shown in the dashboard or returned as a signal to act on; the hCaptcha-shaped verify alias reports a constant 0.0 only for compatibility. That keeps it from becoming a number to tune against, and there is nothing per visitor to show.

Change two lines. Keep the rest.

10,000 verifications a month are free, and the integration is the one you already have.