The control boundary breaks because the agent can turn malicious content into action while still holding delegated access to sensitive data. That collapses the assumption that content review, data access, and outbound communication can be governed separately. Security teams need to treat the entire workflow as one policy surface, not three independent features.
Where the workflow boundary actually breaks
The failure is not just “too much access” or “bad content handling.” The problem is that the agent can receive untrusted input, decide what it means, and then act on sensitive data or external systems inside the same execution path. That means the content source, the data source, and the outbound channel are no longer separable trust zones. Once those functions are chained together, a single poisoned workflow can turn a normal request into a delegated action.
This is the point at which traditional assumptions about inspection and containment become brittle. If the agent can both consume content and produce side effects, then the security question shifts from “is this content safe?” to “can this workflow be trusted to interpret content without abusing the authority attached to it?”
For a practical read on why this boundary matters, Agentic AI Security Guide maps the control surface across inputs, tools, orchestration and identity.
Why untrusted content plus outbound communication is a dangerous combination
Untrusted content becomes materially more dangerous when it can influence a system that also has permissions to send messages, create tickets, query data, or call external services. In that setup, malicious instructions do not need to “break out” of the model in a classic sense. They only need to steer the agent toward a permitted action that benefits the attacker, such as leaking data, forwarding tokens, or reaching a hostile endpoint.
The key weakness is trust transitivity. The system may treat the content as just input, the data access as just retrieval, and the network call as just transport, but the agent can combine them into one adversarial workflow. That is why prompt injection, data exfiltration, and unauthorized tool use often appear together rather than as isolated events.
Multi-Agent and A2A Security Guide is useful here because it shows how inter-agent communication and delegated actions widen the attack surface when messages can trigger real authority.
OWASP Agentic AI Top 10 also captures the relevant failure modes, especially tool misuse, identity and privilege abuse, and insecure inter-agent communication.
What a secure design has to change
The fix is architectural, not cosmetic. The workflow should not assume that content review, data access, and external communication can be controlled by separate owners with separate policies. If one agent can span all three, then one policy boundary must govern all three. That usually means tighter authorization per action, explicit egress constraints, and a clear rule that the agent cannot freely combine arbitrary content with sensitive data access.
Good design also means reducing ambient authority. The agent should not inherit broad credentials simply because it can perform multiple tasks. Each action should be scoped to the smallest required permission, and any step that can expose data externally should be treated as a high-risk transition rather than a routine tool call.
AI Agent Authorisation Guide is the clearest internal reference for task-scoped access, per-action decisions and delegated authority.
Zero Trust for AI Agents reinforces the operating model: verify the request, remove standing privilege and assume the workflow can be manipulated.
NIST Cybersecurity Framework 2.0 is a useful broader governance lens for aligning this workflow risk with governance, protection, detection and response activities.
Risk and Threat Considerations
The main risk is that the agent becomes a conduit for content-driven abuse of delegated authority. An attacker does not need full system compromise if they can cause the agent to misapply its own access, especially when the same workflow can read sensitive data and transmit results externally.
Failure mechanism: Untrusted content alters the agent’s behaviour, the agent uses valid access to retrieve or transform sensitive information, and the same workflow forwards that information or an attacker-chosen action to an external destination.
Impact: Confidential data can be exposed, tokens or secrets can be relayed, and the organization may lose the ability to distinguish legitimate automation from maliciously steered automation.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10 and OWASP Non-Human Identity Top 10 define the specific risk controls and attack patterns relevant to this topic.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | ASI03 — Identity & Privilege Abuse | Agent workflows can misuse delegated access while handling untrusted content. |
| ASI02 — Tool Misuse | The agent can turn hostile content into unsafe tool actions and outbound calls. | |
| ASI07 — Insecure Inter-Agent Communication | External communication in the same workflow creates trust and message-integrity risk. | |
| Recommendation — Enforce per-action authorization and bound agent privileges before data access or egress. Restrict tools to explicit, policy-approved actions with tight output controls. Authenticate and constrain agent communications before allowing cross-system messaging. | ||
| OWASP Non-Human Identity Top 10 | NHI-05 — Overprivileged NHI | The issue centers on delegated non-human access exceeding the workflow’s true need. |
| NHI-10 — Human Use of NHI | A human may indirectly rely on an agent path to act with borrowed authority. | |
| Recommendation — Trim agent credentials to least privilege and remove any standing access not needed per task. Prevent humans from routing sensitive actions through agent credentials or shared workflows. | ||
Practitioner Guidance
What to prioritize: Treat the combined workflow as one security control problem. If a single agent can ingest outside content and reach sensitive systems, the first question is whether it should ever hold both the read path and the send path at the same time.
What to verify: Check whether the agent can exfiltrate data through any allowed outbound channel, including chat replies, summaries, webhooks, API calls, ticket updates or email. If any of those paths can carry sensitive material, validate them as a single policy surface rather than as separate feature checks.
Decision rule: If the content is untrusted and the workflow can reach sensitive data, require per-action authorization or a hard containment boundary before allowing any external communication step. If you cannot express that rule cleanly, the workflow is too broad for autonomous execution.
Practitioner takeaway: The security boundary fails when the agent is allowed to interpret, access and transmit in one uninterrupted chain, so the safest design is the one that makes every cross-boundary step explicit, constrained and attributable.
Related resources from NHI Mgmt Group
- What breaks when AI agents can call tools after reading untrusted content?
- What breaks when an AI assistant can access private data and untrusted content at the same time?
- What breaks when browser AI agents can act on untrusted page content?
- What breaks when AI agents ingest external content through curl or exec?
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on October 22, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org