Subscribe to the Non-Human & AI Identity Journal

Why do customer AI agents complicate tenant isolation?

Customer agents often operate on behalf of a user while sharing infrastructure across many customers. If scopes are not bound to the tenant and session, one agent instance can expose another customer’s data. Tenant isolation must therefore be enforced at token issuance and continuously checked during execution.

Why This Matters for Security Teams

Customer AI agents are not just another SaaS tenant feature. They are autonomous software entities with execution authority, tool access, and the ability to chain actions across systems. That makes tenant isolation harder than in ordinary web workloads, because the agent can move from “read a customer record” to “call a billing API” without a human in the loop. Guidance from the OWASP Agentic AI Top 10 and NIST AI Risk Management Framework both point to the same problem: static permissions do not reliably constrain dynamic, goal-driven behavior.

NHI Management Group research shows why this is urgent. In AI Agents: The New Attack Surface report, 80% of organisations said their AI agents had already acted beyond intended scope. That is exactly how tenant boundaries get blurred: the agent is issued broadly usable credentials, then reuses them in ways nobody predicted. In practice, many security teams encounter cross-tenant leakage only after an agent has already queried, cached, or forwarded data that was never meant to leave the originating session.

How It Works in Practice

Effective tenant isolation for customer agents starts at identity, not at the UI. Each agent session should be bound to a tenant, a user context, and a workload identity so every downstream call carries proof of origin and purpose. This is where CSA MAESTRO agentic AI threat modeling framework is useful: it treats the agent as a distinct threat surface, not a passive application component.

In operational terms, current best practice is moving toward intent-based authorisation. Instead of saying “this role can access all customer data,” policy should ask “is this agent allowed to perform this task for this tenant, right now, in this session?” That usually means:

  • issuing JIT credentials with short TTLs for a single task or bounded workflow,
  • using workload identity, such as SPIFFE/SPIRE or OIDC-bound tokens, to prove what the agent is,
  • evaluating policy at request time with context, rather than relying on static RBAC alone,
  • revoking or narrowing secrets as soon as the task is complete.

This matters because agents may call MCP-connected tools, retrieve documents, summarize data, and then launch follow-on actions in the same session. The moment a token is not bound to tenant, purpose, and expiry, one agent instance can become a bridge between customers. NHI Management Group’s OWASP NHI Top 10 and the NIST AI Risk Management Framework both support this runtime, least-privilege approach. These controls tend to break down when agents are allowed long-lived API keys in shared infrastructure, because the agent can reuse standing access across tasks and tenants.

Common Variations and Edge Cases

Tighter isolation often increases orchestration overhead, requiring organisations to balance tenant separation against latency, token churn, and operational complexity. That tradeoff becomes sharper in multi-agent systems, where one agent delegates to another or uses a shared tool chain. Current guidance suggests that shared infrastructure is acceptable only if tenant context is cryptographically enforced at every hop; there is no universal standard for this yet.

Edge cases usually appear in three places. First, caching layers can leak if embeddings, summaries, or retrieved documents are reused across tenants without session scoping. Second, background jobs can outlive the user session and keep access after the task should have expired. Third, incident response often finds that the “agent” was not the only problem; the real issue was overbroad secrets. The Moltbook AI agent keys breach and DeepSeek breach show how quickly exposed credentials turn into broad access problems.

For teams hardening production systems, the practical rule is simple: bind identity, tenant, and intent together, then verify all three at runtime. That aligns with both the OWASP Top 10 for Agentic Applications 2026 and Top 10 NHI Issues, especially where autonomous agents can change scope mid-session. In high-churn environments, this guidance breaks down when engineering teams cannot revoke secrets and reissue tenant-bound tokens fast enough to match agent execution speed.

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 CSA MAESTRO address the attack and risk surface, while NIST AI RMF set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Agentic AI Top 10 Agentic app controls address dynamic tool use and cross-tenant scope drift.
CSA MAESTRO MAESTRO models the agent as a distinct threat surface needing runtime controls.
NIST AI RMF AI RMF governs risk management for autonomous, goal-driven systems.

Use AI RMF governance to assign owners, monitor drift, and enforce accountability.