Web Bot Auth is a way for a bot to prove who it is. The bot signs every request with a private key, and publishes the matching public key on its own website. A site that receives the request can check the signature and know for certain which bot sent it. It's built on HTTP Message Signatures, an internet standard published as RFC 9421.
Why bots need it
Websites used to identify bots two ways, and both are weak:
- The user-agent header. Any bot can claim to be anything. Cloudflare calls the user agent "easily spoofable" (Cloudflare).
- IP addresses. These can be shared with other services or change over time (Cloudflare). A bot running on a big cloud shares its network with every other customer of that cloud.
A signature can't be faked without the private key. DataDome shows the point with an example: a fraudster claiming to be OpenAI's agent, without OpenAI's key, gets blocked (DataDome).
How it works, step by step
- The operator makes a key pair. Web Bot Auth uses Ed25519 keys (Cloudflare).
- The operator publishes the public key at
/.well-known/http-message-signatures-directoryon its own domain. The private key stays on the bot's servers. - The bot signs each request. It adds three headers:
Signature-Agent: the address of the operator's key directorySignature-Input: what was signed, when, and which key was usedSignature: the signature itself
- The site checks it. The site's security service fetches the public key and checks the signature. If it matches, the site knows which operator sent the request.
- The site decides. A valid signature proves identity, not permission. The site still chooses to allow, slow, challenge or block that bot.
Who checks it
| Service | What it does with Web Bot Auth | Source |
|---|---|---|
| Cloudflare | Accepts it as a way to become a verified bot, and encourages it over IP lists | Cloudflare |
| Akamai | Checks signatures at its edge; customers can allow, challenge, delay or block | Akamai |
| DataDome | Checks signatures for all customers with no setup; a failed signature is blocked | DataDome |
| Vercel | Uses signatures as one of its bot verification methods | Vercel |
What a signature doesn't do
- It doesn't get you in by itself. On Cloudflare you still apply through the BotBase form, and your bot must follow robots.txt and keep reasonable request rates (policy).
- It doesn't say who is behind each request when a platform carries many users. Cloudflare labels those operators Intermediary and trusts them differently from a Direct operator running its own bot (overview). Akamai notes the same gap: a signature proves where a request came from, not who is responsible (Akamai).
Is it replacing IP lists?
Not yet. Cloudflare still accepts IP validation and reverse DNS. It says it is "encouraging all bot operators moving forward to use Message Signatures" (Cloudflare). Many sites and firewalls still check addresses, so the safest setup today is both: a signature, plus addresses that only your bot uses.
What an operator has to set up
- an Ed25519 key pair, with the private key kept safe;
- an HTTPS key directory on your own domain, with its response signed too;
- signing code in your bot (see our Python guide);
- a specific user-agent string and a public page about your bot;
- a BotBase application with Cloudflare.
PacketPaper is building this as a service for small operators: your key directory hosted under your domain, dedicated addresses with reverse DNS, and your applications filed. You keep your private key. It's planned, not live yet. Join the waitlist.