AI-mediated execution is work where a human initiates action but an AI system helps generate, transform, or carry out the next steps. In identity governance, this creates a mixed control problem because the user owns the session while the machine amplifies the behaviour.
Expanded Definition
AI-mediated execution describes a control pattern where a human starts an action, then an AI system helps produce the next steps, transforms the request, or carries out part of the work. In practice, the boundary is not the prompt alone, but who can change intent, scope, or execution once the AI has begun to act.
This matters because the same session can combine human authority with machine speed, tool use, and inference. That makes AI-mediated execution different from simple decision support: the AI may draft, modify, or trigger downstream steps that the user did not explicitly enumerate. In security operations, coding workflows, support automation, and identity-adjacent tasks, the control question is whether the AI is merely assisting or is effectively co-authoring action.
Definitions vary across vendors and operating models. Some teams treat any AI-assisted workflow as mediation, while others reserve the term for cases where the AI can directly execute or chain actions. The practical boundary is important: if the AI can expand, reinterpret, or sequence a request, the organisation must treat that as a distinct execution path rather than a normal human-only action. For broader context on control expectations around system behaviour, NIST SP 800-53 Rev 5 Security and Privacy Controls remains a useful control reference.
Examples and Use Cases
AI-mediated execution appears anywhere a human starts work and the model performs materially useful steps that affect the outcome.
- A support engineer asks an AI assistant to reset or route an access request, and the AI drafts the action sequence or populates the ticket workflow.
- A developer requests a code change, and the model generates the patch, updates files, or prepares a pull request for approval.
- An analyst asks an agent to query logs, correlate signals, and produce a recommended containment step that can be executed with one click.
- An operations user asks an AI tool to provision resources, and the system transforms a plain-language intent into API calls.
- A security reviewer uses an AI assistant to summarise policy language or identify exceptions, then relies on the output to drive the next decision.
The common tradeoff is speed versus bounded intent. The more the AI is allowed to transform or carry out steps, the less the workflow depends on the user’s exact wording. That can improve efficiency, but it also increases the chance that the generated action exceeds what the human intended.
Security Implications
The main security risk is control drift: the user may approve an outcome without fully understanding what the AI added, reordered, or inferred. That can create overbroad actions, unintended data exposure, or inaccurate task execution, especially when the AI is allowed to call tools or chain multiple steps.
This pattern also weakens audit clarity. If a later reviewer cannot tell where human intent ended and machine-generated execution began, accountability becomes blurry. In identity and access workflows, that can lead to over-privilege, misrouted approvals, or actions taken under a human session that were effectively shaped by machine logic. The failure condition is usually not a single bad prompt, but an execution path that was never tightly scoped or independently checked.
NHIMG research has found that when AWS credentials are exposed publicly, attackers attempt access within an average of 17 minutes, and sometimes as quickly as 9 minutes. That is relevant here because AI-mediated workflows often touch secrets, cloud actions, or credentials handling. Once the AI is empowered to accelerate execution, the blast radius of a bad decision or stolen session can expand very quickly.
Domain and Governance Relevance
In NHI governance, AI-mediated execution is important because it changes how machine actions inherit human authority. A session may look user-driven, yet the effective execution can include AI-generated commands, API calls, or delegated changes that rely on machine identities, tokens, or service permissions behind the scenes.
That matters for ownership and review. Organisations need to know whether the human owns the intent, the AI owns the transformation, or a service identity owns the actual execution. If those layers are mixed without clear boundaries, non-human actions can bypass the scrutiny normally applied to privileged human activity. The result is weaker offboarding, harder attribution, and more difficult secret lifecycle control.
For NHIMG readers, the practical takeaway is that AI-mediated execution is not just an interface pattern. It is a governance pattern that can compress the distance between human approval and machine action, which makes NHI inventory, credential scope, and delegation boundaries materially more important.
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 CIS Controls v8 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | Agentic Tool Use | AI-mediated execution involves AI systems transforming user intent into actions or tool calls. |
| Recommendation: Constrain when AI may turn intent into executable steps and what it can do on the user's behalf. | ||
| OWASP Non-Human Identity Top 10 | NHI-02 | AI-mediated execution often depends on tokens, API keys, and delegated machine credentials. |
| Recommendation: Treat machine credentials used by AI workflows as governed identities with strict scope and lifecycle control. | ||
| CIS Controls v8 | 6.2 | AI-mediated execution can create untracked tool use and shadow execution paths that need inventory. |
| Recommendation: Maintain visibility into AI-enabled execution paths so unmanaged assets and access routes are not missed. | ||
| NIST CSF 2.0 | GV.5 | AI-mediated execution creates governance choices about acceptable delegation and approval boundaries. |
| Recommendation: Define risk tolerance for AI-assisted execution and align approvals to the organisation's delegation model. | ||
| MITRE ATT&CK | T1078 | AI-mediated execution can be abused when attackers operate through legitimate user or service sessions. |
| Recommendation: Monitor for abuse of legitimate accounts when AI workflows execute actions through trusted sessions. | ||
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on September 6, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org