Subscribe to the Non-Human & AI Identity Journal

Who is accountable when an AI agent performs an unauthorized action after injection?

Accountability follows the governance model that granted the agent its permissions and execution rights. The owner of the agent workflow, the approver of its tool scope, and the team operating the control plane all share responsibility. Frameworks such as OWASP-NHI and zero trust expect those boundaries to be explicit.

Why This Matters for Security Teams

An unauthorized action by an injected AI agent is not just a misuse event. It is a governance failure across identity, tool access, and runtime control. The accountability question usually comes down to who approved the agent’s permissions, who operated the workflow, and who failed to constrain the execution path. That is why OWASP Agentic AI Top 10 and NIST AI Risk Management Framework both push organisations toward explicit ownership, runtime controls, and auditable decision paths rather than vague delegated authority.

This matters because agents do not behave like fixed service accounts. They can chain tools, adapt to prompts, and escalate from one permitted action into a broader impact without a human clicking through each step. NHIMG’s coverage of agentic risk shows how often this breaks down in real deployments, especially when tool scope is broad and credentials are long lived, as explored in OWASP NHI Top 10. In practice, many security teams encounter accountability gaps only after the agent has already accessed data or executed a tool call that nobody expected.

How It Works in Practice

Current guidance suggests treating accountability as a control-plane problem, not a blame exercise after the fact. The owner of the workflow defines the agent’s purpose, the approver defines the tool scope, and the platform team enforces the guardrails. For autonomous systems, static RBAC alone is weak because the agent’s next action is not known in advance. A better pattern is intent-based authorisation, where the system evaluates what the agent is trying to do at runtime and allows only that action in context.

That usually means combining workload identity, short-lived credentials, and policy-as-code. The agent should authenticate as a workload identity, not a human proxy, using cryptographic proof of what it is and what task it is executing. JIT credential provisioning limits blast radius by issuing secrets only for the specific task and revoking them on completion. Controls such as OPA or Cedar are then applied at request time so the policy engine can inspect the target system, data sensitivity, step sequence, and environment state before approving action.

This model works best when every tool invocation is logged, every secret is ephemeral, and every approval is tied to a named owner. These controls tend to break down in legacy environments where long-lived API keys, flat network trust, and unsegmented tool access leave the agent with more reach than the policy layer can reliably contain.

Common Variations and Edge Cases

Tighter control often increases operational overhead, requiring organisations to balance speed of automation against review depth and revocation discipline. There is no universal standard for exactly where the accountability line ends when multiple teams share the control plane, so governance needs to be documented before deployment, not negotiated after an incident.

One common edge case is delegated autonomy, where a human approves a task once and the agent executes many downstream steps. In that model, the human may own the intent, but the platform team still owns the enforcement layer, and the workflow owner still owns the use case risk. Another edge case is vendor-hosted agents, where the organisation consumes the agent but does not fully control its internals. In those cases, incident responsibility often depends on contract terms, logging access, and whether the organisation retained meaningful control over tool scope.

Long-lived secrets create the worst accountability gaps because they blur the boundary between authorised use and later misuse. NHIMG’s reporting on OWASP Agentic Applications Top 10 and the DeepSeek breach shows why static secrets and weak visibility make post-incident attribution harder. Best practice is evolving toward zero standing privilege, runtime policy checks, and explicit ownership for every agent capability.

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 CSA MAESTRO address the attack and risk surface, while NIST AI RMF set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Agentic AI Top 10 A01 Unauthorized agent actions map to agentic access and tool-abuse risks.
CSA MAESTRO TR-1 MAESTRO models autonomous agent threats, including misuse after injection.
NIST AI RMF AI RMF GOVERN covers ownership, accountability, and traceability for AI systems.

Bind each tool call to runtime policy checks and named approval for the exact action.