Isolating Headless Crawler /null Floods via RFC 9110 Wire Telemetry
• Mike Levin
Executive Summary
Sanitized CDN dashboards strip RFC 9110 Accept headers, misclassifying third-party headless browser defects as broken site links and triggering costly engineering freezes after clean deployments. Forensic origin telemetry across 2,335 phantom GET .../null requests proved meta-webindexer/1.1 generated 98.7% (2,305 hits) by coercing empty JavaScript image properties into relative HTTP subrequests, whereas clients negotiating Accept: text/markdown triggered zero. Left unfiltered, automated 404-remediation pipelines internalize these external crawler bugs as permanent 301 redirects—polluting live routing tables with 347 invalid rules and forcing image loaders to download ~80 KB of HTML per probe.
Architecture & Protocol Mechanics
When a headless Chromium indexer (meta-webindexer/1.1) assigns JavaScript null to an HTMLImageElement.src attribute, WebIDL USVString reflection coerces null into the four-character string "null" and resolves it against document.baseURI. The browser then dispatches an HTTP/2 subrequest bearing Accept: image/jxl,image/avif,image/webp,image/*,*/*;q=0.8 rather than navigational Accept: text/html. Agents consuming text/markdown representations via RFC 9110 content negotiation bypass DOM execution entirely, reducing coerced subrequests to zero.
On a declarative NixOS origin, redirects resolve in O(1) memory time via an Nginx map_hash table rather than O(N) regular-expression chains. However, automated 404 recovery scripts without lexical intake guards promote /.../null probes and /_ scanner prefixes (/_environment/, /_profiler/phpinfo/) into permanent 301 rules. Enforcing segment-boundary filters matching /(?:null|undefined)(?:/|$)—while preserving valid hyphenated slugs such as /dev-null/—purged 347 polluted rules (23,885 to 23,538 active entries) in a single atomic reload. Expanding SQLite diagnostic sweep windows (LIMIT 5000 vs. LIMIT 250) prevents bot bursts from masking genuine broken links, while normalized string tables retain historical telemetry in under 20 KB without database vacuuming.
Verifiable Wire Audit
Origin access logs recorded 2,335 GET /.../null hits against static builds verified to contain zero broken links or null URI attributes:
- Attribution & protocol split:
meta-webindexer/1.1accounted for 2,305 hits (1,993404s and312legacy301s), all other crawlers accounted for 30 hits (16404s and14301s), andAccept: text/markdownagents accounted for 0 hits (MarkdownServed: 0). - Live remediation verification: Immediately following the
map_hashreload,meta-webindexer/1.1301responses froze at312while subsequent probes incremented404cleanly (1,988to1,993).
Reproduce the Chromium image subrequest signature and confirm the origin returns 404 or 410 rather than 301:
curl -sSI -H "Accept: image/jxl,image/avif,image/webp,image/*,*/*;q=0.8" \
-A "meta-webindexer/1.1" https://example.org/page/135/null
Decision Criteria
- Retain RFC 9110 wire headers at the origin: Capture raw
Accept,Referer, andUser-Agentfields in origin logs rather than relying solely on aggregated CDN 404 summaries that strip subrequest media types. - Enforce segment airlocks on redirect automation: Reject
/(?:null|undefined)(?:/|$)segments and/_scanner prefixes at both ingestion and map-compilation stages to keep third-party bot defects out ofO(1)Nginx hash tables. - Deploy RFC 9111 cached
410 Goneedge rules: Return410 GonewithCache-Control: public, max-age=86400for coerced/nulland/undefinedpaths so upstream caches and crawlers suppress repeat probes without pulling ~80 KB HTML targets. - Adopt Markdown content negotiation and bounded diagnostic context: Serve
text/markdownto eliminate headless DOM scraping overhead, and restrict AI incident-triage context to active fault files (~65K vs. 358K tokens, preserving 98.3% vs. 10.5%softmaxattention weight).
curl -fsSL https://sunpug.io | less
• LinkedIn
