Data location shows where information is stored, but not how it is recombined, exposed, or reused inside an AI workflow. Visibility into movement is what lets teams see whether prompts, connectors, and retrieval layers are expanding exposure beyond the original access decision.
Why movement matters more than storage boundaries
AI security problems often begin after data leaves its original container. Once prompts, retrieved documents, embeddings, tool outputs, or connector-fed context enter an AI workflow, the system can recombine them in ways that were never obvious from the storage location alone. That is why the security question is not just where data sits, but where it can flow, merge, and be reused.
Visibility into movement exposes the real attack surface: what the model can see, what the orchestration layer can pass forward, and what external systems can inject back into the session. In practice, this is the difference between knowing a file is in a protected repository and knowing whether a connector can surface its contents into a user-visible response or a downstream tool call.
For AI systems, flow visibility also helps teams distinguish intended access from incidental exposure. A user may be entitled to one document, but an AI workflow might retrieve adjacent material, summarize it with other sources, and reveal more than any single access decision was meant to permit.
How AI workflows expand exposure
AI systems add layers that traditional storage maps do not capture well. Retrieval-augmented generation, chat history, memory, plugins, function calls, and external connectors can all create secondary paths for sensitive material. That means the same dataset can have very different risk depending on whether it is merely stored, actively retrieved, or forwarded into an agent with tool access.
Movement also creates recombination risk. Data that is individually low sensitivity can become sensitive when combined with other context, especially if prompts or retrieval layers bring together identity data, internal instructions, and operational records. That is why a visibility model focused on flow is more useful than a static inventory of repositories.
This is why AI incidents frequently involve exposure in transit or during orchestration, not only at rest. Examples in the public record include secret leakage through AI infrastructure and over-permissive tokens that exposed far more data than the original storage boundary suggested, as seen in DeepSeek database exposure 2025 and Microsoft SAS token exposure 2023.
What teams should track to understand AI exposure
Effective visibility starts with tracing the actual AI path: source data, retrieval layer, prompt construction, model input, tool invocation, output filtering, and any downstream system that receives the result. That path shows where sensitive content can be expanded, copied, or transformed into something broader than the original record.
Teams should also distinguish between location controls and flow controls. Location controls answer whether a system can store or access data. Flow controls answer whether a prompt, connector, or agent can move that data into a new trust boundary. For AI security, the second question is usually the one that determines practical exposure.
Connector and tool governance are especially important because they can turn passive data into active disclosure. A harmless-looking retrieval connector may become a high-risk path if it can aggregate records across sources, surface hidden metadata, or let the model act on content that the user never directly opened.
Risk and Threat Considerations
When organisations focus on where data is stored instead of how it moves, they miss the conditions that create oversharing, prompt-injection impact, and unintended reuse. The risk is not only leakage from one repository, but amplification across the entire AI workflow, especially where retrieval, memory, and tool output can cross original access boundaries.
Failure mechanism: An AI workflow can legitimately access one item, then combine it with retrieved context, cached memory, connector output, or tool results in a way that reveals more than the original access decision allowed. Attackers can also abuse that same flow to induce disclosure through crafted prompts, poisoned retrieval content, or over-broad connectors.
Impact: The result is broader exposure than storage reviews suggest, including sensitive data disclosure, secret reuse, unauthorized inference, and loss of confidence in whether AI outputs respect the intended access model.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP API Security Top 10 addresses the attack and risk surface, while NIST SP 800-53 Rev 5 and NIST AI RMF set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev 5 | AC-4 — Information Flow Enforcement | AI workflows need controls over how data moves between prompts, retrieval, tools and outputs. |
| AU-2 — Event Logging | Tracing AI exposure depends on auditability across retrieval, orchestration and tool use. | |
| AC-6 — Least Privilege | Over-broad AI connectors and tool permissions enlarge exposure beyond storage boundaries. | |
| Recommendation — Enforce information flow restrictions for prompts, connectors and output paths. Log retrieval, tool calls and output generation events for review. Restrict AI components to the minimum data and actions they require. | ||
| OWASP API Security Top 10 | API5 — Broken Function Level Authorization | AI connectors and tool endpoints can expose actions beyond intended user authority. |
| Recommendation — Verify that each tool action is authorized at function level. | ||
| NIST AI RMF | GOVERN — Govern | AI data-flow oversight is a governance issue requiring accountability for lifecycle and access paths. |
| Recommendation — Assign ownership for AI data flows and review them continuously. | ||
Practitioner Guidance
What to verify: Confirm that your inventory includes not just repositories, but the full data path through retrieval, memory, connectors, plugins, and output handling. If you cannot trace where sensitive content can move next, you do not yet have meaningful AI security visibility.
Decision rule: If a control only tells you where the data is stored, treat it as incomplete for AI risk decisions. Prioritise visibility into which prompts, retrieval layers, and tools can recombine that data, because that is where exposure usually changes.
What good looks like: You can show, for each AI workflow, which data sources are reachable, which content types can be surfaced, and which downstream systems receive the result. That gives you a practical exposure map rather than a static location list.
Practitioner takeaway: In AI security, the important boundary is the one data crosses, not the one it started in, so governance should follow flows, recombination points, and tool-mediated exposure.
Related resources from NHI Mgmt Group
- How should security teams govern AI adoption when data visibility is incomplete?
- How should security teams operationalize shared data visibility across privacy, security, and AI governance programs?
- What breaks when organisations rely on visibility alone in AI data security programmes?
- Why do data security programmes need strong visibility before organisations trust AI and cloud workflows?
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 October 8, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org