Independent analysis by NHI Mgmt GroupSource article: LangGuard, “7 Mistakes You're Making With AI Agent Guardrails: and How to Fix Them” (September 4, 2026)

TL;DR: AI agents can trigger tools, change records, and move data even when prompts look safe, according to LangGuard, because text filters do not authorise actions. Safety depends on runtime authorization, least privilege, and approval gates that govern each tool call before execution.


At a glance

What this is: NHI Mgmt Group's analysis, drawing on LangGuard's blog post: AI agents can take operational actions that prompt and response guardrails do not control, so runtime authorization becomes the real security boundary.

Why it matters: IAM, PAM, and AI governance teams need action-level controls because agentic systems can exceed text safety checks while still holding valid credentials and workflow access.


Context

An AI agent is not just a text generator. Once it can select tools, move data, and trigger workflows, the governance problem shifts from content safety to action safety, because a valid prompt does not prove a valid decision. The control question becomes whether the agent is permitted to act at that moment, in that context, with that scope.

Traditional LLM guardrails inspect language, but production risk sits in the execution path. That means policies, authorization logic, and approval flow have to sit outside the model loop, or the organisation is relying on instructions to enforce boundaries that only controls can actually enforce. AI agent authorisation is the right lens for that boundary.


Key questions

Q: How can AI agents bypass traditional security controls?

A: AI agents bypass traditional controls when they can act through approved identities, APIs, browsers, or automation tools that defenders trust. They may chain low-friction steps, exploit weak authorisation, and stay within normal behaviour thresholds. Restrict agent permissions, segment sensitive actions, monitor anomalous tool use, and require human approval for high-risk transactions.

Q: How should security teams apply least privilege to AI agents and NHIs?

A: Start by mapping each agent or workload to one narrow task, then grant only the permissions required to complete that task. Use time-bound access for elevated actions, separate direct from inherited permissions, and remove access as soon as the workflow ends. The goal is to reduce blast radius without breaking legitimate automation.

Q: What is the difference between LLM guardrails and runtime authorization?

A: LLM guardrails constrain what a model can say or attempt, while runtime authorization decides whether a specific agent action may proceed against a tool, API, or dataset. Guardrails reduce unsafe outputs, but authorization enforces delegated authority, least privilege, and revocation at execution time through policy checks, scoped tokens, and allowlists.

Q: What should teams log to prove an AI agent action was approved?

A: Teams should log the agent identity, delegated human approver, requested action, target system, policy decision, time, and any token or credential used to execute it. That audit trail proves who authorised the action, what scope was granted, and whether the agent operated within its approved runtime permissions.


Technical breakdown

Why prompt boundaries fail as authorization

A prompt can shape behaviour, but it cannot enforce permission. Large language models are probabilistic systems, so poisoned context, prompt injection, conflicting instructions, or simple model drift can push an agent toward an action the policy never intended. The technical failure is that the instruction layer and the authorization layer are being treated as the same thing. They are not. In a governed design, the prompt describes intent while an external policy engine evaluates identity, scope, and context before execution. See the AI Agent Authorisation Guide.

Practical implication: Separate model instruction from runtime decisioning, and treat prompt text as guidance rather than an access control mechanism.

Action-level guardrails versus content filters

Content filters operate on text, usually around the model call. Action-level guardrails sit after the agent has selected an operation and before the downstream tool receives it. That timing difference is the entire security model: a harmless-looking request can still produce a refund, a configuration change, or a data export. Schema validation helps with shape, but only runtime authorization can decide whether the operation is allowed now. The architecture has to inspect the planned action, not just the words that preceded it. See the AI Agent Observability, Audit and Incident Response Guide.

Practical implication: Place a policy decision point between agent intent and tool execution so unsafe actions can be blocked or escalated before they leave the agent.

Why design-time approval is not enough

Approving an agent at deployment only tells you what it could do in theory. It does not authorize what it is about to do in the current workflow state. AI agents make decisions at runtime, so the effective risk depends on prompt content, retrieved data, tool results, and current transaction context. That is why a scope map and a live decision gate are different controls. One defines the boundary; the other enforces it each time the boundary is crossed. See the Agentic AI Identity Guide.

Practical implication: Use design-time discovery to map reachable tools and operations, then enforce per-action authorization at runtime for every material request.


Threat narrative

Attacker objective: The objective is to use legitimate agent access to carry out business actions that bypass human review and policy intent.

  1. Entry occurs when the agent receives a legitimate prompt and a valid credential or workflow connection, so the request itself does not look suspicious.
  2. Escalation follows when the agent converts that legitimate access into an action the business did not intend, such as a refund, data export, or configuration change.
  3. Impact lands when the downstream system executes the action, leaving an authorized-looking record of a transaction that should have been blocked or escalated.

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

Action authorization has become the real security boundary for AI agents: text safety controls can reduce harmful content, but they do not decide whether an operation may execute. Once an agent can call tools, update records, and trigger workflows, security shifts from language moderation to runtime policy enforcement. Organisations that still treat prompts as controls are governing advice, not behaviour. The practitioner conclusion is simple: permission must sit at execution time, not inside the model.

Least privilege is no longer a static provisioning exercise: agent scope has to be expressed as reachable tools, operations, records, and destinations, not as a broad connection with implied trust. This is especially important because the same credential can authorise far more than the immediate task needs. The named concept here is runtime authorization drift: the gap between the scope approved at design time and the action actually taken at runtime. The implication is that scope must be reviewed as a living execution surface, not a one-time setup artifact.

The assumption that access can be reviewed after the fact breaks under agentic behaviour: traditional review and recertification models assume an action persists long enough to be observed, logged, and challenged. When an agent can acquire, use, and move through privileges within one workflow, the review window may arrive only after the action has already completed. Agent observability and incident response becomes evidence support, not preventive control. The practitioner conclusion is that governance must move upstream to issuance and execution gates.

Human approval is only real when it is embedded in the execution path: policies written in tickets or operating procedures do not stop an agent from calling a tool. The control must hold the action before execution, expose the relevant context to a named approver, and resume only after an explicit decision. That changes how SoD, high-risk approvals, and regulated workflows should be designed. The practitioner conclusion is to govern the operation, not the document describing it.

Replay-ready evidence is now part of the control plane: when an agent acts, defenders need to know which identity delegated authority, which policy applied, which tool was called, and who approved or denied the action. Logs alone are not enough if they cannot reconstruct the decision path. This is a governance problem as much as a detection problem. The practitioner conclusion is to treat decision evidence as an operational control, not an audit afterthought.

From our research library:

What this signals

Runtime authorization drift: once an AI agent can decide, act, and chain tools in a live workflow, the permission boundary drifts away from the document that originally approved access. Security programmes that still centre on static review will miss the moment when the agent actually crosses from allowed intent to executed action.

The operational change is immediate: governance has to move from description to enforcement. That means the agent’s execution path, approval path, and evidence path need to line up, or the programme will keep producing logs after the control failure instead of stopping the failure itself.


For practitioners

  • Map every agent action surface Inventory each agent, tool, operation, data source, and downstream system, then classify which actions are allowed, blocked, or escalated before production use.
  • Enforce runtime authorization before execution Insert a decision point between agent output and tool execution so identity, scope, context, and policy are evaluated on every material action.
  • Separate approval from preparation Hold high-risk actions until a named approver sees the agent, operation, parameters, destination, and policy trigger, then record the decision.
  • Tighten scope to operations, not connections Grant only the specific tools, records, and write actions the workflow needs, and remove broad credential reach that exceeds the task.
  • Capture replay-ready decision evidence Record agent identity, delegated authority, policy, decision, approver, timestamps, and execution path in a tamper-evident log for audit and incident response.

Key takeaways

  • AI agents turn action authorization into the main control problem because prompts can be safe while the resulting tool call is not.
  • A broad connection or valid credential does not equal valid authority when an agent can decide and execute at runtime.
  • The strongest control pattern is to map scope, enforce policy before execution, and record decision evidence at the moment of action.

Related NHI Mgmt Group resources: AI Agent Authorisation Guide · AI Agent Observability, Audit and Incident Response Guide · Agentic AI Identity Guide · Agentic AI Security Guide


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 SP 800-53 Rev 5 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseLangGuard centres on agents acting with broader authority than intended at runtime.
Recommendation — Limit agent privileges at execution time and prevent scope from expanding beyond the approved action surface.
OWASP Non-Human Identity Top 10NHI-04 — Insecure AuthenticationThe post shows why valid credentials do not by themselves prove valid authority for agent actions.
Recommendation — Tie agent authentication to runtime policy checks so credentials cannot authorise unsupported actions.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementThe control problem includes credential use, delegation, and lifecycle across agent workflows.
Recommendation — Manage authenticators so AI agents only receive the minimum credential strength and reach required for the task.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsRuntime access decisions are the core governance issue in the article.
Recommendation — Enforce per-action permissions and entitlements before AI agents execute high-impact operations.
MITRE ATT&CKTA0006;TA0008 — Credential Access; Lateral MovementAgent misuse can turn valid access into broader downstream execution and movement across systems.
Recommendation — Map agent misuse paths to credential access and lateral movement to prioritise detection and containment.

Key terms

  • AI Agents: AI agents are autonomous software entities that act within organisational environments and make runtime decisions within assigned boundaries. They can hold identities, authenticate to systems, and exercise permissions, which makes them comparable to other non-human identities that require inventory, governance, and continuous activity monitoring.
  • Runtime Authorisation: Runtime authorisation is the practice of deciding access while a task is in progress, rather than only at provisioning time. It matters for NHIs because credentials and entitlements can change risk mid-session, especially when automation or AI agents interact with sensitive systems.
  • Least Privilege: A security principle requiring that every identity, human or non-human, is granted only the minimum permissions necessary to perform its function. Least privilege is the single most effective control for reducing NHI blast radius.
  • Segregation of Duties: A control that separates preparation, approval, and execution so one actor cannot perform incompatible steps in a sensitive workflow. In agentic systems, it matters because an agent may be able to prepare an action that should never be allowed to approve or complete itself.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an identity security programme, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on November 9, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org