My health check failed one morning: 80 server errors served to real visitors in 24 hours, on a site that usually serves one or none. Almost all of them sat in two hours, 21:00 and 05:00 UTC. Googlebot, Applebot and Bingbot were among the clients that got a 503. The cause was one bot fleet sending 20,821 requests a day with this user agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0 Safari/537.36
Look at the version: Chrome/131.0. A real Chrome never sends that. Since user-agent reduction, Chrome always sends four parts with the last three zeroed, Chrome/131.0.0.0. A two-part version is a hand-written string, so I could block it by exact match without any risk of blocking a person.
The symptom: 503s that were working as designed
The site is Reely, a movie and TV catalogue on Cloudflare's free plan. Title pages get their data from TMDB. When TMDB rate-limits us, the Worker answers 503 with a Retry-After header instead of a broken page. That's deliberate: a crawler that gets a 503 comes back later, and one that gets a half-empty page may index it.
So the 503s weren't a bug in the Worker. They were the overload path doing its job. The real question was what had pushed TMDB into rate-limiting us during those two hours. A burst of 5xx on a 503-by-design path is a load question, so I went looking for whoever caused the load.
Step one: count only what browsers saw
My first query grouped every 5xx in the zone by user agent, and the top rows were nonsense: 504s with no user agent at all. Those aren't visitors. Cloudflare logs its own internal traffic in the same dataset (Worker cache lookups, Early Hints, subrequests), and much of it carries synthetic statuses.
Every request in the GraphQL Analytics API has a requestSource, and only eyeball means a real client. Filter on it before anything else:
query {
viewer {
zones(filter: { zoneTag: "<zone id>" }) {
httpRequestsAdaptiveGroups(
limit: 20
filter: {
datetime_geq: "2026-11-24T21:00:00Z"
datetime_lt: "2026-11-24T22:00:00Z"
requestSource: "eyeball"
}
orderBy: [count_DESC]
) {
count
dimensions { userAgent }
}
}
}
}
Step two: compare a burst hour to a quiet hour
I ran that query twice: once for a burst hour and once for a normal one. In the burst hours, one string sat at the top with 2,637 and 1,864 requests an hour. In the quiet hours (10:00, 15:00 and 23:00 UTC) it wasn't there at all. Over the whole day it sent 20,821 requests, the second-largest user agent in the zone.
A real browser population doesn't behave like that. People arrive all day, spread over hundreds of slightly different user-agent strings. A fleet arrives at once, from one string, and leaves.
Step three: confirm it can't be a person
The malformed version settled it. Chrome's user-agent reduction froze the minor, build and patch numbers at zero years ago, so every real Chrome 131 sends Chrome/131.0.0.0. Chrome/131.0 comes from someone typing a user agent into a scraper config. An exact match on the full string can't catch a real browser.
I've since seen the same string, and a Chrome/133 sibling, on a second site of mine. There it probes /phpinfo.php, /.env.php and wp-config backups. It's a common scanner, not something aimed at one site.
The block
The rule goes into a list of frozen, known-bad strings that my WAF script compiles into one Cloudflare custom rule:
const STALE_BROWSER_UAS = [
// 20,821 requests on 24 Nov, all in two bursts. Real Chrome sends 131.0.0.0.
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0 Safari/537.36',
]
const uaEqAny = (uas) =>
uas.map((ua) => `(http.user_agent eq "${ua}")`).join(' or ')
An exact eq match is cheaper and safer than a regex. It can't spread to a user agent you didn't mean, and it fits the free plan's custom-rule limits.
After applying it I checked from the outside. The fleet's string got a plain 403, and a current Chrome still got a 200 on the same pages.
Don't read a 403 as a block
My first check was wrong. A bare curl with a current Chrome user agent also got a 403 on a title page, and I thought the new rule was misfiring. It wasn't. My site already shows a managed challenge to suspicious clients on detail pages, and a challenge also answers 403. The header tells them apart: a challenge carries cf-mitigated: challenge, and a block doesn't.
curl -sI -A "<user agent>" https://example.com/page | grep -i cf-mitigated
Takeaways
- Filter Cloudflare analytics on
requestSource: "eyeball"before reading any 5xx count. - Compare the top user agents in a burst hour with a quiet hour. A fleet appears in one and not the other.
-
Chrome/131.0(two parts) isn't a real Chrome. Reduced Chrome always sends131.0.0.0. - Block known-bad strings by exact match, never by a broad pattern.
- Tell a block from a challenge by
cf-mitigated, not by the status code.
For another case of crawlers hiding in plain sight, see meta-externalagent and meta-webindexer.
Top comments (0)