TL;DR: AI systems can leak data or take unsafe actions even when the surrounding application is approved, according to Aurascape, because policy has to govern the interaction itself, not just the destination or model. The decisive control point is the live exchange of prompts, credentials, tools, and data, where enterprise rules must override trust in the session.
At a glance
What this is: NHI Mgmt Group's analysis, drawing on Aurascape's blog post: AI interactions can expose sensitive data and trigger unsafe actions unless policy governs the live exchange, not just the application or destination.
Why it matters: Identity, access and data controls must now account for prompts, delegated actions and tool use inside AI sessions, or approved systems can still become policy bypass channels.
Context
A control that only checks whether an AI application is approved misses the real governance problem. In practice, risk appears inside the session, where a user, model or agent can move from benign help to confidential data handling, external transfers or unsupported actions in a single conversation.
AI security therefore has to evaluate interaction context: what information is present, which tools are invoked, what credentials are being used and where the output is going. That is especially important when an agent can act across systems, because permission to reach a destination does not mean every exchange in that path is acceptable.
The article’s starting position is typical of enterprise AI adoption, where useful access and security controls are being negotiated at the same time rather than sequentially.
Key questions
Q: How should security teams govern data access for AI workloads?
A: They should govern AI data access by business purpose, dataset classification, and downstream reuse, not by repository alone. If AI systems can transform or redistribute data, then the entitlement review must cover how the data will be used after access is granted. That requires tighter alignment between IAM, data governance, and AI owners.
Q: Why do approved AI tools still create data leakage risk?
A: Approved tools still create risk when users rely on personal accounts, bypass governance with unmanaged sign-ins, or process data that should never enter an LLM. Approval covers the application, not every account or prompt path. Without oversight, the organisation can still expose confidential data through a trusted interface.
Q: How does session-bound credential checking reduce AI data leaks?
A: Session-bound credential checking ties an agent or service’s token use to the current session, so the credential is validated against the live context before data is released. That reduces leaks by blocking replayed, copied or stale tokens and by limiting tool calls to the authorised runtime scope, with revocation possible when the session ends or changes.
Q: What is the difference between application approval and transaction policy?
A: Application approval is a control that allows or blocks a specific application based on its identity, reputation or policy status. Transaction policy decides whether an individual action, such as a file write, payment or API call, is permitted based on context, attributes and risk signals. The first is app-level allowlisting, the second is action-level authorisation.
Technical breakdown
Why destination-based checks fail in AI sessions
AI interactions are not one-and-done API calls. They are stateful sessions that can span prompts, retrieved context, tool calls and downstream actions. A destination allowlist can say that a service is reachable, but that does not answer whether the current transfer is appropriate, whether the user intended it or whether the session is carrying sensitive material. The control problem is therefore transactional, not merely network-based. Security has to understand the content, the identity in play and the action being attempted at the moment it happens. See the Enterprise AI Copilot Security Guide.
Practical implication: Treat allowlists as necessary but insufficient, and add inline inspection that can decide on the transaction itself.
How delegated AI actions create policy gaps
When an AI system can retrieve information from one place and send it to another, the business is effectively delegating parts of a workflow. That delegation may be explicit, as in a tool call, or implicit, as in an agent following a prompt to complete a task. The risk is that the agent can act within its technical permissions while still violating business policy. This is a governance gap between authorization and intent, which traditional app controls were not built to close. See the AI Agent Identity Security Buyer's Guide.
Practical implication: Define action-level policy for AI tools and agents, not just application-level access.
Why session-bound credential validation matters
The Anthropic example in the source material illustrates a core failure mode: credentials from outside the active session were accepted as if they belonged to it. That allowed a malicious file to turn an approved service into an exfiltration path. Session-bound validation ties requests to the current user context, current task and current trust boundary. Without that binding, an agent can be induced to move data using credentials that should have been rejected as out of scope. See the AI Coding Agents Security Guide.
Practical implication: Validate that credentials, tokens and delegated actions belong to the active session before any sensitive transfer proceeds.
Threat narrative
Attacker objective: The attacker wants the AI system to move sensitive information or perform harmful actions while appearing to operate within approved access.
- Entry occurs when a malicious file or instruction is introduced into an AI workflow and the session is induced to process it as part of normal work.
- Credential access follows when the agent is tricked into using credentials that are not bound to the active session or task.
- Escalation occurs as the agent uses approved reachability to move data or actions through a service that the business intended to control more tightly.
- Impact is data leakage or unsafe system behaviour despite the surrounding application appearing legitimate.
Breaches seen in the wild
- Internet Archive breach 2024: An exposed GitLab token opened Internet Archive code and 31 million user records; unrotated Zendesk tokens let the attacker back in weeks later.
- New York Times GitHub breach 2024: An exposed GitHub token gave an attacker The New York Times' repositories; the 270GB leak held 4,875 unique secrets.
Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
AI governance now has an interaction-layer problem: approving an application or model is no longer enough when the risky decision happens inside the session. The control plane has to see prompts, tools, delegation and data together, because the policy violation is often created by their combination rather than by any one element. Practitioners should treat this as a governance layer that sits between identity, application access and data movement.
Session integrity is the missing assumption: many AI controls still assume that once a session is trusted, the work inside it remains trustworthy. The article shows why that assumption breaks when an agent can be steered by a file, a prompt or a misconfigured environment into acting outside business intent. Enterprises need to govern what belongs to the current session, not just what belongs to the user or application.
AI security must move from application approval to transaction policy: the important question is not whether the model or assistant is allowed, but which exchanges are permitted inside it. That makes AI interaction governance closer to enterprise copilot security than to classic perimeter control. The practitioner conclusion is clear: permit useful work, but enforce the business rule at the point of action.
Identity is becoming the trust anchor for AI delegation: when agents retrieve data or invoke tools, the system needs a reliable way to determine whose authority is being exercised and whether it still matches the task. That makes delegated identity, session binding and credential scoping central to safe AI adoption. Security teams should treat AI delegation as an identity problem with data consequences, not a data problem with an AI wrapper.
From our research library:
- Internal repositories are 6x more likely to contain secrets than public ones (32.2% vs 5.6%), contradicting the assumption that private repos are safe, according to the State of Secrets Sprawl 2026.
- Read next: AI Agent Identity Security Buyer's Guide
What this signals
Interaction-layer control: AI security is shifting from coarse application allow or deny decisions to per-exchange governance. That means the reader’s programme needs controls that can inspect what is being asked, what is being used and where the result is headed before the exchange completes.
The practical challenge is identity and delegation. When an AI system can act across tools, the organisation has to know whether the action is still operating under the intended authority, or whether the session has drifted into a data movement event that should have been blocked.
A useful next step is to align AI controls with identity and data governance, so approval decisions are made at the transaction boundary rather than after the output exists.
For practitioners
- Inspect AI interactions inline Place enforcement in the path of prompts, tool calls and outbound transfers so the decision happens before data leaves the session.
- Bind credentials to the active session Reject tokens or credentials that do not match the current user context, task and trust boundary before allowing a sensitive action.
- Separate model capability from business permission Allow the assistant to remain usable while restricting high-risk actions such as file transfer, external posting or cross-system execution.
- Monitor delegated tool use as a governance event Log which prompts, tools, data sources and identities were involved in each AI transaction so policy decisions are auditable.
- Define safe boundaries for agentic workflows Document which exchanges are permitted inside each AI workflow, including what data can be read, transformed or sent onward.
Key takeaways
- AI sessions can create policy violations even when the surrounding application is approved, because the dangerous moment is the exchange itself.
- The article’s strongest evidence is that destination checks and environment assumptions failed to stop data movement and harmful actions.
- Inline inspection, session-bound credential validation and action-level policy are the controls that limit this class of AI risk.
Related NHI Mgmt Group resources: Enterprise AI Copilot Security Guide · AI Agent Identity Security Buyer's Guide · AI Coding Agents Security Guide · EmeraldWhale Git config credential theft
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, OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | ASI03 — Identity & Privilege Abuse | The article is centered on AI delegation, credential scope and misuse of authority inside agentic sessions. |
| Recommendation — Bind agent actions to session-scoped authority and block requests that exceed the current privilege context. | ||
| OWASP Non-Human Identity Top 10 | NHI-04 — Insecure Authentication | The source material shows how credentials not tied to the active session can be abused inside AI workflows. |
| Recommendation — Authenticate AI tool use with session-bound credentials and reject out-of-context tokens before execution. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | The finding is about governing what an AI session may do with data and systems, which is an authorization problem. |
| Recommendation — Apply PR.AA-05 to enforce task-specific permissions for AI interactions and delegated actions. | ||
| NIST SP 800-53 Rev 5 | IA-5 — Authenticator Management | Credential scope and rejection of out-of-session credentials are central to the control failure described here. |
| Recommendation — Use IA-5 to manage, validate and revoke credentials that AI workflows can present or consume. | ||
| MITRE ATT&CK | TA0006;TA0010 — Credential Access; Exfiltration | The attack pattern involves credential misuse followed by data movement through an approved service. |
| Recommendation — Map AI session abuse to credential access and exfiltration tactics, then hunt for session drift and data transfer anomalies. | ||
Key terms
- Session-Bound Credential: A short-lived token or certificate tied to a specific interaction window rather than a durable integration. For MCP, this is the practical control that prevents a connected client from keeping standing access after the intended task ends.
- Delegated AI Action Chain: A delegated AI action chain is the sequence of permissions and tool invocations that an AI system uses to complete a task. For governance, the important unit is not the initial login but the full path from identity through retrieval, model output, and downstream execution.
- Transaction Policy: A transaction policy is a rule set that governs how a transaction is authorised, approved, or controlled in a system. In identity and access management, it can enforce conditions such as step-up authentication, approval workflow, role checks, or limits on who may complete a sensitive action.
- AI Interaction Governance: AI Interaction Governance is the set of rules and controls that define how people, systems or agents may prompt, query and receive outputs from an AI system. It covers approved use cases, input and output restrictions, logging, review and escalation rules for unsafe or unauthorised interactions.
Deepen your knowledge
The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, workload identity and secrets management. It helps security and identity teams apply consistent control thinking to AI delegation, machine credentials and other non-human access patterns.
Published by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org