A security lead discovers that an AI assistant included internal customer details in a request to an external web tool. The customer information has left the company’s approved environment.
Data exfiltration is the unauthorized transfer of data out of a system or organization, whether an external attacker steals it, an insider moves it or an automated tool such as an AI agent sends it to a destination the organization has not authorized to receive it.
How does data exfiltration happen with AI tools?
AI agents can transfer information when they call external tools, submit requests or generate responses. An agent may have legitimate permission to read internal records and use an external service, while the organization does not permit the agent to share those records with that service. CUBIG’s article on an agent sending a value the user never chose to share walks through a related case.
NIST SP 800-53 Rev. 5 (2020) defines exfiltration as the unauthorized transfer of information from a system. MITRE ATT&CK lists Exfiltration as tactic TA0010, which covers techniques adversaries may use to steal data from a network.
An AI agent can include sensitive values from its working context in a tool request or URL. For example, a research agent may send internal customer identifiers to an external search service even though the research task does not require them.
An attacker can also hide instructions inside a document that an agent reads. If the agent treats those instructions as authorized commands, the agent may send confidential information outside the organization without the user’s knowledge.
Model outputs create another route for disclosure. The OWASP LLM02:2025 Sensitive Information Disclosure entry says LLMs, especially when embedded in applications, risk exposing sensitive data, proprietary algorithms or confidential details through their output.
How is data exfiltration different from a data leak?
Data exfiltration involves an unauthorized transfer of information out of a system. An attacker, an employee or an automated process may start that transfer, on purpose or by mistake.
A data leak can also mean exposure without a confirmed transfer. For example, a company may accidentally make a storage bucket public, and nobody may have downloaded its contents yet. Teams investigating AI data leakage can therefore separate information exposure from evidence that information reached an unauthorized destination.
How can a team reduce data exfiltration risk from AI agents?
Teams can examine what information an agent receives, which destinations it can contact and what data it includes in each outbound request:
- Limit what the agent can read. Apply least privilege and remove or replace sensitive values the agent does not need for its task.
- Review the values inside approved requests. Check the data the agent puts in tool arguments, request bodies and URLs, not only the general operation.
- Restrict outbound destinations. Let the agent reach only services the organization has authorized for the relevant data and task.
- Log outbound requests. Record the agent, destination and transfer details so investigators can trace unauthorized transfers, without copying sensitive values into the logs.
A team may approve an external tool while overlooking the information an agent sends through it. After restricting data access and outbound requests, teams can verify that the agent still completes legitimate tasks.