Bot protection for the forms bots actually hit
Bad bots are a loop around an HTTP client, pointed at any public form you expose, submitting it faster than a person.
How bad bots find and hit your forms
A few dozen lines of python-requests or headless Chrome, POSTing one path in a loop. At a fraction of a cent per attempt, a one-in-a-thousand yield pays.
Types of bad bots and the routes they hit
Bad bots are automated clients that use your site in a way you never meant: they log in, sign up, post, buy or copy at machine speed. As of November 2026, Imperva's annual Bad Bot Report puts them at roughly a third of all web traffic in its recent editions, and nearly all of it aims at a handful of routes.
Each kind wants one action, which is why bot protection belongs on the action and not on the whole site.
| Bad bot | What it does | Route it hits |
|---|---|---|
| Credential stuffing bots | Replay leaked email and password pairs | Login form |
| Fake signup bots | Create accounts in bulk for trials and bounties | Registration form |
| Spam bots | Post links into comments and contact forms | Comment and contact forms |
| Card testing bots | Check stolen cards with small payments | Checkout |
| Scraper bots | Copy prices, listings and content | Search, filter and export |
| Scalper bots | Claim tickets and limited stock at release | Cart and seat claim |
| Click bots | Fake ad clicks and leads | Landing page lead form |
Good bots, bad bots and robots.txt
Not every bot is bad. Search engine crawlers, uptime monitors and link previews read public pages and follow robots.txt. A bad bot ignores robots.txt and goes straight for the form that does something. That is why PrivCaptcha sits on actions, not pages: crawlers never submit your forms, so they never meet the challenge, and indexable pages stay exactly as they are.
A robots.txt rule cannot block bad bots, because obeying it is voluntary. Neither can a user-agent filter on its own, since any client can claim to be Chrome. What works is making the action itself cost something on every attempt, whatever the client claims to be.
If you are working out how to block bots on a form, start with the form's own handler: refuse any POST that arrives without a valid token, then add the widget to the page so real visitors get one.
Bot blocker or bot protection service?
A bot blocker refuses traffic it recognizes: a list of bad addresses, user-agents or fingerprints. It is fast, and it lets a bot through the moment that bot looks new. A bot protection service like PrivCaptcha does not need to recognize anything. Every request gets a challenge sized by its risk score, and every attempt pays a SHA-256 proof-of-work before the answer is read.
Anti bot protection works best in layers. Keep your rate limits and your web application firewall, and put the anti bot challenge on the forms and endpoints where one automated success costs you money.
What bad bots cost you
Bad bots rarely cost much in one go. They cost in volume: junk rows to clean up, fake accounts that skew every metric, emails and text messages your provider bills you for, processor fees on card checks, and servers sized for traffic no customer sent.
Support answers the customers whose accounts were taken over, marketing explains why conversion fell, and engineering writes one-off blocks that the next script walks around. Pricing every attempt at the form turns that open-ended cost into a small, fixed one per request, paid by the client making it.
How PrivCaptcha stops bad bots
Four steps, with the numbers the server uses. Nothing here is configured by you.
No Origin header, no challenge
Once you list your domains, the challenge endpoint checks Origin. No Origin is refused with invalid-input-origin, and a bare curl sends none.
A bare client scores 75 on request one
Starts at 20. +40 bot User-Agent, +15 no Accept-Language. python-requests = 75. Level 4 on the visual path: 10 shapes, 10 degrees, 6 pixels.
Work is paid before the answer is read
At 75 the proof-of-work is 18 bits, 262,000 SHA-256 hashes, checked before the answer. One nonce covers all 3 attempts.
Three wrong answers and it is at 99
Each failure adds 8 points, up to 40, putting the 75-point script at 99: level 5, 12 shapes, 8 degrees, 5 pixels, 20 bits.
Add PrivCaptcha to your public form or endpoint in two lines of code
Script tag, container in front of the submit button, and your existing verify call. Already on reCAPTCHA or hCaptcha? That backend code stays exactly as it is.
A div with class privcaptcha and your data-sitekey inside the form your logs show being hit.
Read privcaptcha-response from the POST body and call siteverify with your secret before the insert.
Widget on the page, but the JSON endpoint still takes a plain POST. Require a valid token inside the handler.
What this does not solve about bad bots
This prices only requests through the widget and verify call. It does nothing for endpoints not behind it: APIs, webhooks, feeds. It is not a rate limiter.
Common questions about bad bots
How PrivCaptcha prices bad bots, and where it stops.
Put PrivCaptcha in front of your public form or endpoint
10,000 verifications a month are free, and the integration is the one you already have.
