By NHI Mgmt Group Editorial TeamBased on Akto: “Enterprise AI Guardrails for LLM and AI Agent Security” (June 1, 2026)

TL;DR: AI guardrails govern input, output, and system behaviour across LLMs and AI agents, while runtime enforcement blocks prompt injection, tool misuse, and data leakage as agents gain access to emails, databases, code execution, and external services, according to Akto. The governance gap is no longer model quality alone but whether policy and privilege boundaries exist where AI systems actually act.


At a glance

What this is: Akto argues that enterprise AI guardrails are moving into runtime identity control territory, because agentic systems now need policy enforcement at the point of action.

Why it matters: This matters because IAM, PAM, and AI security teams need to govern what agents can do, not just what models can say, especially when tools and data sources are in scope.


Context

AI guardrails are controls that sit between an AI system and the actions or outputs it produces. In practice, the governance problem is no longer limited to model behaviour at inference time. Once an LLM or agent can read email, query databases, call tools, or trigger external services, it becomes an access-control problem as much as a model-safety problem.

That shift matters for IAM, PAM, and NHI governance because the operating unit is no longer just a user session or service account. The article frames agentic AI as a system that can behave like a privileged non-human actor unless boundaries, logs, and authorisation checks are enforced at runtime.


Key questions

Q: How should security teams govern AI models that can call tools and access data?

A: Security teams should govern AI models as non-human identities with named owners, limited scope, short-lived credentials, and continuous authorization. The critical shift is to treat every tool call, data read, and update path as a privileged action that can be logged, revalidated, and revoked. Without that discipline, model risk becomes identity risk.

Q: Why do prompt injections turn AI agents into a higher-risk identity problem?

A: Because the agent does not just produce text, it operates through a real runtime identity with service accounts, secrets, and network reach. Once the prompt is hijacked, the attacker inherits that identity’s permissions and can use legitimate paths to access internal systems. That is why authorisation scope and workload identity become central controls.

Q: What are the signs that AI guardrails are not keeping up with runtime demands?

A: Common signs include selective deployment, inconsistent moderation outcomes across environments, growing exception lists, and teams routing around controls to protect latency. If a guardrail only works in pilot conditions, it is not production-ready. The test is whether it remains effective when the system is under real traffic and mixed inputs.

Q: What should organisations do when AI systems can send emails or write to databases?

A: Treat those capabilities as delegated actions with explicit approval boundaries, logging, and review. Once an AI system can act in the environment, red teaming must test how it can be steered into using those permissions in unsafe ways. The question is not just what it generates, but what it can cause to happen.


Technical breakdown

How runtime guardrails enforce policy at the point of action

Runtime guardrails are controls that inspect prompts, tool calls, outputs, and context while an AI system is actively executing. They differ from training-time alignment because they evaluate live behaviour after deployment, when agents are already connected to data sources and workflows. In this model, the guardrail is not just content filtering. It is a policy enforcement point that can block a tool call, suppress sensitive output, flag anomalous behaviour, and record what happened for later review. That makes runtime guardrails operationally closer to identity enforcement than to classic text moderation.

Practical implication: Treat runtime guardrails as an access-control layer for AI actions, not just a safety filter for model responses.

Why prompt injection becomes an authorisation problem

Prompt injection works because the model processes untrusted text as if it could influence trusted instructions. When that text comes from web pages, documents, or retrieved content, the attack can override intended behaviour without malware or authentication bypass. The article also shows why this is an identity issue: if an agent can act on behalf of a user or business process, malicious instructions can redirect that authority into unintended data access or disclosure. The control failure is not only bad prompting. It is the absence of strict separation between instructions, content, and permission scope.

Practical implication: Separate trusted policy from untrusted content and validate every agent action against scoped authorisation before execution.

How tool-use scope turns AI agents into governed identities

Agentic systems are different from standalone LLMs because they can call tools, read records, and trigger actions across systems. That means the real security question is not whether the model can generate harmful text, but whether it can use delegated capability outside its intended scope. Tool call authorisation, role-based restrictions, usage monitoring, and audit logging are therefore part of the agent's operational identity model. Without them, the agent behaves like a highly privileged service account with no meaningful boundary on what it may invoke. This is where NHI governance and AI security converge.

Practical implication: Define each agent's tool permissions as a lifecycle-managed identity policy with explicit scope, logging, and revocation.


Threat narrative

Attacker objective: The attacker wants to convert the agent's delegated authority into data exposure, policy bypass, or unsafe downstream action without needing to compromise infrastructure directly.

  1. Entry occurs when a malicious prompt, document, or retrieved page injects instructions into the AI system's context.
  2. Credential or privilege abuse follows when the agent accepts the instruction and applies its delegated access to tools, emails, or databases.
  3. Impact occurs when the agent exposes confidential data or performs unintended actions through its own authorised interface.

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

Runtime guardrails are becoming identity controls for AI systems. Once an agent can read, retrieve, and act, the control question shifts from model quality to delegated authority. That means the meaningful security boundary is the runtime policy check, not the prompt alone. For practitioners, this is the point where AI safety and IAM governance start to overlap.

AI agents create a policy gap that traditional application controls were never designed to close. Access reviews and static allow lists assume a stable identity and predictable usage pattern. Agentic workflows are dynamic, context-driven, and often chained across tools, so the real failure is not just excess permission, but permission evaluated too late. Practitioners need a policy model that can see the action before it becomes execution.

Prompt injection is a trust-boundary failure, not just a model jailbreak. The article's most important insight is that untrusted content can become instruction if the runtime does not preserve separation between content, policy, and execution. That is why the security problem belongs in the same conversation as NHI governance: the agent is acting as a non-human identity with delegated power, and the boundary must be enforced where that power is used.

Shadow AI turns runtime control into a discovery problem as well as an enforcement problem. If unmanaged agents, browser extensions, or MCP integrations sit outside governance, the organisation cannot enforce privilege boundaries consistently. Control design therefore has to start with inventory, then continue through authorisation, monitoring, and revocation. The practitioner conclusion is straightforward: you cannot govern what you have not discovered.

Named concept: runtime identity boundaries. This article describes a control shift in which AI safety depends on defining and enforcing what an agent may do at the moment it acts. That makes runtime identity boundaries the decisive governance layer for agentic AI. Practitioners should treat agent privilege, tool scope, and auditability as one control plane.

From our research library:

What this signals

Runtime identity boundaries: agentic AI changes the control point from model output to authorised action, which means security teams need to govern tool scope, data access, and revocation as one policy surface.

AI guardrails will keep converging with NHI governance because a capable agent is operationally a delegated identity with dynamic privilege. If the organisation cannot inventory, authorise, and log that identity cleanly, it cannot claim the system is controlled.


For practitioners

  • Define each agent's runtime privilege boundary Map every AI agent to the exact tools, data sources, and actions it may use, then remove implicit access that is not required for the task.
  • Separate untrusted content from trusted instructions Treat retrieved documents, user prompts, and tool outputs as untrusted inputs that must not override system policy or access scope.
  • Log every agent action and policy decision Record permitted, blocked, and flagged tool calls so SOC and IAM teams can investigate misuse, drift, and unexpected behaviour.
  • Inventory shadow AI and hidden integrations Discover unmanaged agents, browser extensions, and MCP integrations before they expand access paths outside governance.

Key takeaways

  • AI guardrails are no longer just safety filters for text generation. In production agentic systems, they are runtime controls that shape what the system can access, call, and reveal.
  • The most important failure mode is not only malicious prompts but untrusted content crossing into trusted execution. That boundary problem is why guardrails now belong in identity and access discussions.
  • Practitioners should govern agents as non-human identities with explicit tool scope, audit logging, and revocation. Without those controls, autonomy expands faster than accountability.

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

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseThe article centres on agents overstepping delegated scope and misusing tool access.
ASI02 — Tool MisusePrompt injection and unsafe tool calls are central to the article's runtime threat model.
ASI07 — Insecure Inter-Agent CommunicationThe article highlights chained workflows where untrusted inputs can flow between agents.
Recommendation — Apply ASI03 to constrain each agent's allowed actions, tools, and escalation paths. Map agent tool calls to ASI02 and block any execution outside approved tool scope. Inspect inter-agent data paths for ASI07 and isolate untrusted context before forwarding.
NIST AI RMFGOVERN — AI Governance and AccountabilityThe piece is about governance controls that make AI behaviour accountable in production.
Recommendation — Establish governance for AI runtime policies, logging, and human oversight under GOVERN.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsThe article treats agent behaviour as a permissions problem at execution time.
Recommendation — Apply PR.AA-05 to enforce least-privilege authorisation for AI agent actions and tool access.

Key terms

  • Runtime Guardrail: A control applied while an AI agent is operating, not just during configuration or review. Guardrails can block dangerous tool calls, require approval for sensitive actions, or stop data leakage before it reaches systems or users.
  • Prompt Injection (Agentic): An attack where malicious instructions are embedded in content that an AI agent reads, causing the agent to execute unintended actions using its own legitimate credentials. A primary vector for agent goal hijacking and identity abuse.
  • Tool-Call Authorisation: Tool-call authorisation is the practice of making each agent action request a distinct security decision. Instead of granting broad access to the agent process, the system evaluates the specific tool, inputs, role, and context before execution, which creates a reviewable control boundary.
  • Shadow AI: AI agents, copilots, or connected tools operating without full visibility or governance from security teams. Shadow AI becomes an identity problem when those systems authenticate with unmanaged tokens, service accounts, or OAuth apps that can reach production resources.

Deepen your knowledge

NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, and agentic AI identity for practitioners who need to control delegated access. It helps teams connect identity policy to the runtime control challenges raised by agentic systems.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 2, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org