Is This File Transfer Legitimate in the Context of the Agent’s Current Task?
That single question is the difference between a data loss prevention program and a data loss incident. And almost nothing in your security stack is asking it.
Your DLP knows a file moved. Your CASB knows where it went. Your EDR knows which process touched it. Every tool saw the transfer. None of them can tell you whether the transfer made sense — because none of them know what the agent was supposed to be doing at the moment it happened.
That is the exfiltration problem of the agentic era. Not blocked destinations, not file fingerprints, not volume thresholds. Context.
The transfer that looks completely normal
A support agent summarizes customer tickets. Its task: read open tickets, produce a digest, post it to an internal channel. Halfway through the run, it uploads a 40 MB archive to an external storage endpoint. The archive contains ticket exports — the same data class the agent legitimately reads all day.
Every traditional control passes this transfer:
- →DLP: the data class is one the agent is authorized to handle. No policy violated.
- →Network controls: the destination is a known cloud storage domain, not a flagged indicator.
- →Identity: the agent used its own valid, correctly scoped credentials. Authentication succeeded.
- →Volume baselines: 40 MB is well within this agent’s normal daily movement.
Green across the board. And yet the answer to the only question that matters is no: nothing in the agent’s current task — summarize tickets, post a digest — requires uploading raw ticket exports anywhere. The transfer is illegitimate in context, even though it is legitimate in every dimension your tools measure.
Why agents make this problem unavoidable
Human exfiltration trips on behavior: unusual hours, unusual destinations, unusual volumes. Agent exfiltration doesn’t have to. Agents legitimately read sensitive data at scale, legitimately call external APIs, legitimately move files — continuously, at machine speed, with credentials your own IAM issued.
Worse, the instruction to exfiltrate rarely arrives as an attack. It arrives as content. A poisoned ticket, a crafted email, a malicious document in a retrieval corpus — prompt injection by payload. The agent isn’t hijacked in any way EDR would recognize. It is doing exactly what its instructions now say, with its own identity, through approved channels. And when the agent was spawned by a compromised AI Principal, the exfiltration behavior can be baked into the task definition itself — inherited by every agent that Principal creates.
Static rules cannot keep up with this. You cannot pre-write a policy for every legitimate task an agent will ever perform, because the whole point of agents is that their tasks are dynamic, composed at runtime, and different every time.
Context is the control
The only durable answer is to evaluate every data movement against the task that is actually executing — in real time, at the moment of transfer:
- →Task binding: what is the agent’s declared, current objective — and does this transfer serve it?
- →Data-flow provenance: where did the data in this transfer come from, and does the task require that source to leave the boundary?
- →Instruction lineage: did anything in the agent’s recent inputs attempt to redirect its behavior — a classic injection signature?
- →Principal awareness: was this agent’s task definition issued or modified by a Principal you trust, in a way you can verify?
This is the layer Andeavour AgentGuard was built for. AgentGuard doesn’t just watch what agents touch — it understands what agents are for. Every file transfer, API call, and tool invocation is evaluated against the agent’s live task context, so a transfer that is perfectly authorized but contextually pointless gets stopped before the bytes leave — not reviewed in a post-incident report.
The question isn’t whether your agents can move files. They can, and they should. The question is whether anything in your stack can answer, in the moment: is this transfer legitimate in the context of the agent’s current task? If the answer is silence, your DLP is a logging tool.
See how AgentGuard evaluates every agent action against live task context — and how it secures the AI Principals that define those tasks in the first place.