AI applications expand risk because they can act on data, make decisions, and trigger downstream systems at runtime. If permissions are too broad, a manipulated prompt or compromised workflow can expose sensitive records, leak credentials, or execute unintended actions. That makes access control, content inspection, and detailed auditability essential for controlling AI-driven behaviour.
AI Retrieval and Tool Use Change the Security Boundary
Enterprise AI applications are risky not just because they process information, but because they can combine retrieval, reasoning, and action in one runtime path. That shifts the security boundary from a passive system that answers questions to an active system that can search internal data, assemble context, and call tools with organisational side effects. The result is a wider blast radius when input is manipulated, outputs are over-trusted, or downstream systems inherit the AI application’s authority. The NIST Cybersecurity Framework 2.0 is useful here because it treats governance, access control, monitoring, and resilience as linked obligations rather than separate concerns.
Practitioners often underestimate that the AI layer can become a policy decision point even when the underlying data store and tool remain unchanged. If the application can retrieve records or invoke actions on behalf of users, then the AI orchestration layer becomes part of the trusted computing base and must be governed accordingly. In practice, many security teams encounter over-broad AI access only after a prompt-driven workflow has already exposed data or triggered an unintended action.
How Retrieval, Prompts, and Tool Calls Fail in Practice
Retrieval-augmented and tool-using AI systems usually fail at the seams between three capabilities: what they are allowed to see, what they are allowed to decide, and what they are allowed to do. A model may appear to be “just answering,” but if it can search indexed content, follow hidden instructions, or call an API, it can turn untrusted input into privileged behaviour. That is why the main control problem is not model intelligence alone; it is the combination of data access, instruction following, and action execution.
Common failure modes include excessive retrieval scope, weak separation between system instructions and user content, and tool permissions that are broader than the user task. If the model can reach sensitive repositories, a prompt injection or poisoned document can steer it toward disclosure. If it can invoke business tools, it may create tickets, send messages, approve requests, or alter records in ways that were never intended by the operator. Those failures are amplified when logs do not preserve the retrieved context, the exact tool call, and the human or workflow state that authorised the action.
- Constrain retrieval to the smallest data set needed for the task.
- Separate read paths from write paths so the model cannot escalate from summary to action without a distinct control.
- Require explicit approval for high-impact tool calls, especially where external systems move money, data, or access.
- Log prompts, retrieved sources, tool arguments, and outcomes so investigators can reconstruct what the AI actually did.
Where these controls are absent, the application stops behaving like a bounded assistant and starts behaving like a general-purpose operator with incomplete supervision.
When This Risk Becomes Material
Tighter AI orchestration often improves usefulness, but it also increases the chance that a single compromise affects multiple systems, so teams must balance automation value against privilege concentration. The highest-risk cases are the ones where retrieval reaches confidential material, tool calls can change state, or the application handles requests from many users with different trust levels. The question is less about whether the AI is “smart” and more about whether it can be induced to cross a trust boundary that a human reviewer would normally protect.
There is also an important consensus point: the industry agrees that prompt injection, data leakage through retrieval, and unsafe tool execution are real classes of failure, but it does not yet fully agree on how much autonomy is acceptable in each workflow. For low-risk tasks, read-only retrieval with constrained context may be sufficient; for anything that can affect records, entitlements, or external communications, stronger approval and monitoring are needed. The NIST SP 800-53 Rev 5 Security and Privacy Controls is useful for translating those boundaries into access, audit, and system integrity requirements.
Where organisations treat tool-using AI as a convenience layer rather than a control-bearing system, the guidance breaks down as soon as the model is given authority that users themselves would not have had directly.
Risk and Threat Considerations
Enterprise AI applications create a material risk of unintended disclosure, privilege misuse, and unsafe downstream action because they can transform untrusted prompts or content into authorised access and execution. The core exposure is not the model alone, but the trust chain that lets the model retrieve sensitive data or invoke tools with business impact.
Failure mechanism: prompt injection, malicious retrieved content, weak tool scoping, or missing human approval can steer the application into revealing data, issuing commands, or taking state-changing actions under legitimate credentials and workflows.
Impact: sensitive records can be exposed, credentials or tokens can be surfaced, actions can be triggered incorrectly, and investigators may struggle to separate intended automation from abuse if logging is incomplete.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST CSF 2.0 | PR.AC-4 — Access Control | AI retrieval and tool use depend on scoping who and what the system can access. |
| DE.CM-7 — Continuous Monitoring | Tool calls and retrieved context need monitoring to detect misuse or abnormal behaviour. | |
| Recommendation — Constrain AI retrieval and tool permissions to the minimum required for each task. Monitor prompts, retrievals, and tool calls for unexpected or high-impact actions. | ||
| CIS Controls v8 | 6 — Access Control Management | The issue is excessive or poorly governed access for AI-driven workflows. |
| Recommendation — Apply least privilege to AI-linked accounts, data sources, and actioning tools. | ||
| MITRE ATT&CK | T1567 — Exfiltration Over Web Service | Compromised or manipulated AI workflows can be used to move sensitive data outward. |
| T1204 — User Execution | Attackers often rely on trusted workflow execution and operator trust in AI output. | |
| Recommendation — Hunt for AI-assisted data movement paths that use legitimate service integrations. Treat AI-generated actions as untrusted until they are independently approved. | ||
Practitioner Guidance
What to prioritise: Treat retrieval scope and tool permissions as separate controls, not as one combined “AI permission.” A model that may read a source should not automatically be able to act on it, and a model that may act should have a narrow, task-specific action set.
What to verify: Validate that every high-impact tool call has a clear approval path, a bounded allowlist, and audit logs that preserve the exact inputs and outputs. If you cannot reconstruct what data influenced the action, the control is not yet trustworthy.
Decision rule: If the AI can affect records, entitlements, external messages, or financial or operational workflows, require a stricter control tier than for read-only summarisation. If it only retrieves low-sensitivity content, lighter controls may be acceptable, but only with a defined retrieval boundary and logging.
Practitioner takeaway: The main design mistake is assuming that an AI system is low risk because it is only “following instructions”; once it can retrieve and invoke, it becomes a governed execution path, not just an interface.
Related resources from NHI Mgmt Group
- Why do AI agents create new risk when they can read email, query systems, and invoke tools on behalf of employees?
- Why do AI assistants create new operational risk when they process security logs and incident data?
- Why does instruction override create security risk for AI systems that use enterprise data and tools?
- Why do AI tools create new compliance risk for financial data access?