How it works
Web Bot Auth works via a Chrome extension that intercepts all outgoing HTTP requests and adds cryptographic signature headers:Signature: The RFC 9421 signature of the requestSignature-Input: Metadata about how the signature was created
Quick Start with Test Key
The fastest way to get started is using Cloudflare’s RFC9421 test key, which works with their test verification site.1. Build the extension
Use the Kernel CLI to build the Web Bot Auth extension:- Downloads Cloudflare’s web-bot-auth browser extension source
- Builds it with the default RFC9421 test key
- Uploads it to Kernel as
web-bot-auth
The build command requires Node.js and npm to be installed on your system.
2. Create a browser with the extension
3. Verify it’s working
Navigate to Cloudflare’s test site to verify your signatures are being accepted:Using Your Own Keys
For production use, you’ll want to use your own signing keys instead of the test key.1. Generate an Ed25519 key pair
Create a JWK file with your Ed25519 private key. The key must include both the public (x) and private (d) components:
my-key.jwk
See Cloudflare’s web-bot-auth documentation for tools to generate Ed25519 key pairs.
2. Build with your key
3. Host your public key
For websites to verify your signatures, you need to host your public key at a well-known URL. Create a key directory at:4. Register with Cloudflare (optional)
If you want Cloudflare-protected sites to recognize your bot, you can register your key directory with Cloudflare:- Log into the Cloudflare dashboard
- Navigate to Manage Account > Configurations
- Select the Bot Submission Form tab
- Choose Request Signature as the verification method
- Enter your key directory URL

