This project is not covered by Drupal’s security advisory policy.

Web Bot Auth will let a Drupal site verify cryptographically signed bots and AI agents on its own server, following the IETF Web Bot Auth drafts built on RFC 9421 HTTP Message Signatures, and tell other modules which requests came from a verified agent. OpenAI's ChatGPT agent already signs its requests this way.

Status: No release yet. The module is under active development; the first beta follows once its automated test suite and an independent review pass.

This module is developed with AI assistance. The maintainer reviews and tests every release before publishing it.

Planned for 1.0

Web Bot Auth is still an IETF working-group draft, so details may change between releases. None of this is released yet. The first release will provide:

Verification

  • Parsing of the Signature-Input, Signature and Signature-Agent headers, and enforcement of the Web Bot Auth profile: tag="web-bot-auth", created and expires within an allowed clock skew, and the required covered components (@authority, plus signature-agent when that header is present).
  • Ed25519 signatures through PHP's sodium extension, plus any other algorithm the current draft requires.
  • Key IDs checked as JWK SHA-256 thumbprints (RFC 7638).
  • Verification early in a middleware, only on requests that carry signature headers. The result is attached to the request and exposed to other modules through a service and an event.

Key directories

  • The agent's key directory fetched from /.well-known/http-message-signatures-directory on the Signature-Agent origin, with its media type checked, and cached as its Cache-Control header says, within limits.
  • Strict protection against server-side request forgery, because that URL comes from a request header: HTTPS only, public IP addresses only, and limits on size, time and redirects.
  • An admin allowlist and denylist of agent origins, and verification of signed directory responses if the draft requires it.

Policy and reporting

  • An option to block or tag requests whose User-Agent claims a known signing agent but that carry no valid signature.
  • Documented integration points for exempting verified agents from flood control or rate-limiting modules, and optionally a role-like condition for access decisions.
  • Logging, and a report of verified and unverified agent traffic aggregated without IP addresses.
  • Verification results kept out of cached pages, with the cache behavior documented.

Requirements

Planned for the first release:

  • Drupal 11.3 or later, or Drupal 12.
  • PHP 8.3 or later, with the sodium extension.
  • No other modules.

Installation

Installation instructions arrive with the first release. For the first beta, the commands will be:

composer require 'drupal/web_bot_auth:^1.0@beta'
drush en web_bot_auth

Configuration and permissions

Not final yet. This section will list each settings page and each permission, by its real label, with the first release.

Similar projects

Checked on drupal.org in November 2026.

  • AxioRank Agent Verification is a thin client for AxioRank's hosted verification service. Choose it if you would rather use a hosted service; this module verifies on your own server.
  • Crawler Rate Limit limits requests by user agent, visitor or network (ASN). Choose it to rate-limit crawlers; it does not verify signatures. This module plans documented ways for rate limiters to exempt verified agents.
  • BotShield classifies bots by User-Agent rules, which any client can claim.
  • Several CDNs, Cloudflare among them, verify signed agents at their edge. If yours does, you may not need this module.

Support and maintenance

Report bugs, ask for features and comment on the planned scope in the issue queue. Each release will have notes describing what changed.

This project is not covered by Drupal's security advisory policy. Until it is, security issues are handled in the public issue queue and fixed in ordinary releases.

A read-only mirror is on GitHub at DanePete/drupal-web-bot-auth. It will mirror the drupal.org repository once code is published there; development and issues stay on drupal.org.

Maintainer

Created and maintained by deadnorth (Dead North).

Project information

Releases