Learn
What is Web Bot Auth? How signed agents work and what a signature does not prove
Web Bot Auth lets a site verify which key signed an HTTP request. How the signature, key directory and Signature-Agent header work, and what they do not prove.
7 min read 1948 words
Reviewed by a human editor before publication. How we write
- Web Bot Auth
- agent identity
- HTTP signatures
Web Bot Auth is a way for an agent to sign its HTTP requests, so a site can verify which key signed them. It builds on HTTP Message Signatures (RFC 9421) and publishes the public key in a directory on the operator's domain.
A valid signature proves that the holder of one key signed one request. It does not prove the operator is well behaved, and it does not say what the agent may do on your site. That is a much smaller fact than most deployments assume.
How does Web Bot Auth work?
HTTP Message Signatures, RFC 9421, is a Standards Track RFC. It defines how to sign chosen parts of an HTTP message and how to carry the result in 2 fields, Signature-Input and Signature. It stops short of a complete security story. Section 1.4 requires an application to specify which components are covered, which algorithms are allowed and how a verifier finds the key.
Web Bot Auth is such an application profile. The mechanisms are RFC 9421's, and the policy is the profile's.
That split matters when you read vendor documentation. When a CDN says it supports Web Bot Auth, it describes its own profile. Two verifiers can both claim support and disagree on whether a request is valid.
What does a signed request look like?
Three headers carry it. Signature-Input declares the covered components and parameters, Signature carries the signature bytes and Signature-Agent points at the key directory. This example is abridged from Cloudflare's documentation, with long values shortened.
Signature-Agent: "https://signature-agent.test"
Signature-Input: sig2=("@authority" "signature-agent")
;created=1735689600
;keyid="poqkLGiymh_W0uP6PZFw-dvez3QJT5SolqXBCW38r0U"
;alg="ed25519"
;expires=1735693200
;nonce="e8N7S2MF…"
;tag="web-bot-auth"
Signature: sig2=:jdq0SqOwHdyHr9+r5jw3iYZH6aNGKijYp/EstF4RQTQdi5N5YYKrD+mCT…:
Signature-Input is a structured-field dictionary. Each entry names a signature label, lists the covered components in order, then gives parameters. The verifier rebuilds the signature base from that list, so the list defines what the signature protects. @authority covers the target host.
The IETF draft requires the signer to cover @authority or @target-uri, and to cover signature-agent. A verifier that accepted a signature whose components left out the host would be checking a signature over almost nothing.
Where does the public key live?
The agent holds a private key. Its public half is published as a JWK inside a JWK Set at /.well-known/http-message-signatures-directory, served as application/http-message-signatures-directory+json. The path is fixed, so a verifier that has never met the agent knows where to look. The domain in the URL is the trust anchor.
Whoever controls that HTTPS origin controls the keys. The signature moves the question from "is this string honest?" to "is this the domain I think it is?".
The directory response is signed too, under a separate tag. The key and the document that holds it are bound together.
Cloudflare accepts only Ed25519 keys. The IETF draft is wider: it takes algorithms from the IANA registry, and its examples include RSASSA-PSS. A key that one verifier accepts, another may reject.
Which details do the security work?
keyid is a thumbprint, not a chosen name. It is the base64url SHA-256 thumbprint of the JWK, computed per RFC 7638. Only the required members count, as canonical JSON with no whitespace, in lexicographic order. For an Ed25519 key those are crv, kty and x, as RFC 8037 Appendix A.3 shows. Nobody can relabel someone else's key, and a new key is a new keyid.
tag binds a signature to its purpose. Web Bot Auth requires web-bot-auth on signed requests and a different tag on key directories. A signature lifted from one context fails where another tag is demanded. The verifier has to perform that check, or the binding is decoration.
A short expiry limits replay. created and expires sit inside the signed material, so an attacker cannot extend a captured signature without breaking it. The draft recommends at most 24 hours. Cloudflare says "a minute is often sufficient".
Cloudflare also says it has no nonce validation and keeps no store of seen nonces, so expiry is its replay control. The specification offers the nonce, and the deployment decides whether it means anything. Read the verifier's documentation, not the specification's capabilities.
What does a valid signature not prove?
Verification proves a narrow thing. At the moment of the check, the holder of the private key behind a published public key signed the components the verifier required. The signature fell inside the accepted time window. That is a statement about a key and a message.
It does not prove the operator is well behaved. It does not prove that the action the agent is about to take is permitted.
The working group's charter puts 2 items out of scope: authenticating the end user of a participating agent, and a vocabulary for agent intents. The standard will not answer what an agent may do here. That is a policy decision, and it belongs to the site.
Keep the code paths separate. A valid signature is an input to an authorisation decision, not a substitute for one. If every request that verifies falls straight through to "allow", you built an expensive user-agent allowlist with extra cryptography.
Authorisation needs its own artifact: a declared default, per-action rules and a human-approval path for actions with consequences. The scanner no longer scores such a document, and /methodology says why. The directory answers who, and a permission model answers what.
Is Web Bot Auth a standard yet?
No. As of 27 October 2026 the working group's datatracker documents page lists one WG document, draft-ietf-webbotauth-httpsig-protocol-00, dated 1 September 2026. Its page sets no intended RFC status. The draft defines the Signature-Agent header, the key directory format and the well-known path. The other 10 drafts listed are not marked as WG documents, 3 of them are dated 22 October 2026, and none is an RFC.
The charter targets sites that mainly serve people, and excludes HTTP APIs and agent-to-agent interfaces. It calls IP allowlists, User-Agent strings and shared API keys current approaches with limits in security, scalability and manageability.
Implementations differ in the details. Cloudflare, which uses the mechanism for bot verification, requires Signature-Agent to be a quoted https:// URL covered by the signature. It rejects the dictionary form that the newer IETF draft asks signers to send. Google sends that form: its page shows g="https://agent.bot.goog". The two documented profiles already differ on the header's shape.
So "does Web Bot Auth work?" is not a well-formed question. Ask whether this verifier accepts this signed request, and what it does with the result. Test against the verifier you depend on, and keep profile assumptions in configuration.
Who signs requests today?
Signing matters most for agents that publish no crawler token at all, a case covered on its own. Google signs some of its agent traffic. Its Web Bot Auth page, updated 13 October 2026, calls the protocol experimental. A subset of Google-Agent requests carries a signature from https://agent.bot.goog, whose key directory sits at the usual well-known path. Google says it is not yet signing every request, and advises you to keep IP, reverse DNS and user-agent checks as a fallback.
Shopify asks agents to sign. Its checkout WebMCP guide tells developers to sign browser requests with Web Bot Auth. They generate an Ed25519 key, publish the key directory, register it with Shopify and keep timestamps short-lived. Shopify says it verifies only registered keys, and that an unsigned request might be deprioritized or blocked.
Merchants configure nothing, per Shopify's changelog of 28 September 2026. The guide also keeps identity apart from permission. Before calling complete_checkout, it says, show the buyer the order and total and get permission. A signature does not grant it.
Why verify a key instead of an IP range?
User-agent strings were never an identity mechanism: the User-Agent header is client-supplied text, as forgeable as any other field. Cloudflare's IP validation rejects patterns that match generic client libraries, such as python-requests and node-fetch. Those strings say nothing about who sends the traffic.
IP validation has its own cost. Cloudflare's method needs a published list of addresses that is fixed, limited and used only by the operator. That list has to be re-fetched and re-trusted as infrastructure moves.
A signed request describes who built it, and that survives a move between clouds or a new egress region. The signature also covers @authority, so one captured for your host does not verify against another.
The price is that you now run credential verification: structured-field parsing, canonicalisation, key caching, rotation, clock skew and replay windows. A verifier that is too strict drops legitimate traffic, and one that is too lax accepts forgeries.
What is transitive trust?
An agent reaching your site is often not run by the company that built it. A platform runs automation for many end users, and the platform holds the key. Cloudflare calls the chain of site owner, agent operator and end user "transitive trust". It labels a verified agent Direct, meaning one narrow operator on its own infrastructure, or Intermediary, meaning a service that many end users can drive.
Cloudflare says you may trust the intermediary operator without trusting every end user behind it. It is experimenting with forwarding end-user information through the Forwarded header. A signature identifies the operator and tells you nothing about the person behind the request.
If you allowlist an intermediary, you have allowlisted every end user it will ever front. That is an authorisation decision dressed as an identity decision.
How does Cloudflare keep checking verified agents?
Cloudflare's post of 16 October 2026 says identity tells you who runs an agent, not how it behaves. After verification, Cloudflare starts with 2 signals: repeated patterns of ignoring robots.txt, and whether an agent slows or pauses after an HTTP 429. These observations feed what it calls an explainable trust band, which is not a permanent judgement.
Cloudflare plans to publish the scores on Radar and to let all customers choose the trust threshold for verified traffic. The post gives no launch date, no band names and no thresholds. It recalls that Cloudflare removed Perplexity's crawler from its verified list in 2025.
Do you need to publish a key directory?
Only if you run a signing agent. A site that serves content and verifies signatures publishes no directory. The operator of the agent does.
The webbotauth check reflects that. It is an unscored draft. The scan reads the path above on every site, and asks the check of a site that runs an A2A agent or serves a key directory. On any other site it is out of scope.
The scan follows no redirect at that path, because the draft says a verifier must not follow one. A JWK Set with the right media type and at least 1 public key an RFC 9421 algorithm verifies with reads Present. That is an Ed25519 key, an EC key on P-256 or P-384, or an RSA key of 2048 bits or more. A key that carries a private member reads Served with an error: d, an RSA private member such as p or q, or a symmetric key's k. The record names the member and never quotes its value. The check cannot see whether any intermediary validates signatures correctly.
Of the 6 records of 2 November 2026, made under rubric v0.9.1, 5 list it as out of scope: no A2A agent, no key directory. The check is asked of Cloudflare, because it serves a legacy A2A card at /.well-known/agent.json. Its directory path answered 301, a redirect the draft forbids there, so the check reads Not used.
The v0.9 records of 20 and 25 October listed all 6 as out of scope, because rubric v0.9 requested neither path. Scan your site to see which agent-facing checks apply to it.
The refusal policy still lives in robots.txt, as the guide to blocking AI crawlers explains.