Join our Newsletter — 33% off our NHI Course

Ingress Leak

An ingress leak happens when sensitive data is pulled into an AI model’s context through a tool call rather than sent out through a traditional exfiltration path. This shifts the control point from egress monitoring to content inspection at the connector boundary, where redaction, masking, or blocking can occur before exposure.

Expanded Definition

An ingress leak is best understood as a data exposure problem at the moment an AI system retrieves information from an external tool, database, ticketing system, or knowledge base. The risk is not limited to classic exfiltration, where data leaves an environment through a network path. Instead, sensitive material enters the model’s working context through a connector, prompt assembly flow, or agent tool invocation, where it can be read, transformed, logged, or acted on. This is especially relevant in agentic AI and retrieval-augmented systems, where tool access is intentional and often continuous.

Definitions in the industry are still evolving, but the practical boundary is clear: the control point sits at the ingress path, not only at the network perimeter. That means inspection, classification, redaction, and policy enforcement must happen before content is placed into context. Guidance from NIST AI Risk Management Framework and the NIST AI 600-1 GenAI Profile is relevant because both emphasise governance, measurement, and risk treatment around AI system behaviour and data handling. The most common misapplication is treating ingress leak as if DLP on outbound traffic alone is sufficient, which occurs when teams overlook connector-level retrieval into model context.

Examples and Use Cases

Implementing ingress leak controls rigorously often introduces latency and workflow friction, requiring organisations to weigh model utility against stricter content inspection and access decisions.

  • A customer support agent uses a retrieval connector to pull a full case file into an LLM prompt. If the file contains payment details or identifiers, the model may see data that should have been masked before retrieval.
  • An AI coding assistant queries an internal secrets inventory or incident note. If API keys or credentials are returned unfiltered, the leak occurs at the connector boundary rather than in a traditional network exfiltration event.
  • A SOC copilot pulls enrichment from a case management platform. Sensitive incident evidence can enter the model context unless the retrieval layer applies field-level filtering and role-aware masking.
  • An enterprise knowledge bot queries a document store with broad permissions. Even if the model itself never writes data outward, overbroad retrieval creates an ingress leak by exposing content the user should not have received.
  • In agent deployments, a tool call may fetch records from a CRM or HR system. The Anthropic report on AI-orchestrated cyber espionage illustrates why tool-mediated access is now a security boundary that adversaries may probe.

Why It Matters for Security Teams

Ingress leak matters because it changes how teams think about prevention, detection, and governance. Traditional egress monitoring is necessary but insufficient when the sensitive event happens on the way into the model. Security teams need visibility into tool permissions, retrieval scopes, prompt construction, and content inspection rules, especially where AI agents have execution authority and can chain multiple tool calls. In NHI-heavy environments, the risk often rises because service identities, API keys, and automation tokens are what enable the retrieval in the first place.

This concept intersects naturally with identity and access control: if an agent or service identity can query everything, then the model can ingest everything. That is why least privilege, connector scoping, and data classification must be enforced together, not as separate programs. The governance lesson aligns with OWASP guidance for LLM applications and with OWASP’s broader concern with prompt and tool-driven exposure paths, even though the terminology around ingress leak itself is still maturing. Organisations typically encounter the operational impact only after an agent retrieves restricted content into context and downstream logs, summaries, or decisions reveal that exposure, at which point ingress leak 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 AI RMF, NIST AI 600-1 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST AI RMF AI RMF governs risk, mapping well to connector-mediated data exposure.
NIST AI 600-1 GenAI profile addresses data handling and governance for model inputs.
OWASP Agentic AI Top 10 Agentic AI guidance covers tool use and exposure through model actions.
OWASP Non-Human Identity Top 10 NHI guidance is relevant where service identities enable connector access.
NIST CSF 2.0 PR.AC-4 Least-privilege access limits what data can be retrieved into AI context.

Add policy checks and monitoring at retrieval points before content reaches model context.