Google-Agent Allowlisting: Audit the Full User Journey

Google-Agent Allowlisting: Audit the Full User Journey
Quick Answer
Allow Google-Agent through automated challenges only after its User-Agent contains Google-Agent, its trusted source IP belongs to the current Google list, and any supplied signature passes verification. During Google's experimental signature rollout, a request with all three signature headers absent can qualify through the UA-and-IP baseline; a partial or failed offered signature cannot. Limit the exception to approved journey dependencies while retaining every other security control. Then test search, filtering, detail, cart or booking, and each XHR, GraphQL, or API dependency with business-state assertions. A homepage 200 is only one observation. [2] [6]
Why can Google-Agent still fail after an allow rule?
A UA rule covers one signal at one enforcement point, while a user action crosses several controls and application routes. Google's November 17, 2026 crawling documentation changelog announced technical guidance for publishers that want to enable Google-Agent access; the guide itself has no displayed publication date. [1] Google describes Google-Agent as agents hosted on Google infrastructure that navigate the web and perform actions upon user request. Each request has a User-Agent containing Google-Agent and comes from an address in the current user-triggered-agents.json list. [2] Google also warns that a user-agent string can be spoofed, so a string match cannot establish provenance by itself. [3]
An otherwise eligible request can still encounter an earlier broad ASN block, a managed bot rule, an AI-agent category rule, an interactive CAPTCHA, a JavaScript challenge, or a separate in-page CAPTCHA. It can also reach the homepage and fail later when search, filtering, a detail view, cart, or booking calls a different host or route. Google's troubleshooting scope explicitly includes XHR, GraphQL, and api.* endpoints, proxy header preservation, current IP data, and shared-IP rate limits. [2] The audit boundary therefore runs from request classification through the final application state. An edge status code cannot represent that whole chain.
What qualifies a Google-Agent request for challenge bypass?
Qualification requires a combined decision, with a distinct state for a failed offered signature. Start with the literal Google-Agent token in the UA and the original client address recovered at a trusted proxy boundary. Compare that address with a validated current snapshot of Google's dedicated Google-Agent IP file. An IP match establishes that the source address is within the published range; it does not identify the end user behind a request.
Google is also experimenting with Web Bot Auth for Google-Agent. Participating requests carry Signature-Agent: g="https://agent.bot.goog", with both Signature and Signature-Input using the g label. [2] Web Bot Auth uses HTTP Message Signatures under RFC 9421 to let a verifier authenticate covered HTTP message components; the protocol mechanics belong in a separate implementation reference. [7]
| Request evidence state | Internal classification | Challenge decision |
|---|---|---|
UA lacks Google-Agent | Normal traffic policy | Apply the site's existing controls. |
| UA matches; current IP does not | Unverified | Apply existing controls without exposing internal match details. |
| Current IP matches; UA does not | Unverified | Apply existing controls; the IP match alone is insufficient. |
| UA and current IP match; all three signature headers are absent | google_agent_baseline | Eligible for a challenge-only exception on an approved journey dependency. |
UA and current IP match; the complete signature set validates for label g and identity https://agent.bot.goog | google_agent_signed | Eligible for the same scoped challenge-only exception; record the signed assurance level. |
| UA and current IP match; signature headers are partial, malformed, mismatched, unverifiable, or invalid | signature_failed_or_indeterminate | Do not grant the exception; apply existing controls and record an internal reason code. |
| A signature validates but the UA or current-IP condition fails | Unverified | Do not grant the exception because the current Google-Agent combination is incomplete. |
Google calls its Web Bot Auth implementation experimental. The official guidance says that Web Bot Auth currently covers only some Google user agents and that signed traffic does not yet cover every request from agents that use the protocol. It recommends continued IP-, reverse-DNS-, and UA-based verification during the rollout, including an IP fallback where a request is unsigned. [6] A site-side classifier should reserve that fallback for a completely absent signature set. A partial set or failed verification is an inconsistent offered proof and should receive no challenge exception.
What must you prepare before changing edge rules?
Prepare trusted inputs, atomic endpoint synchronization, an exact dependency map, safe observability, and an authorized test environment. The rule change should consume validated data. Keep today's CIDRs, key IDs, counts, and cache lifetime out of static configuration. The rule should also know which host, path pattern, HTTP method, and application outcome belong to each journey stage.
The two live endpoints were re-read for this audit. At 2026-11-21 20:44:32 UTC, the IP endpoint returned HTTP 200 with an application/json body of 1,413 bytes. Its creationTime value was 2026-11-20T15:45:49.000000, and its 20 entries comprised 12 IPv4 prefixes and 8 IPv6 prefixes. These are retrieval-time observations from a changing file. [4] At 2026-11-21 20:44:33 UTC, the signature directory returned HTTP 200, media type application/http-message-signatures-directory+json, and a 754-byte body containing 5 unique keys. At that instant, every listed key advertised kty=OKP, crv=Ed25519, alg=EdDSA, use=sig, and key_ops=["verify"]. These snapshot values can change with a later response. [5]
Before a rule change, complete this preparation:
- Define the trusted proxy boundary. Recover the original client IP only from infrastructure metadata or forwarding headers written by a trusted proxy. Discard any client-supplied forwarding chain outside that trust boundary.
- Build atomic synchronizers. Validate the complete IP candidate as nonempty JSON with valid IPv4 or IPv6 networks before replacing the last-known-good snapshot. Validate a complete, usable key candidate before replacing the key cache. A failed refresh must leave the prior validated data intact and raise an alert.
- Preserve identity inputs. Carry the original client IP,
User-Agent,Signature-Agent,Signature, andSignature-Inputthrough load balancers and intermediate proxies. Google identifies these fields in its troubleshooting guidance. [2] - Inventory the journey. Record the host, path pattern, method, journey stage, GraphQL operation name where applicable, and expected state transition. Avoid a wildcard host or an entire ASN as an exception scope.
- Prepare authorized fixtures. Use a staging environment, sandbox, or designated test account with removable cart and booking data. Do not impersonate Google-Agent against a third-party site.
- Define safe logs. Correlate the edge and application layers while excluding authorization values, cookies, request bodies, GraphQL variables, payment data, and personal information.
A useful event schema includes:
timestamp_utc, trace_id, trusted_client_ip, ua_match,
ip_snapshot_creation_time, ip_snapshot_hash, signature_state,
key_snapshot_hash, host, path_template, method, journey_stage,
graphql_operation_name, classification, challenge_action,
matched_rule_id, rate_policy, http_status, application_outcome,
state_assertion_result
Protect the trusted client IP under the site's access and retention policy. Store a signature result and snapshot hash. Omit raw signature values.
How should verification and WAF rules be ordered?
Classify the request before broad bot controls can override the eligible exception, and apply the exception only after matching an approved journey dependency. Google's manual sequence is to confirm the UA, confirm the current IP, verify a signature if one is provided, and skip bot challenges for verified requests. Its troubleshooting guidance says this rule must evaluate before broad cloud or data-center ASN blocks, managed bot rules, and category-level AI-agent blocks. [2]
- Restore trusted request context. At the trusted edge, recover the original client IP and preserve the UA and signature header set.
- Load validated snapshots. Read the last-known-good IP snapshot and the usable key cache. Never replace either with a partial refresh.
- Classify the evidence. Produce
google_agent_baseline,google_agent_signed, or an unverified/failure state using the decision table above. - Match a journey dependency. Require an approved host, path pattern, HTTP method, and action stage before considering an exception.
- Skip only mapped challenges. For an eligible classification and dependency, bypass the listed bot, JavaScript, or CAPTCHA challenge that prevents the user-requested action.
- Continue the remaining controls. Keep WAF checks unrelated to that challenge, origin protection, authentication, authorization, CSRF and input validation, business rules, fraud controls, inventory or booking constraints, and capacity safeguards active.
- Evaluate general bot policy for all other traffic. Unverified requests and routes outside the approved dependency map continue through the site's normal rule set.
The following pseudocode expresses policy flow without binding the design to a WAF vendor or teaching signature construction:
classify(request):
ua_ok = request.user_agent contains literal token "Google-Agent"
ip_ok = trusted_client_ip(request) belongs_to last_known_good_ip_snapshot
signature_state = inspect_signature_header_set(request)
if ua_ok is false or ip_ok is false:
return UNVERIFIED
if signature_state is COMPLETELY_ABSENT:
return GOOGLE_AGENT_BASELINE
if signature_state is COMPLETE_AND_VALID_FOR_GOOGLE_IDENTITY:
return GOOGLE_AGENT_SIGNED
return SIGNATURE_FAILED_OR_INDETERMINATE
apply_policy(request, classification):
eligible = classification in {GOOGLE_AGENT_BASELINE, GOOGLE_AGENT_SIGNED}
dependency = match_approved_host_path_method_and_stage(request)
if eligible and dependency:
skip_only(dependency.mapped_automated_challenges)
continue_non_challenge_security_and_business_controls()
apply_capacity_policy_for(classification, dependency)
Use a maintained RFC 9421 implementation or a verified provider result for cryptographic validation. Google directs self-verifiers to fetch the public key directory, follow each response's cache policy, require the g identity and labels, and fall back to IP verification because every request is not yet signed. [6]
How should shared-egress traffic be rate-limited?
Give combination-verified Google-Agent traffic a separately observable capacity policy while retaining bounded protection. Google warns that concurrent requests from multiple users can share the same egress pool. A conventional source-IP bucket can therefore combine unrelated user-requested actions and return 429 responses even when each action is legitimate. [2]
Build the policy key from the verified classification and the action or route group, with source IP available as one diagnostic dimension. Record classification, route, matched bucket, application outcome, and state assertion so the team can distinguish capacity pressure from a broad rule collision. Derive thresholds and burst behavior from the site's measured origin capacity, abuse model, and observed traffic. The reviewed Google guidance supplies no universal request rate, burst size, or concurrency threshold.
A separate policy is still a rate limit. Keep global overload protection and circuit breakers, alert on repeated 429s by journey stage, and require a review before changing capacity. Unlimited exemption would remove a safety control and could hide an expensive application path. If an authorized journey test receives a 429, treat the test as failed, inspect the policy key and origin load, and adjust only from site-specific evidence.
How do you test the complete action journey?
Test each visible action together with every dependent request, then assert the resulting business state. Google's guide names on-site search, filtering, detail-page clicks, add-to-cart, booking, and the underlying XHR, GraphQL, or api.* endpoints. [2] A redirect or 2xx status can coexist with a CAPTCHA document, a GraphQL error, an empty result set, or an unchanged cart. The pass condition must describe what the application did.
| Journey stage | Dependencies to trace | Required state assertion |
|---|---|---|
| Search | Search document plus its XHR, GraphQL, or API request | The known test query returns the expected fixture set, no automated challenge appears, and the trace is complete. |
| Filter | Filter mutation/request and required resources | Applying a known filter changes the fixture set exactly as expected. |
| Detail | Detail document and entity or product API | The selected test entity loads with the fields needed for the next action. |
| Add-to-cart branch | Cart mutation/API and session or state service | The designated test item appears in the test cart; no real payment occurs. |
| Booking branch | Availability request plus test hold or booking mutation | The sandbox creates an identifiable, removable test hold or reservation without consuming real inventory. |
Use the cart and booking rows as separate terminal branches; test the branch that the site actually supports and mark an inapplicable branch as such. For every executed stage, capture the entry request, downstream dependencies, matched rule and challenge action, final state, and shared trace ID. Clean up test carts, holds, and reservations. A cleanup failure is a failed test because test state remains in the application.
Classifier state, route scope, and rule predicates can be exercised with internal fixtures and WAF simulation in an environment the site owner controls. Production authenticity requires authorized observation of real request logs; a synthetic request cannot prove that it came from Google. This separation keeps the audit defensive and avoids using the procedure to bypass another site's controls.
How do you troubleshoot a failed journey?
Locate the first failing stage and correlate its edge decision with the application outcome. Start with a trace ID from the authorized test, then inspect classification, rule order, challenge action, rate policy, downstream request, and state assertion in sequence. Google's troubleshooting guidance calls out priority, interactive and in-page challenges, deep action routes, shared IPs, IP updates, and proxy header preservation. [2]
| Observed failure | Boundary to inspect first | Corrective action and proof |
|---|---|---|
| An eligible request is blocked before routing | Rule priority | Find the first matched rule ID; move the scoped classification/exception evaluation ahead of the broad bot rule, then repeat the same traceable test. |
| Classification changes after a proxy hop | Trusted client IP or header preservation | Verify the trusted forwarding chain and preservation of UA and all three signature headers; prove the classification remains stable across hops. |
| A signed request appears unsigned | Signature header preservation | Compare header-presence booleans at trusted hops without logging raw values; restore the lost field and re-run verification. |
| Signature validation is indeterminate or fails | Header completeness, g identity/labels, key cache, or verifier result | Refresh the directory under its response cache policy, inspect the internal reason code, and withhold the challenge exception until validation succeeds. |
| Search works but filtering fails | Missing XHR, GraphQL, or API route | Add the observed host/path/method and operation to the reviewed dependency map only if it is required, then assert the filtered result state. |
| A request returns 2xx but the action did not occur | Application response or state assertion | Inspect challenge content, GraphQL errors, session state, and application outcome; require the expected state transition. |
| The journey receives 429 responses | Shared-egress rate policy | Inspect the classification/action bucket and origin capacity; tune from measured evidence while retaining bounded protection. |
| A previously recognized source IP stops matching | IP snapshot freshness or trusted IP extraction | Check the latest validated endpoint fetch, snapshot hash, creationTime, and proxy-derived address before changing policy. |
| A form displays a standalone CAPTCHA | In-page challenge mapping | Scope a challenge-only exception to that approved action dependency and confirm all other controls still run. |
Never return internal classification reasons, key details, or rule structure to the requester. Keep detailed reason codes in access-controlled security logs and aggregate routine mismatches to avoid noisy per-request logging.
How do you keep the allowlist current?
Refresh dynamic inputs safely and run the action journey as a continuing control. Google tells site owners to keep IP rules synchronized with the latest user-triggered-agents.json and to cache signature keys according to the directory response's Cache-Control header. [2] [6] Treat endpoint hashes, counts, algorithms, and creationTime as drift signals. They describe a fetched snapshot and should never become hard-coded acceptance criteria.
- Fetch into a candidate snapshot. Require the fixed HTTPS origin, successful response, expected base media type, and a complete parse.
- Validate before replacement. Reject an empty or partially invalid IP list. Reject a key candidate with no usable verification key. Keep the last-known-good data when a refresh fails.
- Swap atomically. Publish the complete candidate in one operation. After a successful key-directory refresh, remove cached keys that the new directory no longer lists.
- Honor response caching. Compute key refresh behavior from the current successful response. Treat the cache lifetime observed on November 21, 2026 as a retrieval-time value.
- Monitor drift and outcomes. Alert on refresh failure, suspicious rollback of the IP file's time field, algorithm support gaps, signature-failure changes, challenge hits, 429s, and failed state assertions.
- Repeat both terminal branches where applicable. Run authorized search-to-cart and search-to-booking checks after relevant edge, proxy, route, or application changes and on the site's chosen monitoring schedule.
Google does not specify a universal synchronization interval or alert threshold in the reviewed guidance. Set the operating schedule from the endpoint cache instructions, site risk, change process, and capacity. Keep a rollback path for rule changes as well as data snapshots.
Frequently Asked Questions
Can I allow Google-Agent by User-Agent alone?
No. Google states that each Google-Agent UA contains Google-Agent, but its user-triggered fetcher documentation also warns that user-agent strings can be spoofed. Combine the UA match with membership in the current user-triggered-agents.json snapshot. If the signature header set is present, verify it for the documented g label and Google identity before granting a scoped challenge exception. [3]
Should I reject every unsigned Google-Agent request?
No. Google's Web Bot Auth implementation is experimental: the protocol currently covers only some Google user agents, and signed traffic does not yet cover every request from agents that use it. The current guidance says to retain IP-based fallback during this rollout. A request with the signature set completely absent may use the UA-and-current-IP baseline. A partial, malformed, or failed offered signature should not be treated as ordinary unsigned traffic and should receive no challenge exception. [6]
Does Google-Agent obey robots.txt?
Google's precise statement applies to the broader category: user-triggered fetchers generally ignore robots.txt rules because a user initiates the fetch. [3] Preserve “generally” because the source does not make an absolute claim. For this access audit, robots.txt is therefore an unreliable substitute for request verification and scoped edge policy.
Why is a homepage 200 insufficient?
The homepage covers neither the deep route set nor the expected application state. Search or filtering can trigger a separate XHR, GraphQL, API, JavaScript challenge, or in-page CAPTCHA. Cart and booking can also fail after detail content loads. Google's guide explicitly includes those actions and dependencies in troubleshooting. Pass the journey only after every applicable stage produces its expected business-state change. [2]
How should rate limits handle shared Google-Agent IPs?
Place combination-verified traffic in a separately observable capacity policy keyed by classification and action or route, while retaining global safeguards. Google says multiple users can share an egress pool, so a source-IP-only bucket can aggregate their concurrent requests. [2] Choose thresholds from measured site capacity and risk. The official guidance does not supply a universal rate or justify an unlimited exemption.
Does Google promise ranking or AI-citation gains from allowlisting?
The reviewed official sources make no promise about indexing, rankings, citations, traffic, or conversion. They describe identifying Google-Agent traffic, preventing legitimate requests from being blocked, and troubleshooting user-requested actions. They also do not map Google-Agent to Gemini, AI Mode, or a citation crawler. Treat access verification and outcome measurement as separate work; successful journey tests prove reachability in the tested conditions only.
Bottom Line
A safe Google-Agent allowlist is a combined, continuously refreshed classification: UA plus the current dedicated IP list, with RFC 9421 verification whenever the documented signature set is present. Google's signature rollout remains experimental, so complete signature absence retains the documented IP fallback while an invalid offered proof gains no exception. Evaluate the classification before broad bot rules, skip only the automated challenges required on approved routes, and retain all other controls. Release the change only when search, filtering, detail, and the applicable cart or booking branch pass with their XHR, GraphQL, and API dependencies and expected business states.
References
- Google's Crawling Documentation Changelog
- Allow Google-Agent traffic
- List of Google user-triggered fetchers — Google-Agent
- user-triggered-agents.json (retrieved November 21, 2026)
- Google-Agent HTTP Message Signatures Directory (retrieved November 21, 2026)
- Authenticate requests with Web Bot Auth (experimental)
- RFC 9421: HTTP Message Signatures