← Cocha Insights

AI Web Search and Web Fetch: What Your Web Filter Can See

AI web search and fetch security blind spot showing how vendor-hosted AI retrieval can bypass corporate web filtering and security visibility.

AI internet search and web fetch tools in Claude, ChatGPT, Microsoft 365 Copilot, Gemini and Grok read live web pages for a user. Where the request runs differs by vendor and by deployment mode, and that decides which of your controls can see it.

In many hosted modes the request starts on the vendor’s infrastructure. Your secure web gateway, DNS filtering and proxy never handle it, so their category and threat-intelligence checks don’t apply to that hop. That is a routing fact. It says nothing about whether the vendor screens the URL on its own side. Some vendors document a check, some document only domain lists, and for several the public documentation doesn’t say. Treat silence as unknown, not as proof of absence.

Local tools are different again. A desktop app or MCP server that fetches from the user’s device sends traffic your network can see, if it routes through your controls. This page separates the cases so you can work out where enforcement belongs for each one.

What AI web search and web fetch do

Search and fetch get lumped together, but they’re two tools. Web search takes a query and returns ranked results. Web fetch retrieves the content of one specific URL so the model can read it. Vendors give the second one other names, including browsing, grounding and URL context.

In the standard hosted setups, the vendor’s servers make the outbound request, not the user’s laptop and not your firm’s egress. Anthropic documents a different path for Claude Desktop deployed through a third-party cloud. Web Fetch runs in the desktop app on the user’s device, and every fetch, redirects included, is checked against an admin egress allowlist. Web Search in that deployment runs at the inference provider, or in the app if a built-in search server is added. The built-in search server runs in the app itself, outside the egress allowlist, and its backend host has to be reachable through your firewall and proxy.

In Code sessions, Claude Code also checks each domain against an Anthropic blocklist before it fetches, and refuses the fetch if that lookup can’t complete. Cowork sessions don’t perform this lookup. Admins can turn the lookup off with skipWebFetchPreflight.

So deployment and routing decide visibility. A gateway or CASB inspects traffic that crosses it. A request that begins in a vendor’s cloud and goes straight to the destination doesn’t cross it, and only the resulting text comes back to the chat. That holds for those paths. It doesn’t tell you what every security product can see in every deployment.

Where the request runs and which controls can see it

The matrix sorts each mode by where the request runs and what can observe or restrict it. Unknown means the documentation reviewed for this page doesn’t say. It doesn’t mean the behavior is absent.

ModeWhere the request runsWhat can observe or restrict itEvidenceA test an administrator can run
Claude API web search and web fetch toolsAnthropic sideallowed_domains or blocked_domains, max_uses. Claude fetches only URLs that already appeared in the conversation (user messages, tool results, or earlier search or fetch results)Anthropic web fetch tool documentationBlock one domain in the tool settings, ask for a page there, confirm the tool refuses
Claude Desktop on a third-party cloud: Web FetchUser’s device, inside the appcoworkEgressAllowedHosts allowlist, checked on every hop including redirects. The app follows OS proxy settings. In Code sessions, an Anthropic blocklist lookup also runs before fetchAnthropic Claude Desktop web tools documentationLeave the allowlist empty and request a fetch, expect a refusal. Add one host and look for it in proxy logs
Claude Desktop on a third-party cloud: Web SearchInference provider, or in the app if a search server is addedProvider terms, or device egress reachability for the search backend. coworkEgressAllowedHosts does not apply to provider-side search or the built-in search serverSame documentationCheck whether a web search server is configured, then look for its traffic in device egress logs
Microsoft 365 Copilot web searchMicrosoft generates a short Bing query from the prompt. Network path: unknownAllow web search in Copilot policy, Purview DLP rule for sensitive information types, Zero Query Logging for retentionMicrosoft Learn pages for public web access, Purview DLP for Copilot, and Zero Query LoggingIn a pilot group, change the policy and confirm Work mode search stops. Test a DLP rule with a dummy sensitive string
Azure Foundry Web Search and Grounding with Bing SearchBing service, outside the Azure compliance boundaryMicrosoft says these tools don’t respect VPN or private endpoints and act as public endpoints. Domain limits come through a Bing Custom Search configurationMicrosoft Learn, web grounding tools overview (current Foundry Agent Service)Run the tool from a network-secured Foundry project and confirm whether it still reaches the web
Gemini URL contextGoogle side, live fetchA content moderation check that can return an unsafe status. What it evaluates: unknownGoogle URL context documentationSubmit a mix of test URLs and record the retrieval status for each
OpenAI-hosted browsing (ChatGPT Work / cloud browser path)OpenAI-hosted environment for cloud Work. Atlas agent path: unknownOpenAI documents a link safeguard that checks whether a URL exactly matches one in an independent web index before automatic retrieval, aimed at URL-based data leakage. ChatGPT agent mode is no longer available per OpenAI’s help article; ChatGPT Work is the named replacement. Work-specific web admin controls were not verified from a primary OpenAI admin page for this updateOpenAI link safety post; OpenAI ChatGPT agent help article (retirement notice)Confirm which browsing or Work features your workspace enables, then review OpenAI’s current admin docs for that feature before treating older agent-mode controls as live
Grok web search tool (xAI API)xAI side, server-side toolallowed_domains or excluded_domains, five entries each, not both in one requestxAI web search tool documentationSet a one-domain allowlist and confirm a request for another domain is refused
Local MCP web toolUser’s device, or a proxy service the tool callsEndpoint and proxy visibility, depending on routing. App-level MCP admin settingsAnthropic Claude Desktop configuration documentationInventory installed MCP servers and compare their destinations with proxy logs
Custom tool or gateway you runWherever you host itYour own logging and policyAnthropic documents gateway and managed MCP options for Claude Desktop searchSend a test query and confirm it lands in your gateway logs

What each vendor documents about its request path

Documented controls differ, and the documentation is silent on some points. This table records what each vendor states, with gaps described as gaps. The companion guide linked in the FAQ compares controls lab by lab.

Vendor / toolWhat it documentsWhat the pages reviewed don’t state
Anthropic: web_search and web_fetchAdmin-set allowed_domains or blocked_domains lists (opt-in, not pre-populated). max_uses caps. A warning that using web fetch where Claude handles untrusted input next to sensitive data creates data exfiltration risk. Claude can’t fetch a URL that appears only in its own output. On Claude Desktop with a third-party cloud, Web Fetch runs on the device and is checked against the admin allowlist. In Code sessions, Claude Code also checks Anthropic’s blocklist before fetchingMalware or phishing reputation screening of fetched content comparable to an enterprise web filter catalog
OpenAI: ChatGPT browsing pathOpenAI describes a link safeguard that checks whether a URL is publicly known to an independent web index before automatic retrieval, aimed at URL-based data leakage, and says it doesn’t guarantee page content is trustworthy. OpenAI’s ChatGPT agent help article now says ChatGPT agent is no longer available and points users to ChatGPT Work. Older agent-mode pages described a website blocklist across the virtual browser and connectors, request-only domain blocks through an OpenAI account contact, and a watch mode, with an explicit statement that those measures don’t eliminate all risks. Treat those as historical agent-mode documentation until Work admin docs are confirmedCurrent ChatGPT Work web admin controls from a primary OpenAI admin page. Whether Atlas agent mode runs on the device or on OpenAI infrastructure
Google: Gemini URL contextA content moderation check on URLs, with an unsafe retrieval status on failure. The tool fetches live versions of pages after a first stage that uses indexed contentWhat the check evaluates, and whether it draws on Safe Browsing
Microsoft: 365 Copilot web searchTenant policy, Purview DLP and Zero Query Logging, covered in the next sectionA destination domain allowlist or malware screening control for the Copilot web search policy
xAI: Grok web search toolallowed_domains or excluded_domains, five entries each, not both togetherAny content moderation or malware screening in the references reviewed

Across these pages the documented controls are mostly domain lists you set yourself, usage caps and safeguards aimed at data leakage. A few vendors describe a URL safety or link check. None of the pages reviewed describes screening against a continuously updated catalog of malicious domains the way an enterprise web filter does, but the pages aren’t exhaustive and vendors may run checks they don’t document. Read the table as what is stated, not as what exists.

Microsoft Copilot web search controls to check before rollout

Microsoft 365 Copilot doesn’t send whole files to the web. Microsoft says Copilot generates a search query for Bing that differs from the user’s prompt and leaves out the full prompt unless it is very short, and document context can inform the query. Identifying information based on the user’s Entra ID is removed, but the client IP address is sent for localization, so don’t tell users that nothing identifying leaves. Microsoft also says the Data Protection Addendum, HIPAA compliance and the EU Data Boundary don’t apply to the generated queries. Source: Microsoft Learn, manage public web access in Copilot.

The tenant policy is Allow web search in Copilot, set in Cloud Policy service for Microsoft 365. It can enable search, disable it, or turn off Work mode search while leaving Web mode and Copilot Chat on. When an administrator disables search, users can’t switch it back on with the toggle. If the policy isn’t configured, web search is available unless the optional connected experiences policy is disabled, and for US government GCC and DoD tenants it is off by default. Microsoft doesn’t document this policy as a destination domain allowlist or a malware screening control.

Purview DLP is the control for sensitive prompts. You can block web search for prompts that match configured sensitive information types. Use the Custom template, the Copilot and Copilot Chat location, a sensitive information types condition, and the Performing Web Searches action. When a prompt matches, Copilot skips external web search as a grounding source and keeps using internal Microsoft 365 sources the user can reach. Blocking full prompt processing for sensitive information types is a separate action, and Microsoft labels it preview. Don’t merge the two when you write a policy or tell a client what is covered. DLP only checks text typed into the prompt, not uploaded files, and policy updates can take up to four hours. It won’t catch every confidential legal fact in a prompt, so treat sensitive information types as a screen, not a guarantee. Source: Microsoft Learn, Purview DLP for Microsoft 365 Copilot.

Zero Query Logging is a retention setting, not a safety filter. Microsoft says that with it on, Bing doesn’t retain grounding query data, while Purview still records prompts, responses and web search keywords. Web grounding then uses a curated subset of the Bing index. The setting can take up to 24 hours to propagate, and Microsoft recommends enabling it, waiting 24 hours, then enabling web search. It doesn’t screen URLs, restrict domains or guarantee against disclosure. Source: Microsoft Learn, Zero Query Logging.

Why network visibility and URL safety are different

Two questions get mixed together. The first is whether your network can see a request. The second is whether anyone checks the destination before the content is read. A web filter answers both for a browser on your network, because it sits on the path and holds the reputation data. Move the request into a vendor’s cloud and you can lose the first answer without learning anything about the second.

Threat-intelligence checks look like this elsewhere. Google’s Safe Browsing maintains refreshed, hashed lists of unsafe web resources, covering phishing and deceptive sites and hosts of malware or unwanted software, and lets a client check a URL against them before visiting. Palo Alto Networks documents PAN-DB, a cloud URL database with categories including malware and phishing, with a local cache on the firewall and a cloud lookup for uncached URLs. Advanced URL Filtering adds real-time analysis for URLs not yet in PAN-DB.

Whether a given AI tool runs a comparable check is a separate question for the vendor. Google documents a content moderation check for Gemini URL context, and the page reviewed doesn’t say whether it draws on Safe Browsing.

What the Zscaler proof of concept showed

Zscaler published a proof of concept on September 24, 2025 against ChatGPT agent mode, which it called an AI-in-the-middle attack. An attacker gets a malicious prompt in front of a user, for example through a shared prompt link, telling the agent to send the user to an attacker-controlled domain presented as the official IT portal. Zscaler reports the agent went to the page without hesitation and then handed the browser to the user to enter credentials. OpenAI’s help article now says ChatGPT agent is no longer available, so treat this as a case study of vendor-hosted browsing, not a current product inventory item.

Zscaler also reports that OpenAI’s protections, such as flagging known sites and warning about suspicious page content, can be circumvented with custom infrastructure that has a valid SSL certificate. And it cautions that network and endpoint phishing controls will probably not be effective against this scenario, because the phishing activity doesn’t occur on the endpoint or network. Zscaler calls the scenario hypothetical. The Cloudflare hosting claim and circumvention claim are Zscaler’s own and were not independently retested here. That is one research team’s proof of concept against one product in one mode. It shows the routing gap can matter. It isn’t evidence about every vendor or every mode. Zscaler’s own recommendations lean on identity-based controls and detection, such as limiting authentication to verified devices and known networks. Source: Zscaler, Double agents.

How local MCP tools change the request path

A Model Context Protocol server is a small program that gives an assistant such as Claude extra tools, and some exist only to search and fetch web pages. When one runs locally, the request starts on the user’s device instead of at the vendor. That changes who can see it.

Traffic from a local tool can reach your web filter, but whether it does depends on routing. A laptop off the VPN sits outside the filter. A tool that sends requests through a third-party proxy service shows your filter only the proxy, not the page it fetched. Anthropic documents managed configuration for Claude Desktop, including which servers the app can use, so check whether your deployment enforces it.

Find out whether users can add MCP servers to their AI desktop apps and which ones are installed today. Then check whether your endpoint tools can see what those servers send. An unapproved MCP server deserves the same treatment as any unapproved software that makes network requests for a user.

What to test before approving a workflow

An attacker doesn’t need to compromise your network. A malicious prompt or a booby-trapped page in front of someone using an AI tool that can browse is enough. That can be a paralegal asking Claude to open the court’s e-filing portal, or an engineer asking Copilot to summarize a regulatory advisory. The risk is harder to see with unsanctioned AI use, because IT may not know the tool is in play.

Where the request runs on the vendor side, your gateway, DNS filtering and SSL inspection don’t weigh in on that hop. A zero trust network review may miss the gap by itself, because it assesses traffic that reaches your network. Whether the vendor screens the URL is a separate question. For some tools the answer is documented. For others it isn’t.

So test before you approve. Confirm which AI tools have search or fetch enabled. For each one, run the administrator test from the matrix above and record what you can and can’t observe. Turn on the domain lists the tool offers. Then write down what remains unverified, because that list is your real risk register.

If your firm runs Copilot, our guide to Purview DLP for Copilot covers what Microsoft’s own controls can block. The same architectural point sits behind why DLP won’t protect agents like Claude and Copilot: a control built to inspect traffic on your network doesn’t help once the traffic is happening somewhere else.

Where this leaves your firm

The labs are fairly candid about residual risk. Anthropic’s fetch documentation warns about data exfiltration when untrusted input meets sensitive data, and OpenAI says its link safeguard doesn’t guarantee page content is trustworthy. What is often missing is a firm-side control that assumes that candor is the whole picture.

A domain allowlist you configure yourself is a real control. Turn it on wherever a tool offers one, the same way local DLP for Claude, Copilot, and other AI assistants is for the data side. A strict allowlist should exclude a domain you didn’t list, including one registered yesterday. Its limits lie elsewhere. It covers only the sites you thought to list. It does nothing where a tool doesn’t offer one. And every domain you do list is a domain the agent will trust if a malicious prompt points it there.

Blocklists and threat-intelligence feeds cover the opposite case. A feed can lag behind a domain that is brand new. Neither kind of control covers all flows. Firms running AI agents with web access should manage this as a standing risk that gets tested, not assumed. That matters most for agent security for law firms handling matters where a convincing phishing page could do real damage.

If you want a practical next step, start with the free AI Readiness Snapshot. It is about a 60-minute, client-run set of read-only checks that produces a findings report. No installs and no environment changes. It does not audit AI web search settings; it shows where agents can already reach in Microsoft 365 so you can prioritize controls with real evidence.

Questions about AI web search and fetch security

Do AI web search requests pass through our company web filter? Often not. When a vendor’s servers make the request, it doesn’t cross your gateway, DNS filtering or SSL inspection, so those controls don’t apply to that hop. Some modes run on the user’s device, such as Web Fetch in Claude Desktop on a third-party cloud, and that traffic follows your device routing. Check each tool’s mode and test it, because routing depends on deployment.

How is web search different from web fetch? Search takes a query and returns ranked results. Fetch retrieves the content of one specific URL for the model to read. Vendors call fetch by other names, including browsing, grounding and URL context, and the two can run in different places, as Claude Desktop on a third-party cloud shows.

Can an administrator restrict the sources an AI agent uses? Often yes, where the tool offers a control. Anthropic’s API tools accept allowed_domains or blocked_domains. xAI’s search tool accepts up to five allowed or excluded domains, not both at once. Claude Desktop on a third-party cloud uses an egress allowlist. Microsoft 365 Copilot has a tenant policy that enables or disables web search, plus Purview DLP for sensitive prompts. These are domain, tenant and data controls. They aren’t malware screening, and configuring them is your job.

Does a local MCP tool use the same network path as a hosted fetch tool? Not necessarily. A local MCP tool sends requests from the user’s device or from whatever proxy service it calls, so your endpoint and web filtering may see it, depending on routing. A hosted fetch tool starts at the vendor. Inventory which MCP servers users can add and which are installed.

Does moving a workload to Azure or AWS change the control boundary? Not automatically. Microsoft says Foundry web grounding tools don’t respect VPN or private endpoints and act as public endpoints, with data flowing outside the Azure compliance boundary. AWS says Web Search on Amazon Bedrock AgentCore is a managed tool on an AgentCore Gateway with zero data egress from the customer’s AWS environment. AWS’s launch post does not address retention, query or result logging, or domain allowlists, so check the AgentCore documentation for those before you promise them. Where you host the workload changes who operates the request path and which controls apply, so test the specific tool instead of assuming either direction.

Where can we compare the documented controls by AI lab? Our companion guide compares lab by lab controls and covers gateway options. This page covers the request path.

Primary vendor documentation

Related articles

Have a question?

Talk with Cocha about your AI and data security priorities.

281-607-0616
info@cochatechnology.com

About the author

Steven R. Combs

Steven R. Combs

Co-Founder and Principal
Cocha Technology

Steven brings 30 years in IT and 15 years working with law firms. He helps organizations deploy Claude and Microsoft 365 Copilot with practical data protection, permissions, and ongoing governance.

Request your free AI Readiness Snapshot →

From guidance to action

See where your AI rollout needs attention.

The free AI Readiness Snapshot identifies selected priorities across permissions, data protection, monitoring, Shadow AI, and Secure Score. Deeper assessment and remediation are separately scoped.

Request your free Snapshot → Review the scope →

More guidance