Skip to content

Web cloaking against agentsAgent-Targeted Cloaking on the Web

Mu Chen, Zhimei Chen, Fakhri Karray
Mohamed bin Zayed University of Artificial Intelligence
arXiv: 其他 AI 安全论文arXiv:2611.38549Originally published Indexed by this site · 2 days agoSelected EvaluationSelectedAttention38

Quick read

Evaluation and benchmarks

Based on the paper PDF (AI-generated); refer to the original

The authors propose Parallax to measure differential treatment of AI agents by websites: on the campus network, ChatGPT-User was rejected at 21.2% of sites, with less content modification.

Questions
Websites may refuse access or serve different content based on the identity an agent declares, while real users see only the answer and are unlikely to notice. Existing policy audits, access measurement, and content scanning usually observe only one identity at a time and cannot directly compare the agent's page with the human's page.
Methods
Parallax crawls pages under multiple identities within the same time window, estimates natural variation using repeated Chrome requests, then calibrates differences, classifies denials and content changes, and attributes them to identity, client, or network; it also tests answer changes with six backbone models.
Experiments and results
In the campus network HTTP scans, AI identities were denied at 17.7%–27.8% of sites and altered at 3.2%–4.6%; the authors state that denials are mainly enforced by a small number of intermediaries, that hidden text targeting agents is relatively rare, but that denials and public site instructions change answers.
Limitations and future work
The authors note that the detector reads only text and misses image, price, or link changes that do not alter text, and that the scan covers one week in October 2026; the measurement cannot send requests from vendor address ranges or with signatures. The consequence experiments use six open-source backbone models and two judges.
Experimental setupQwen2.5-7B、Llama-3.1-8B et al. · Tranco list of 18 October 2026 top 10,000、Tranco ranks 10k to 1M long-tail sample et al. · Denial、Alteration et al.
Threat model
Sites or CDNs can serve the agent user pages different from those served to the real user, based on signals such as declared identity, network address, and client fingerprint; the real user sees only the agent's answer. The authors assume no malice; the measurer can set identity, engine, and network location, but cannot send requests from vendor address ranges or present signatures.
Metrics
DenialAlterationmaterial changes (pp)RecallNull flag rateAnswers following a site’s published directive
AI summaryand selection rationaleIn an arXiv paper, researchers propose the Parallax differential measurement framework, fetching the same URL both as a declared agent identity and as a real user browser, and find that about one-fifth to one-quarter of websites reject the declared AI identity, a difference users cannot perceive. On the top 10,000 Tranco websites, each AI identity was rejected by 17.7%–27.8% of websites, with rejections mostly enforced by intermediaries such as Cloudflare and Akamai, and 88% of fetcher rejections came from websites whose robots.txt did not prohibit them; content-level cloaking was less common, with only 4 websites serving agents text that browsers cannot see, including a large news publisher that served AI identities an agent page with sponsored content. Most rejected or altered pages substantially change the answers agents give users, and instructions in llms.txt also steer agent answers; Anthropic's officially verified fetcher, by contrast, received 77% of the pages that rejected self-declared identities.

In an arXiv paper, researchers propose the Parallax differential measurement framework, fetching the same URL both as a declared agent identity and as a real user browser, and find that about one-fifth to one-quarter of websites reject the declared AI identity, a difference users cannot perceive. On the top 10,000 Tranco websites, each AI identity was rejected by 17.7%–27.8% of websites, with rejections mostly enforced by intermediaries such as Cloudflare and Akamai, and 88% of fetcher rejections came from websites whose robots.txt did not prohibit them; content-level cloaking was less common, with only 4 websites serving agents text that browsers cannot see, including a large news publisher that served AI identities an agent page with sponsored content. Most rejected or altered pages substantially change the answers agents give users, and instructions in llms.txt also steer agent answers; Anthropic's officially verified fetcher, by contrast, received 77% of the pages that rejected self-declared identities.

Why it was selectedThe paper finds that about one-fifth of websites reject declared AI agents and that most rejections are not found in public policies, and its differential measurement method can be reused by operators and regulators for auditing.

Related events and news

1 events · 0 news mentions

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors study whether websites serve different pages by agent identity, and use calibrated measurement to distinguish identity differences from natural page variation.

    The core question is: websites may serve AI agents pages different from those served to real users, and existing measurement struggles to identify, attribute, and evaluate the consequences.

    • Scenario and importance: Answer engines and agent browsers read web pages on users' behalf, and users usually see only the final answer. The authors argue that if the same URL refuses access to agents or serves promotional or deceptive content to them, Web services may influence users' perception and choices.
    • Shortcomings of existing methods: The authors divide existing work into policy audits, access measurement, and content scanning, and argue that they observe only one identity at a time and can answer whether an agent is permitted access but cannot determine whether it receives the page a real user would; direct byte comparison would also count natural variation such as ads, timestamps, and A/B tests as differential treatment.
    • Core observation: In the preliminary comparison in Figure 1, ChatGPT-User differing only in User-Agent received the same page on 74% of top 10,000 sites, a changed page on 5%, and HTTP 403 on 21%. The authors therefore locate the main problem in access refusal while retaining measurement of covert content differences.
    • Proposed approach: The authors propose Parallax, which synchronously compares declared-agent and Chrome reference views, calibrates natural variation with repeated browser requests, traces the signals that trigger differences, and tests whether differences change agent answers.
    • Threat model:
      • Target and victim system: A site or a CDN acting for the site can refuse the agent user or serve it different content; the real user receives only the agent's answer.
      • Available signals: Declared User-Agent and request headers, network address and reputation, transport and rendering fingerprints, and behavior over time.
      • Measurer capability: Can set identity i, engine e, and network location v, but cannot send requests from vendor address ranges or present vendor signatures.
      • Behavioral assumption: The authors explicitly assume no malice; refusal, reduction, substitution, enhancement, prerendering, and agent-facing text are all measured as forms of differential treatment.
  2. What related research exists?

    Related work covers traditional cloaking, differential Web measurement, AI crawler policy, and Web agent attacks; the authors emphasize that this paper compares two user views.

    Web Cloaking and Spam

    • Early detection and classification: Wu and Davison (2005, 2006) and Chellapilla and Chickering (2006) compare crawler and browser copies; Wang et al. (2011) track cloaking in search results; Invernizzi et al. (2016) classify by trigger signals such as User-Agent, address, and JavaScript.
    • Client-side cloaking: Duan et al. (2017)'s Cloaker Catcher moves the comparison to the client side; Zhang et al. (2021)'s CrawlPhish analyzes client-side cloaking in phishing pages.
    • Relation to this paper: The authors state that early systems already compared crawler-versus-browser and crawler-versus-crawler differences, but assumed the second view would eventually be seen by a human; Parallax changes the reader to an agent and adds same-page null calibration and cross-signal attribution.

    Differential Web Measurement

    • Views of different visitors: Prior work measures the Web as seen by anonymous network users, different regions, different user profiles, and different crawler configurations; Ahmad et al. (2020) and others show that crawler configuration changes recorded results.
    • Anti-bot and UA effects: Azad et al. (2020), Li et al. (2021), and Luo et al. (2026) study anti-bot services and server-side fingerprinting; Intumwayase et al. (2023)'s UA-Radar reports on 270,000 pages that no difference appeared due to browser UA before script execution, and the authors use this as a reference for this paper's AI token results.

    AI Crawlers and Consent

    • Policy and enforcement: Longpre et al. (2024) and Hoffmann et al. (2026) measure AI crawler policies published by websites; Kim et al. (2025) studies crawler compliance with robots.txt; Liu et al. (2025) and Steinacker-Olsztyn et al. (2026) measure whether requests carrying AI tokens receive pages.
    • Machine-readable Web and defense mechanisms: Related work includes llms.txt, agent interfaces, signed identity, pay-per-crawl, and Markdown negotiation; Ayzenshteyn et al. (2025), Li et al. (2026), and Liu et al. (2026) discuss using cloaking to defend against agents. The authors state that these works describe policies, protocols, or mechanisms, whereas this paper measures the content actually served.

    Attacks on Web Agents

    • Indirect prompt injection and benchmarks: Greshake et al. (2023) study indirect prompt injection in web page content; AgentDojo, InjecAgent, WASP, EIA, AdvAgent, and others evaluate such content in tool outputs or web pages.
    • Answer manipulation and in-the-wild scanning: GEO, adversarial search optimization, and ranking manipulation study the effect of page text on answer engine outputs; Brunner et al. (2026) and Khodayari et al. (2026) scan for in-the-wild injection, and BrowseSafe studies HTML-aware detection. The authors note that these scans see only one view of a single page, whereas this paper compares the agent view with the human view.

    Control setting: This paper does not use another complete measurement framework as a baseline; the controls in Table 5 are Parallax's calibration ablations and "any text difference," with data from the campus network scan and the planted testbed.

  3. How does the paper address this problem?

    Parallax measures differential treatment and its answer consequences through same-window multi-identity crawling, Chrome null calibration, type labeling, and signal attribution.

    Parallax represents each visit as a combination of declared identity, rendering engine, and network location, compares the agent and the Chrome reference page within the same visit window; only differences exceeding the page's own variation enter subsequent analysis.

    Problem setup and forms of difference

    • Visit model: a persona is π = (i, e, v), a cell is c = (e, v); a response includes status, visible text Tvis, and hidden text Thid. The site-level target quantity is written as ρf(i,c)=𝔼s∈ Si,c[maxu∈ Usyf(u,i,c)], i.e., the proportion of valid sites for an identity where form f appears on at least one page.
    • Six forms: Table 1 defines Denial, Reduction, Substitution, Augmentation, Prerendering, and Agent-directed text; only Denial is directly visible to the agent, and the latter five content forms constitute what the authors call agent-targeted cloaking.
    • Response views: access records status, redirects, and challenge-page signatures; visible extracts the rendered body text and excludes content such as CSS-hidden text; hidden collects excluded text, HTML comments, attributes, and Unicode tag characters.

    Identity space and window crawling

    • 16 identities: Table 2 includes the Chrome reference, three on-demand agent fetchers, two AI search crawlers, three training crawlers, two search crawlers, four browser or bot controls, and a protocol identity requesting text/markdown.
    • Three engines and network locations: the HTTP client does not execute JavaScript and replays Chrome's TLS and HTTP/2 fingerprints; there are also headless Chromium and full Chromium. Network locations are the campus network, residential lines, and an Australian cloud data center.
    • Scan schedule: all 15 non-Chrome identities scan all pages under the campus network HTTP engine; 2,000 stratified sites additionally cover residential and data center homepages, with five identities covering two rendering engines.
    • Window protocol: Wc(u)={r1,πσ(1),…,πσ(n),r2}, with a third Chrome request r3 inserted at a random position; requests to the same host are spaced two seconds apart, and a window lasts about one to two minutes. Each site's homepage and up to two same-origin internal pages are crawled, and robots.txt and llms.txt are collected.

    Calibration, labeling, and attribution

    • Natural variation calibration: body text uses Jaccard distance over 5-gram shingles; displacement takes the distance between the persona and the more similar of r1 and r2 and subtracts the page's own variation; excess computes new sentence tokens absent from both reference requests, then subtracts the mean of new tokens between the references.
    • Null and thresholds: r3 at a random position serves as the null; thresholds are set by cell and page-variation bin, with a target site-level null of α = 1%. Thresholds are fitted on half the sites and applied to the other half; Appendix B reports a campus network displacement floor of 0.05, with excess thresholds ranging from 8 tokens for static pages to 16 tokens for fluctuating pages.
    • Denial and confirmation: error statuses, 25 seconds without response, challenge or block pages, etc. can be judged as denial, but all three Chrome references must succeed; 429, 5xx, and network errors are retried once. All flagged pages are re-crawled several days later.
    • Content classification: the first applicable category is taken in order of severity Agt, Red, Sub, Pre, Aug; Agt uses a construction lexicon from the prompt injection and generative engine optimization literature. Wild agent-only text is first classified by Qwen2.5-7B-Instruct, and snippets beyond the benign categories are manually reviewed.
    • Signal attribution: on a subsample, the full Chrome campus network view serves as the human reference, and a mixed-effects logistic model with site and CDN random intercepts is fitted, reporting average marginal effects of identity, engine, and network location; the proportion of denials that disappear when only the declaration is changed to Chrome, i.e., the spoofing dividend, is also computed.

    Testing agent answers

    • Altered and denied pages: six open-source backbone models each generate three-sentence summaries and site-service Q&A based on the browser first, browser last, and persona views; gpt-oss-20b judges whether answers produce a material difference, subtracting the null between the two browser views.
    • Public instructions: 66 distinct instructions are retained from llms.txt, a reviewer model generates questions, yielding 118 questions across 59 sites; instructions retained versus removed and a plain system prompt versus one marking retrieved content as untrusted data are compared.
    • Decoding settings: Appendix C specifies truncating input to 6,000 characters, greedy decoding, and generating at most 250 tokens; Qwen2.5-32B also serves as a second reviewer to measure agreement.
  4. What experiments did the paper conduct?

    The experiments cover popular and long-tail Tranco sites, planted testbeds, and six answer backbones; the main result is that identity-related denials outnumber content changes.

    Experimental setup

    • Site sample: Of the Tranco top 10,000 as of October 18, 2026, 6,648 domains returned HTML to Chrome; after merging registrable domains, the campus network has 4,705 valid sites. The campus network scan covers 19,678 pages and 354,204 requests.
    • Long tail and re-scan: An additional 6,000 domains ranked 10k–1M were sampled, yielding 2,047 valid sites; the second campus network scan and the re-crawl of all flagged pages took place four to five days after the first scan.
    • Identities and conditions: Table 2 reports results for 16 identities on campus network, residential, and data center; the main scan uses the HTTP engine, and a 2,000-site subsample is additionally tested with headless and full Chromium.
    • Answer backbones: Qwen2.5-7B, Llama-3.1-8B, Phi-4, Qwen3-14B, Qwen2.5-32B, Llama-3.3-70B (FP8), with parameter range 7B–70B.
    • Judging and samples: gpt-oss-20b labels answer differences as identical, minor, or material; the consequence experiments include 331 content-flagged pages and 38 refusal pages, with two requests per page. Qwen2.5-32B serves as the second judge.
    • Detector validation: The planted testbed is built from 40 real articles into 1,480 pages, covering three magnitudes and five added-text channels; the public instruction experiment includes 66 instructions, 59 sites, and 118 questions.

    Main results

    According to Table 2, values are the proportion of sites relative to the Chrome token in the same cell; the campus network column covers the main scan, and the residential and data center columns cover only the subsample home pages.

    Swipe horizontally to read the table

    IdentityCampus Den (%)Campus Alt (%)Residential Den/Alt (%)Data center Den/Alt (%)
    Browser null r30.20.90.1/0.80.2/0.6
    Firefox0.51.30.1/1.20.2/1.3
    ChatGPT-User21.24.616.0/2.711.9/4.0
    Claude-User17.73.213.4/2.06.6/2.2
    Perplexity-User20.33.415.2/2.211.3/2.6
    GPTBot26.24.321.0/2.816.4/3.1
    ClaudeBot27.84.122.7/2.713.9/3.7
    Unknown bot5.72.93.8/1.64.5/2.2

    The table omits OAI-SearchBot, PerplexityBot, CCBot, Googlebot, Bingbot, HeadlessChrome, python-requests, and Markdown client; full results are in Table 2.

    • Identity range: On the campus network, Den for all AI identities is 17.7%–27.8% and Alt is 3.2%–4.6%; residential and data center are correspondingly 13.4%–22.7% and 6.6%–16.4% (Table 2).
    • Not only targeting AI: On the campus network, Den for Googlebot, Bingbot, HeadlessChrome, and python-requests is 21.6%, 21.7%, 18.6%, and 23.1%, respectively; the authors therefore argue that refusals also attach to other identifiable automation names.
    • Stability: Four to five days later, 98.6% of AI-identity refusals and 90% of changes reproduced on the campus network; among the 3,889 sites valid in both rounds, refusal rates for each identity changed by at most 0.3 percentage points and change rates by at most 0.5 percentage points.

    Refusal mechanisms, verified fetching, and the long tail

    • Enforcement location: 82% of AI refusals are HTTP 403, 3.9% are 402 requiring pay-per-crawl, and 7% are timeouts. Cloudflare and Akamai front 49% of sites but account for 75% of refusals; the authors therefore place the enforcement emphasis on intermediaries.
    • CDN exceptions: The text results of Figure 4 show that sites behind Akamai refuse unknown bot 32% and ChatGPT-User 45%, while behind Cloudflare the figures are 0.9% and 27%, respectively; the authors interpret only the latter as rules targeting AI names.
    • Verified fetcher: In Figure 3, Anthropic's deployed fetcher retrieved 77% of the 180 pages that refused self-declared Claude-User, while another 14% were refused by the fetcher itself and 2% were blocked by the site; among 60 pages served normally to the persona, it retrieved 95%. The authors state that the self-declared measurement is an upper bound on that vendor's verified fetcher refusal rate.
    • Long-tail changes: In the 10k–1M ranked sample, refusal rates for GPTBot, ClaudeBot, and CCBot are 19.7%–22.1%, agent fetchers drop to 7.8%–10.9%, and unknown bot is 3.5%.

    Content differences and detector validation

    • Manually reviewed cases: The authors report four sites that served AI-facing text to the AI view that the browser did not receive, three of which reproduced in two subsequent scans; one news publisher site served an agent page with sponsored content to all AI tokens through an intermediary, while the browser and Googlebot received the original page.
    • Open channels: Of the 6,648 domains, 1,144 (17%) publish llms.txt; about 70 sites' files contain instructions on how to describe the site, which pages to prefer, or which products to recommend. Of the 77 sites where the AI view matched the agent-directed word list, 76 also served the same text to the browser.
    • Planted detection: Figure 9 reports overall recovery of 97% of planted modifications, 99.9% correct detection type, and no false positives on unmodified pages and non-AI identities; recall for the smallest-magnitude reduction is only 42%. The authors note that the planted text uses word-list constructions, so in-the-wild counts are a conservative lower bound.

    Effects on answers and public instructions

    • Answer changes: Figure 7 reports across the six backbones that refusal pages show material changes of 83–100 percentage points relative to null, reduction of 61–78, and substitution of 31–60; the intervals for each form and each backbone exclude zero. The browser's own null reaches as high as 25%.
    • Judge agreement: The second judge agrees with the first in 88% of comparisons, Cohen's κ = 0.70; the second judge also reports positive effects for all forms and backbones, with reduction of 58–68 percentage points.
    • llms.txt instructions: In Table 4, pooled compliance rates under the normal prompt range from 50.0% for strip to 56.9% for keep, a lift of +6.9 percentage points; under the untrusted-data prompt they are 46.8%, 53.5%, and +6.7. The pooled 95% intervals for the two conditions are 3.2–11.0 and 2.8–11.2 percentage points, respectively, and the authors state that prompt-level handling did not eliminate the effect.

    Other ablations and analyses

    • Table 5 calibration baseline: any text difference has a null of 7.2%, AI tokens of 7.7%–8.9%, and recall of 100%.
    • Table 5 full Parallax: null of 0.9%, AI tokens of 3.2%–4.6%, unknown bot of 2.9%, and recall of 97.0%.
    • Table 5 single statistics: displacement alone has recall of 25.0%, and excess alone 89.4%.
    • Table 5 reference and calibration: using only one Chrome request or not subtracting the page's own variation both give recall of 77.4%; at α = 0.5% it is 70.1%.
    • Figure 6 clients and identities: Among 1,028 sites reachable in all cells, HTTP and headless clients declaring Chrome are refused 10.4% and 12.9%, respectively, relative to the human browser; the full browser, changing only the declaration to ChatGPT-User, Perplexity-User, or GPTBot, is refused 19.3%, 16.6%, and 24.8%, respectively.
    • Section 4.4 attribution: Declaring an AI identity increases refusal probability by 8.3–18.1 percentage points; HTTP and headless engines increase it by an average of 3.3 and 4.4 percentage points, and residential networks decrease it by 3.3 percentage points.
  5. What are some points that can be further explored?

    The authors list limitations including text detection, the time window, and verified identity, and propose directions such as continuous monitoring, screenshots, signed requests, and interactive agents.

    Limitations and future directions noted by the authors

    • Crawl overhead: Section 5 Limitations notes that 18 requests per window to a host and about one minute per page are better suited to periodic audits than continuous monitoring; a full top 10,000 scan takes about two hours on a single node.
    • Text-only: Section 5 and Appendix F note that image, price, or link changes that do not alter text are missed; Appendix F also reports a recall of 42% for the smallest-magnitude reduction.
    • Time range: Section 5 Limitations states explicitly that the scan covers only one week in October 2026.
    • Verified identity cannot be forged: Appendix F notes that the measurement cannot send requests from vendor address ranges or with signatures, so cloaking reserved for verified fetchers can only be observed through the one deployed fetcher queried; the change rate is a lower bound, and the refusal rate is an upper bound for verified fetchers.
    • Network location: Appendix F notes that the two vantage points are in the same country, that country filtering removes some sites, and that this mainly affects the long-tail sample.
    • Future directions: Appendix F Future Work proposes continuous scanning, screenshots and prices and links, measuring from vendor address ranges or signed requests, covering interactions such as search, forms, and checkout, and testing defenses such as browser-view cross-checking and site instruction reporting.

    Experimental coverage

    • Sites and timing: The main sample is 4,705 valid campus-network sites among the Tranco top 10,000, and the long tail is 2,047 valid sites; the second scan and re-crawl of flagged pages took place four to five days later (Section 4).
    • Identities and networks: 15 non-Chrome declared identities, three engines, and three network locations are measured; residential and data center cover only the home pages of a 2,000-site subsample, and rendering engines cover only five of those identities (Section 3.2).
    • Answer models: The consequence experiments use six open-source backbone models, with gpt-oss-20b as the primary judge and Qwen2.5-32B as the second judge; the paper does not report end-to-end answer results for closed-source answer engines (Section 3.6, Appendix C).
    • Verified fetcher: Only 326 URLs were requested through Anthropic's deployed Claude fetcher; the paper does not report corresponding experiments for other vendors' deployed fetchers (Sections 3.2, 4.2).
    • Instructions and judging: The public instruction experiment includes 59 sites and 118 questions; the two judges agree on 88% of answer comparisons, and the paper does not report human answer judging or agreement between judges and humans (Appendix C, Section 4.5).
  6. Summarize the main content of the paper

    Parallax measures and attributes websites' differential treatment of declared agents; the authors believe the main obstacle is access denial caused by unverifiable identity.

    This is a Web measurement study: the authors use Parallax to check whether the same URL serves different pages to AI agents and real users, and further determine the forms of difference, the triggering signals, and their effect on answers.

    • Problem: Agents read web pages on users' behalf, and users see only the answer; sites or CDNs can refuse access or serve different content based on declared name, address, or client fingerprint, and single-identity policy audits, access measurement, and content scanning cannot directly compare the two views.
    • Method: Crawl pages with 16 identities within the same window, estimate natural variation with three Chrome requests and set a null; then distinguish refusal, reduction, substitution, enhancement, prerendering, and agent-facing text, attribute with a mixed-effects model, and test answer changes with six open-source backbone models.
    • Access results: In the campus network HTTP scan in Table 2, ChatGPT-User is refused on 21.2% of sites and changed on 4.6%; refusal rates for all AI identities are 17.7%–27.8%. Residential and data center refusal rates are lower, but the identity ordering is consistent.
    • Mechanism and validation: 82% of AI refusals are HTTP 403; Cloudflare and Akamai front 49% of sites but account for 75% of refusals. In Figure 3, Anthropic's verified fetcher retrieved 77% of the 180 pages that refused self-declared Claude-User.
    • Content and answers: After manual review, the authors report only four sites containing AI-facing text that the browser did not receive; in Figure 7, refusal pages change the six backbones' answers by 83–100 percentage points relative to null. Table 4 shows that keeping llms.txt instructions yields a +6.9 percentage point pooled compliance lift under the normal prompt, and still +6.7 under the untrusted-data prompt.
    • Authors' conclusion: The authors argue that the main current problem is a small number of intermediaries enforcing refusals based on unverifiable names, rather than large amounts of hidden content; verifiable identity and signed requests should be the focus going forward. The detector reads only text, the scan covers only one week, and the measurement cannot impersonate vendor-verified identities, so the authors treat the relevant in-the-wild counts and verified-fetcher inferences as lower or upper bounds, respectively.

Research lineage

1 foundations · 0 follow-ups in library
Explore in knowledge graph →
This paper
Agent-Targeted Cloaking on the Web
2026-11-28
Follow-up work

No later in-library follow-ups recorded yet.

Hover or focus a connected paper to inspect the citation context.

Read originalarxiv.org