Organisations should keep sensitive state in secure systems and let agents interact through controlled interfaces, not direct prompt stuffing. Use structured schemas, authenticated APIs, and tight authorization boundaries so each agent can retrieve only the data it needs and mutate only the intended record. That limits exposure while still allowing automation at scale.
Why secure multi-agent workflows need controlled interfaces, not raw prompts
Multi-agent systems become risky when prompts are treated as a transport for sensitive state. The safer pattern is to keep data in governed systems of record and let agents request narrow, purpose-built slices through authenticated services. That reduces accidental exposure, limits what one compromised agent can see, and makes each action easier to audit and constrain.
Raw prompt stuffing also creates a brittle trust boundary. Once sensitive values are embedded in model context, they are harder to scope, harder to revoke, and more likely to be reused in ways the designer did not intend. Controlled interfaces let the workflow expose intent and metadata while keeping the underlying record, token, or payload outside the model’s working memory.
When the workflow is designed around retrieval and action endpoints, the question shifts from “what can the model see?” to “what is each agent allowed to ask for and change?” That is the right framing for secure orchestration because the security decision sits at the interface, not inside the prompt.
How to structure agent access around data minimisation and authorization
Use schemas to define exactly what an agent may submit or receive, then validate every field at the boundary. If an agent only needs a customer identifier, summary status, or a specific record attribute, do not return the full object. If it only needs to update one field, do not give it write access to the whole record.
Authenticated APIs are the other essential control. Each agent call should be bound to an identity, an approval path, or a scoped delegation model so the system can distinguish one agent’s authority from another’s. That is especially important in multi-step workflows where one agent retrieves context and another performs an action, because authority can otherwise bleed across the chain.
For broader design guidance on agent orchestration, delegation chains, and containment, the Multi-Agent and A2A Security Guide is the most direct internal reference. Where the issue is deciding how an agent should obtain identity, delegation, and policy context across clouds, Cloud Agent Identity Services Compared gives the practical comparison. For delegation mechanics, OAuth Token Exchange and Delegation Guide is the best fit because it explains on-behalf-of access and downscoping.
What to watch for when agent workflows touch sensitive state
The main failure mode is overexposure. If an agent receives raw prompts containing secrets, personal data, or high-value operational records, that data can be copied into logs, retained in memory, or reused in a later call that no longer needs it. A second failure mode is overbroad authority, where an agent can read far more than it needs or mutate records outside its intended scope.
There is also a coordination risk in multi-agent chains. One agent may be well constrained while a downstream agent inherits context, headers, or tool permissions that were never meant to persist. That can turn a narrow task into an unintended disclosure path or an unintended action path, especially when agents share memory, shared tool access, or common retrieval layers.
For threat and control patterns around prompt injection, exfiltration, and agent containment, the Prompt Injection Guide and Secure Agent Design Patterns Guide are useful complements. If your concern is specifically how a workflow can leak data through tools or outputs, Generative AI Data Loss Prevention Guide covers prompt redaction, logging, and oversharing controls. The external OWASP Agentic AI Top 10 and CSA MAESTRO agentic AI threat modeling framework both reinforce the same point: tool access and agent privilege must be explicit, not implied by context.
How to reduce blast radius when prompts must stay clean
Design the workflow so each agent sees only the smallest useful representation of the data. Tokenised references, lookup keys, and short-lived access grants are usually safer than copying source data into the prompt. Where the agent must act on a record, have the system enforce row, object, or function boundaries instead of trusting the model to self-limit.
When the task crosses systems or tenants, isolation matters as much as authorization. Separate memory spaces, separate caches, and separate retrieval scopes prevent one agent’s context from becoming another agent’s accidental input. If a workflow depends on shared context, treat that dependency as part of the security design, not just the application design.
The broader platform perspective is covered well by Multitenant AI application security and Agentic AI Security Guide. For external corroboration, RFC 8693: OAuth 2.0 Token Exchange is the cleanest reference for constrained delegation, and OWASP Agentic AI Top 10 captures the identity and privilege risks that emerge when agents are allowed to act on behalf of users or services.
Risk and Threat Considerations
The main risk is that a workflow built for convenience silently expands the amount of sensitive data exposed to model context, logs, downstream agents, or external tools. Once that happens, a prompt injection, misrouted call, or overbroad delegation can turn a routine automation into a disclosure or unauthorized action path.
Failure mechanism: Sensitive data enters the prompt or shared agent context, then persists into retrieval, logging, downstream chaining, or tool invocation where the original access boundary no longer applies.
Impact: The organisation can lose confidentiality, reduce auditability, and create a larger blast radius because one agent compromise or one bad instruction can affect more records than intended.
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 addresses the attack and risk surface, while NIST SP 800-53 Rev 5 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | ASI03 — Identity & Privilege Abuse | Agents acting on sensitive data need explicit privilege boundaries. |
| ASI02 — Tool Misuse | Controlled interfaces reduce unsafe tool actions and overreach in agent workflows. | |
| ASI07 — Insecure Inter-Agent Communication | Multi-agent prompts and shared context can leak data between agents. | |
| Recommendation — Constrain each agent to the minimum identity and privilege needed for its task. Restrict tools to approved actions and validate every agent call before execution. Separate agent communications and pass only the fields each recipient actually needs. | ||
| NIST SP 800-53 Rev 5 | AC-6 — Least Privilege | The workflow must limit each agent's access to the specific data and actions required. |
| IA-5 — Authenticator Management | Secure agent calls depend on managed credentials and controlled authentication material. | |
| SC-4 — Information in Shared System Resources | Shared prompts, caches, and memory can expose data across agent boundaries. | |
| Recommendation — Apply least privilege so each agent can read and change only its intended records. Manage credentials so agent-to-service access stays scoped, rotated, and revocable. Segregate shared resources so sensitive data is not reused across agent contexts. | ||
| NIST Zero Trust (SP 800-207) | Never trust, always verify | Agent decisions and requests must be continuously authorized instead of trusted from context. |
| Recommendation — Verify each request context and authorize it before any data access or mutation. | ||
Practitioner Guidance
What to prioritise: Keep the source of truth outside the model and decide the minimum data each agent needs before designing the prompt format. If the agent does not need the full record, do not expose it, even temporarily.
What to verify: Confirm that every agent-facing API enforces both read scope and mutation scope, and that the returned payload contains no hidden fields, inherited context, or reusable secrets. Also verify that logs, traces, and memory stores do not reintroduce the data you removed from the prompt.
Practitioner takeaway: Secure multi-agent workflows by treating the prompt as an interface for intent, not a container for sensitive state, because the real security boundary is the API, schema, and authorization layer behind it.
Related resources from NHI Mgmt Group
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 November 2, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org