You ask an AI assistant to find a public report. You have not uploaded company documents, connected your mailbox or asked it to share your contact details. Yet the agent constructs a web request and places your email address in a technical header.
Claude Code users described this scenario. For a business, the significant surprise is the boundary it exposes: information can leave through more than an uploaded file. A search query, agent command, external tool call or error report can carry it too.
We examine what happened to the email address, where such data may persist, and why we choose local AI with controlled external access for important information.
What happened in Claude Code
On November 5, 2026, a complaint appeared in the official Claude Code repository about account email addresses reaching third-party websites through User-Agent. Its author linked this to scam emails. The published complaint establishes that the report exists; it does not by itself trace a particular request to the people sending the spam. Claude Code issue 107757: Privacy violation in User-Agent header ↗
Earlier user reports describe curl commands in which an agent used a known account email as its User-Agent contact address. The reports concern the account address, rather than mailbox contents. They also do not establish automatic attachment to every Claude Code request: the issue arose, among other cases, in commands composed by the model itself. Claude Code issue104774: subagent account email in curl requests ↗
In the discussion, developer account poteat described a built-in check enabled by default in version 2.1.317 and later. Claude Code maintainer comment on the built-in privacy check ↗ Its source was published in the repository on November 6. It blocks certain shell calls containing both the account email and a User-Agent reference. The README lists its limits: this is not general control over every network channel, and other tools require their own protection. Claude Code privacy mod: pinned official README ↗
The business lesson is clear: even “look something up online” can transmit an employee identifier if the system already knows it and lets a model construct the request.
How an email fits into a web request
User-Agent is an HTTP header through which an application identifies itself to a server. It normally describes the software and version. It is a technical field rather than a contact form for the account owner.
HTTP permits explanatory information in this header, but the standard specifically recommends avoiding unnecessary detail because of unwanted identification risks. A personal address does not become harmless merely because it appears in a technical string. IETF RFC 9110: HTTP Semantics, User-Agent, section 10.1.5 ↗
The recipient sees the headers sent to it. HTTPS protects traffic in transit; it does not hide a request from its intended website. “The connection is encrypted, so the address cannot escape” overlooks the recipient itself.
An agent may decide that a contact address will help retrieve a document or identify its requests properly. The user sees a research task. The website also receives information about the person behind it.
Where that information may remain
The first destination is a web-server log. NGINX documentation, for example, shows logging formats containing User-Agent, and the default combined format applies when another format is not specified. A header can become an ordinary log entry without anyone deliberately assembling an email list. NGINX: HTTP log module and combined request logs ↗
The next steps depend on the service architecture. A CDN, security gateway, monitoring system or external support provider may process the request. If the relevant fields are retained, copies can enter their logs and backups. These are possible storage paths, rather than an established route for addresses in this incident.
A log is usually not open to every visitor. Nevertheless, the circle of people and systems handling the information has expanded. Accidental log publication, a diagnostic archive or a service compromise can move it beyond the original recipient.
An address combined with a company domain, time and topic can make phishing more convincing: “You recently researched our product; here is the quotation you requested.” This does not require access to the entire corporate archive. A small set of connected details may be enough for an opening message.
It would be inaccurate to claim that every document sent to AI must become available to other model users or appear in a search engine. These are separate mechanisms with different requirements. Public indexing requires an accessible publication; a private log does not.
What else can leave without a file upload
An email stands out because it is recognizable. Working tasks also contain less obvious information: customer names, internal projects, contract numbers, server addresses, filenames, error messages and parts of a commercial calculation.
An agent with knowledge-base access can retrieve a relevant passage through RAG. The employee did not paste that passage manually, but it still becomes context. With external model processing, the actual transmitted information is what matters.
Search wording is another path. A sentence from a private document, a customer name and an internal product designation can reach a search service together. The interface presents a helpful assistant action, while the query already discloses part of the company's task.
| Channel | Possible information | Who receives it |
|---|---|---|
| Model context | Question, task history and retrieved passages | The selected external model provider |
| Search query | A customer, project, quotation or error in the wording | The search service and its infrastructure |
| HTTP request | Email and other values in headers, URL or body | The receiving website; logging depends on configuration |
| MCP and other connectors | Operation arguments and selected information | The service called by the tool |
| Diagnostics and feedback | Permitted reports, sometimes attached history | The report recipient under the product rules |
| Prepared output | Extra information in a message, document or request | Recipients of the submitted material |
Access keys, tokens and configuration secrets deserve separate attention. If they appear in a file or command output accessible to an agent, the system needs to constrain their subsequent use. Encountering a secret during work does not make it acceptable content for an external request.
OWASP identifies personal, commercial and credential disclosure as a distinct LLM-application risk. Access limits and data minimization belong at the application level; asking the model to maintain confidentiality is insufficient on its own. OWASP GenAI: LLM02:2025 Sensitive Information Disclosure ↗
A URL can carry information too
Information can enter the request address through search parameters, customer identifiers or error text. From there it can reach server logs and monitoring systems. OWASP separately documents disclosure through URL query parameters and notes that HTTPS alone does not resolve it. OWASP: Information exposure through URL query strings ↗
Businesses therefore need to examine more than attachments and answer text. The full address, parameters, headers and request body matter. Even a short field may contain a private identifier.
Replacing a person's name with an arbitrary number helps only in some circumstances. If another system links that number to a customer, or the same request retains the project name, anonymity does not follow automatically. Review the complete request.
No training does not mean no external processing
Request processing, storage, operational logs and model training are different activities. Terms excluding corporate data from training are valuable, but do not themselves stop context being sent to an external provider.
Claude Code's documentation explicitly distinguishes these flows: an application can run on a user's computer while sending model data over the network. It also describes separate telemetry and user-feedback paths. Ordinary metrics must not be equated with automatically uploading all code: Anthropic says metrics exclude code and prompts, while a voluntarily submitted report can contain conversation history. Claude Code: official data usage and data-flow documentation ↗
A company consequently has two questions to answer: what terms govern the model provider, and what information does the agent send to other recipients through tools? Configuring one does not govern the other.
How local AI changes the picture
A local model can prepare an answer about a contract using a local knowledge base without sending the main context to an external generation service. Documents, task history and retrieved passages remain in company infrastructure when all relevant components are hosted accordingly.
This reduces the number of external parties trusted with important information. The company decides what to retain, who receives access and which operations to perform. It becomes easier to analyze a full contract internally while sending only generic service requirements in an external search.
The entire chain still needs deliberate placement. External embedding services, cloud rerankers and unrestricted network commands preserve outbound paths. The location of the main model is one architectural element.
Our local-first principle therefore includes a controlled boundary: important information is processed internally, while external operations receive only what they need and use permitted functions.
Separate internal analysis from external search
Imagine a company comparing suppliers under a private contract. Customer identity, negotiated discounts, negotiation history and executive comments remain inside. External search needs a product category, mandatory specifications and delivery region.
The local assistant prepares a separate query with those fields. After retrieval, it compares the results with the full contract internally. If a request must be sent to a supplier, an employee reviews the recipient and information before approving it.
Focused MCP functions can support this process: catalog search, specification retrieval and draft preparation. Each operation has permitted parameters. An employee profile, complete document and chat history are not attached by default.
In a sensitive environment, technical enforcement must sit outside the model's discretion. It checks the destination, request fields, permissions and operation conditions. A keyword or email check can be an additional filter, but cannot cover every way information can be transmitted.
What to review in your company
Begin with one familiar workflow: looking up information, working with a document or preparing a customer response. Trace what the model receives and which network operations its tools perform.
| Area | What to establish | Rule to define |
|---|---|---|
| Context | Files, profile and history available to the model | Only information needed for the task |
| Processing location | Where generation, embeddings and reranking run | Which categories stay local |
| Tools | Networks and operations available to agents and assistants | Bounded functions rather than general access |
| Request | Destinations for headers, parameters and body | Allowed recipients and fields, checked before sending |
| Approval | Actions with external consequences | Approve the actual contents and recipient |
| Logs | Where information persists and who can read it | Minimal contents, access and retention |
| Changes | Effects of client or connector updates | Recheck permitted data flows |
Use synthetic identifiers and a controlled recipient for the review. Real secrets are unnecessary to inspect a request's contents. Include the main agent, its assistants and background application components.
Useful audit records include the operation, recipient, categories of transmitted information, result and authorization decision. Copying a complete contract or access key into logs is unnecessary; the audit trail should not become another secret store.
If real private information was transmitted, identify its contents, recipients and subsequent copies. Exposed credentials need revocation or replacement. Deleting the sender's original message does not automatically remove what another service has already received.
Applying the principle in AI Office
We build AI Office around corporate context processed inside company infrastructure. A local model, knowledge base, access permissions, source versions and approval of consequential actions support control over the data used in a task.
When designing integrations, we define external operations separately: who may receive a request, which fields are required and when a person must decide. Connecting MCP or a cloud model needs a clear data scope and permission boundary.
The User-Agent email incident supports this approach. Important information needs control along the full path, from its source and model context to the final external request. Local AI gives a company a practical architectural foundation for that control.
To understand what might leave your infrastructure during AI work, start with one process. It reveals what should stay local and which external capabilities are actually needed.
