TAM-A-ACT-012 · Agent · Act: The harm
Getting Data Out Through the Agent
The agent carries sensitive data to a place it should not go, whether by tool, message, file or even the way its output is displayed.
Agents read data and can send things. That combination is the exfiltration path. An attacker, or a dishonest insider, who can influence the agent can have it move data out in ways that look like normal work.
The routes are varied. The agent might call a tool, send an email, post to chat, write a file to an open share, store something in memory for later pickup, or embed data in a link or image that is fetched when the reply is displayed.
It is hard to spot because the destination may be an approved service and the volume small. Review what the agent read before each outbound action, and where that action went.
What it looks like
- A copilot is tricked into posting a customer export into a public channel.
- An agent writes secrets into an image URL that loads from an attacker host.
- A coding agent uploads the repo to a personal cloud drive.
Variants (6)
TAM-A-ACT-012.1Memory or Context Carrying Data Away+
Data is stored in memory or shared context where it can later be read by another party.
This moves data across user or task boundaries without any outbound message. Review memory writes with sensitive content and who can read them. An example is an agent that saves a customer list into shared notes, which another user later asks about. Memory holds data longer than a chat does, so retention matters. Review who can read each store, how long entries last and whether sensitive fields can be written there at all.
TAM-A-ACT-012.2Out Through a Tool Call+
The agent passes data to an external system through a tool or API.
Webhooks, HTTP clients and SaaS connectors are all ways out. Allowlist destinations per tool, log call arguments and flag arguments that include bulk or sensitive content. Pay special attention to HTTP request tools, email send tools and any connector that writes to a third-party SaaS app.
TAM-A-ACT-012.3Out Through Files and Uploads+
The agent writes data into files, repos, shares or storage that others can reach.
Check where agents save outputs, whether those places are public or shared, and uploads to personal storage or code hosting. Typical cases are a coding agent pushing a repo to a personal account, a report written to a public bucket, or a spreadsheet shared by link with anyone. Watch file creation by agent identities and sharing changes that follow it. Large archives made by an agent are worth a second look.
TAM-A-ACT-012.4Out Through Mail and Chat+
The agent sends data in email, chat messages or posts.
Trusted channels get little scrutiny. Review outbound messages sent by agents to external or public destinations, and compare them to what the agent read. Pay attention to messages sent just after the agent reads a large set of records, and to group chats that include outside guests. Reply-all and forwarding rules are common blind spots.
TAM-A-ACT-012.5Out Through What Gets Displayed+
Data leaves when the agent's output is rendered, for example through an image or link that is loaded.
A markdown image with a URL carrying stolen text triggers a request without anyone clicking. Block auto-loading of external images and links in agent output, and alert on URLs with long query strings. Chat clients, ticket tools and email previews all fetch remote content on their own, which is why this works without a click.
TAM-A-ACT-012.6Showing Data to the Wrong Audience+
The agent reveals information to someone who is not cleared to see it, inside or outside the company.
This may be an honest mistake caused by weak access checks. Look for answers that contain restricted labels or for sessions where the asker's rights are lower than the data returned. Examples include a copilot answering a junior employee from a board memo, or a support bot reading one customer's details to another. Test retrieval with low-privilege accounts and compare the answers to what the same users could open by hand.
Detections (9)
- DET-181Catching Agents That Read Beyond the Asker's RightsCompare what an agent fetched or quoted with what the person who asked is allowed to see.Confidence HighAI PlatformMicrosoft 365Google Workspace
- DET-182Catching Leaks Hidden in Rendered OutputInspect links, images and previews in agent replies, because merely displaying them can send data out.Confidence MediumAI PlatformSaaSNetwork
- DET-199Keeping an Outside Record of Agent ActionsWrite every agent step to a log the agent cannot read or edit, then check that real side effects match it.Confidence HighAI PlatformAWSSaaS
- DET-200Labelling Every Action Agent or HumanRequire every log entry to say whether a person, an agent, or an agent approved by a person did it.Confidence MediumAWSSaaSAI Platform
- DET-203Logging Every Write to Agent MemoryRecord each memory create, edit, promotion and delete as an audit event tied to a source.Confidence MediumAI Platform
- DET-209Planting Traps for AgentsSeed fake credentials, files, records and tool endpoints that no legitimate agent should ever use, and alert on any touch.Confidence HighAI PlatformAWSSaaS
- DET-225Tracing Actions Back to Untrusted SourcesTag every piece of context with where it came from, and alert when a sensitive action rests on low-trust input.Confidence MediumAI PlatformSaaS
- DET-226Tracking Changes to Agent MemoryLog who wrote, edited or promoted each memory entry, and flag entries that look like instructions or came from untrusted sources.Confidence MediumAI Platform
- DET-231Watching Where Agents Send TrafficBaseline the domains and request shapes an agent normally reaches, and flag new or odd destinations.Confidence MediumNetworkAI PlatformAWS
Controls (11)
- CTL-124Checking Agent Output Before It LandsTreat everything an agent produces as untrusted and validate it before display, commit or hand-off.TechnicalEffort MediumEffect Medium
- CTL-127Data Loss Checks on Agent OutputRun DLP on everything an agent returns so sensitive content is caught before it leaves.TechnicalEffort MediumEffect Medium
- CTL-132Human Sign-Off GatesMake a person approve any agent action that is hard to undo, costs money, or touches production.ProcessEffort MediumEffect High
- CTL-145Memory That ExpiresTurn persistent memory off unless needed, narrow its scope, and give every record an expiry date.TechnicalEffort LowEffect Medium
- CTL-148Network Walls Around AgentsConfine each agent runtime to the hosts and services it needs, and inspect all outbound traffic.TechnicalEffort MediumEffect High
- CTL-149Never Mix Secrets, Untrusted Input and an Outbound PathMake sure no single agent context holds private data, outside content and a way to send data out at once.TechnicalEffort MediumEffect High
- CTL-150No Auto-Loading of Untrusted Links and ImagesStop agent output from fetching outside images and links on its own.TechnicalEffort LowEffect High
- CTL-153Outbound Destination Allow-ListDeny all agent outbound traffic by default and permit only a short, maintained list of approved destinations.TechnicalEffort MediumEffect High
- CTL-161Respecting Data Classes in Agent RetrievalLet agents retrieve only what the requesting person is allowed to see, and exclude top-tier data by default.TechnicalEffort HighEffect High
- CTL-172Vetted and Pinned Agent ToolsAllow only reviewed tools, plugins and MCP servers, pinned to a known version and re-approved on any change.TechnicalEffort MediumEffect High
- CTL-174Walls Between Agent MemoriesSeparate persistent memory by person, session, agent and tenant so one context cannot affect another.TechnicalEffort MediumEffect High