AI agents and MCP ecosystems increase risk because they expand the number of non-human actors that can request access, call APIs, and handle sensitive data. If identity governance is weak, teams lose visibility into who or what accessed resources, whether approvals matched intent, and whether usage stayed within policy boundaries.
Why This Matters for Security Teams
AI agents and MCP ecosystems do not behave like ordinary enterprise apps. They can compose tools, follow indirect instructions, and trigger downstream actions without a human present at each step. That makes customer and partner workflows especially sensitive, because a single identity or token can be reused across portals, support channels, integrations, and data services. The result is not just more access, but less certainty about intent, scope, and accountability.
This is why current guidance emphasizes agent-specific controls rather than generic application IAM. The OWASP Top 10 for Agentic Applications 2026 and NHIMG’s Ultimate Guide to NHIs both point to the same problem: when non-human actors are allowed to act at scale, weak identity hygiene turns routine automation into a trust boundary failure. NHIMG research also notes that NHIs outnumber human identities by 25x to 50x in modern enterprises, which means the attack surface grows much faster than most review processes can track.
In practice, many security teams encounter partner-side overreach only after an agent has already moved data, called an API outside its intended path, or reused a credential in a way no reviewer expected.
How It Works in Practice
The core identity risk comes from the mismatch between static IAM and dynamic agent behaviour. Traditional role-based access works when people have predictable duties, but AI agents are goal-driven. They may decide at runtime which tools to call, which records to retrieve, or which partner endpoint to contact. That means authorization has to be evaluated against the live request, not just the preassigned role.
For that reason, security teams are moving toward intent-based and context-aware authorization, short-lived secrets, and workload identity. A practical pattern is to treat the agent as a workload with cryptographic proof of identity, then issue NIST Cybersecurity Framework 2.0-aligned policy decisions at runtime using policy-as-code. For implementation context, the CSA MAESTRO agentic AI threat modeling framework is useful because it frames how tool use, orchestration, and delegation should be assessed together, not separately.
- Use workload identity, not shared service-account secrets, to establish what the agent is.
- Issue just-in-time credentials per task, with automatic revocation when the task ends.
- Bind access to context such as customer, partner, purpose, and data classification.
- Log both the agent action and the policy decision so audits can reconstruct intent.
- Separate agent execution rights from human approval rights in partner workflows.
NHIMG’s AI Agents: The New Attack Surface report shows why this matters operationally: only 52% of companies can track and audit the data their AI agents access, leaving a major blind spot for investigation and compliance. These controls tend to break down in high-volume partner integrations because legacy IAM, shared tokens, and opaque tool chaining make per-request authorization too coarse to enforce safely.
Common Variations and Edge Cases
Tighter agent controls often increase integration overhead, so organisations have to balance friction against the risk of silent overreach. That tradeoff becomes more visible in customer support, B2B marketplaces, and managed service workflows, where agents need broad but time-limited access across systems owned by different parties.
Best practice is evolving, and there is no universal standard for this yet. Some teams rely on MCP gateway mediation, while others enforce trust decisions inside the agent runtime or at the API edge. The important distinction is that the access decision should follow the task, not the identity label alone. Where partners bring their own agents, the enterprise should require explicit scoping, separate credentials, and revocation terms that survive contract changes.
Edge cases also matter. An agent that only drafts messages may seem low risk, but if it can retrieve customer context, call billing APIs, or trigger refunds, the identity exposure changes immediately. Similarly, a workflow that crosses support, sales, and engineering domains can accumulate privileges across each step unless the runtime continuously narrows scope. The NIST AI Risk Management Framework is helpful here because it encourages governance around mapping, measuring, and managing these compound risks.
NHIMG’s 52 NHI Breaches Analysis and CoPhish OAuth Token Theft via Copilot Studio both reinforce the same lesson: when identity is reused across chained automations, the breach path is usually discovered after the fact, not through design-time assurance.
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, CSA MAESTRO and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST AI RMF 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 | A2 | Agent tool misuse and overreach are central to customer and partner workflow risk. |
| CSA MAESTRO | M2 | MAESTRO models delegation, orchestration, and runtime trust decisions for agents. |
| NIST AI RMF | GOVERN | AI governance must cover accountability, scope, and oversight for autonomous agents. |
| OWASP Non-Human Identity Top 10 | NHI-03 | Secret rotation and short-lived credentials directly reduce non-human identity exposure. |
| NIST Zero Trust (SP 800-207) | AC-4 | Zero trust supports continuous, context-aware authorization for non-human actors. |
Map each agent workflow to runtime trust checks, scoped tools, and revocation paths.