ALPQ

Disclosing Monitoring Bots

DRAFT 0.12026-11-10for preliminary review

A bot that checks websites should be easy to recognize, slow enough to never be a burden, limited to what it was allowed to check, and one email away from a person who can stop it. This draft says how, using parts the web already has, and it is the rule GOVW Foundation's own checkers, the ants, follow.

Status: a draft for review, not a standard. Adopting it is voluntary. MUST and SHOULD say what an operator who adopts it does. Builds on: RFC 9110 (the User-Agent and From headers, the Retry-After header), RFC 9309 (robots.txt), RFC 6585 (429 Too Many Requests), RFC 9116 (security.txt), and the AWS customer policy for security testing.

1Goals

  1. Recognizable: anyone reading a server log can tell who sent a request and where to read about it.
  2. Gentle: the bot never adds noticeable load, and it backs off when asked.
  3. In scope: it checks only sites its operator owns or was allowed in writing to check.
  4. Reachable: a person can be contacted, and a site can opt out.

Not a goal: load testing or attack simulation. Those need their own plan, a time box, and the host's approval.

2Say who you are

Every request MUST carry a User-Agent with the bot's name, its version, and a link to a page that describes it, in the form search engines already use:

User-Agent: GOVW-Ant2/0.3 (+https://alpq.us/specs/bots/)
From: security@govw.org

The From header (RFC 9110, section 10.1.2) SHOULD give a mailbox a person reads. The bot MUST NOT pretend to be a browser or another bot.

3Visit gently

4Check only what you may

5Harmless probes only

A monitoring bot reads; it does not break things. It MAY send one harmless test request per site per day to confirm that the site's own protections answer as expected (for example, that a firewall refuses a textbook test pattern with 403), and only on the operator's own sites.

It MUST NOT: flood or load-test a site; try to take over subdomains, buckets or accounts; guess or reuse passwords; submit forms that send messages or charge money; or store anything personal it happens to see.

6A person, and a way out

7Proving it's really you (later)

Anyone can copy a User-Agent. A later version of this draft will add signed requests, so a site can verify a request really came from the named bot. Candidates are HTTP Message Signatures (RFC 9421) and the IETF work on authenticating web bots that builds on it. Until then, the contact and the published schedule are the check.

8The GOVW ant colony

GOVW Foundation checks its own sites every day with a small colony of bots, the ants. Each has one job, and when one finds a problem it turns into a fire ant until a person fixes it. You can watch them forage at ant0.org.

AntChecksWhen
Ant0, the scoutA new release on its test site, before it goes liveAfter each deploy
Ant1Pages, files, redirects and every link answer as they shouldDaily, 11:17 UTC
Ant2Security headers, certificates, DNS records, mail security (MTA-STS), forgotten records that could be taken overDaily, 11:17 UTC
Ant3Wording rules on public pagesDaily, 11:17 UTC

They run from GitHub Actions, check only GOVW Foundation's own domains, and follow this page. To reach a person: security@govw.org.

9Open questions

10References