Subscribe to the Non-Human & AI Identity Journal

Cross-server context exfiltration

A failure mode where an AI agent uses one trusted server or context to pull information from another and move it into an unintended destination. It is especially dangerous in multi-server agent setups because the breach occurs across connected tools, not at a single perimeter.

Expanded Definition

Cross-server context exfiltration occurs when an AI agent is able to use one trusted server, tool, or conversation context as a bridge to access data from another server and then place that data where it was never intended to go. In practice, the problem is not simply unauthorised access to a single system. It is the unintended movement of information across otherwise separate trust boundaries inside an agentic workflow.

This term is most relevant in multi-server and multi-tool environments where an agent can maintain memory, call functions, or relay outputs between services. The security concern is that each server may appear safe in isolation, while the combined workflow creates a hidden path for disclosure. That makes the issue less about a single broken control and more about weak boundary design, insufficient context segregation, and overly broad tool permissions. For a governance baseline, NIST Cybersecurity Framework 2.0 is useful because it frames the need to manage data flow, access, and oversight across connected systems. Usage in the industry is still evolving, and some vendors describe related behaviour as context leakage, tool chaining exposure, or indirect prompt-based data transfer. The most common misapplication is treating it as ordinary data loss prevention failure, which occurs when teams only inspect the final destination and miss the cross-server path that enabled the exfiltration.

Examples and Use Cases

Implementing cross-server boundaries rigorously often introduces orchestration overhead, requiring organisations to weigh agent flexibility against tighter segregation of tools, memory, and output channels.

  • An internal assistant reads a support ticketing server, then inserts sensitive ticket details into a separate analytics workspace that was not cleared to receive them.
  • An AI coding agent retrieves secrets from a build server context and echoes them into a chat or note-taking server used by a broader team.
  • A procurement agent pulls supplier data from one connected SaaS server and forwards it into another server that supports a less privileged workflow, creating an unintended disclosure path.
  • A customer service agent combines data from a CRM server and a knowledge base server, then writes the merged context into a public-facing draft, exposing information that was meant to stay internal.
  • In environments using retrieval and tool calling, an agent can unintentionally relay protected records from one server into a downstream prompt or response object, which is why guidance from NIST Cybersecurity Framework 2.0 remains relevant even when the failure looks like an application-layer issue.

Why It Matters for Security Teams

Cross-server context exfiltration matters because it turns a collection of individually trusted services into a lateral movement channel for sensitive information. Security teams often focus on authentication, but that is only one layer. If an agent can carry context from one server into another without strict filtering, the environment can leak credentials, personal data, confidential records, or operational intelligence even when no single system is compromised in the traditional sense.

This is especially important for non-human identity governance because agents often operate with delegated permissions, persistent memory, and broad tool access. That makes the boundary between authorised action and unauthorised disclosure much harder to see. Teams should therefore treat context handling as a security control, not just a product feature, and review how prompts, tool outputs, retrieval sources, and downstream destinations are separated. Where identity assurance is involved, NIST SP 800-63 helps teams think more clearly about assurance, while OWASP guidance for LLM applications highlights prompt and output pathways that can be abused. Organisations typically encounter the business impact only after a sensitive record appears in the wrong workspace or response, at which point cross-server context exfiltration becomes operationally unavoidable to address.

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

Framework Control / Reference Relevance
OWASP Agentic AI Top 10 OWASP agentic guidance covers tool and context abuse that can leak data across servers.
NIST CSF 2.0 PR.AC-4 NIST CSF addresses least privilege and access management across connected systems.
NIST SP 800-63 AAL2 Digital identity assurance informs how delegated agent actions should be trusted.
OWASP Non-Human Identity Top 10 OWASP NHI guidance is relevant when non-human identities can relay context between servers.
NIST AI RMF AI RMF governance helps manage risk from agent workflows that propagate information unexpectedly.

Inventory non-human identities and restrict their ability to carry sensitive context onward.