BeyondTrust - Secure Remote Access and Privileged Access Management

Why "AI Coworkers" Make AI Agent Identity Governance Essential on Endpoints

For security leaders, the rise of AI coworkers presents a growing identity governance challenge on endpoints. According to research from BeyondTrust Phantom Labs™, AI agents operating inside enterprise environments have increased by 466.7% year-over-year. Employees want the productivity benefits, and development teams are already using AI agents to generate code, automate workflows, and execute commands directly from their workstations. But as with any new technology, these tools are being adopted far faster than governance policies can keep up. And without enforcement, AI agent identity governance risks becoming little more than the appearance of control.

These emerging tools – often described as “AI coworkers” – are quickly becoming embedded in day-to-day workflows, bringing both significant productivity gains and new operational risks.

The result is a familiar tension between innovation and control. Security teams are basically being asked to solve three challenges simultaneously:

  • How to enable AI-driven productivity without compromising governance or auditability

  • How to protect endpoints from the unintended consequences of AI-generated actions

  • How to prevent unapproved AI agents from spreading across the environment

While these challenges extend beyond the endpoint, effective governance depends, in part, on strong control over how actions are executed locally. This is because when AI agents run on endpoints, they operate within the same privilege model that governs all other processes, tasks, and applications.

How AI Agents Inherit User Identity and Privileges

AI agent identity governance starts with understanding how modern AI tools inherit user identity and privileges on the endpoint. These tools are rapidly evolving from passive assistants into active agents — that is, from LLM chat-based tools that can act as research collaborators into local agents that can do things independently and take actions on the endpoint (and beyond): like generating and executing code, invoking shells, spawning processes, manipulating repositories, modifying files, interacting with development environments, and even reaching into cloud services.

From a productivity perspective, this is transformative. From a security perspective, it changes the nature of execution on the endpoint.

The reason is straightforward: AI agents don’t have any special privileges. They run under the same identity (and therefore the same privileges) as the user who launched them. The operating system doesn’t distinguish between commands issued by a human and those generated by an AI tool. If a user has the privilege to perform an action, the agent inherits that privilege.

The key point is this: AI amplifies existing privilege exposure – accelerating how quickly those privileges can be used – while also introducing new attack paths and associated risks.

Why AI Agents Increase Execution Risk

AI agent security strategies must account for the speed at which modern AI tools can generate and execute actions. Unlike traditional workflows where a human reviews each command before execution, AI tools generate entire scripts and instantly execute them. They often chain together interpreters, build tools, and shell commands in rapid succession.

A single instruction, in fact, could trigger processes that would modify configuration files, launch development tools, execute build pipelines, invoke command-line utilities, and interact with cloud infrastructure. Each process could then spawn additional subprocesses, all operating under the same level of privileges. This cascading execution model means a single AI-generated instruction could initiate dozens of system actions in seconds.

It’s also important to note that, in some scenarios, AI tools may aggressively pursue an outcome — leading to unexpected behaviors or alternative execution paths. When this happens, the system ultimately falls back to what is allowed within the user’s privilege context, reinforcing the need to right-size permissions.

Real-world experiences are already illustrating this dynamic. For example, developers experimenting with AI coding agents have reported situations where an agent executed changes before the user had the opportunity to approve them. In fact, after several costly outages linked to AI-assisted code changes, Amazon introduced a policy requiring explicit approval for certain AI-generated modifications before deployment. In other words, automation began operating faster than governance processes were designed to handle.

And things only get worse when excessive privileges are in place, because then the potential blast radius expands exponentially.

Why Excessive Privilege Increases AI Agent Risk

Of course, security teams have long recognized the risks of standing admin rights. And this is because those privileges dramatically expand what processes can be modified on a system, meaning small execution errors can quickly become system-wide changes. AI agents increase this risk significantly by increasing both the volume and the speed of execution.

For example, an agent may generate multiple scripts, retry failed operations, or iterate through variations of a command. If each attempt runs with administrative privileges, the cumulative impact grows rapidly — turning small errors into system-wide impact.

In one widely reported case, an AI agent managing email automation removed hundreds of messages after earlier constraints were lost during context handling. When confronted, the system simply acknowledged the mistake and apologized, but only after the damage had been done. In other words, once guardrails were no longer present, the agent operated within the full scope of its available privileges.

So while AI doesn’t create privilege sprawl, it definitely amplifies it in ways that can be difficult to predict or control.

How to Contain AI Agent Risk with Least Privilege

Containing AI agent risk starts with shifting from prevention alone to least privilege and controlled execution. Simply blocking AI tools is unrealistic. Developer ecosystems distribute some agents, and package managers install others presenting as legitimate workflows. Security teams want to support experimentation while maintaining governance. This shifts the problem from prevention to containment.

So the key question becomes: When a specific AI agent runs, what can it potentially modify? This means a well-governed endpoint environment must enforce boundaries that autonomous processes cannot cross. And those boundaries should protect things such as operating system directories, security configurations, system services and drivers, endpoint protection settings, credential stores, and of course all sensitive data.

Because when an AI agent executes locally, it should never be able to alter critical system components without explicit authorization. This is the foundation of a containment model that protects the integrity of the endpoint while still allowing legitimate automation.

Least Privilege Is the Enforcement Boundary

The most effective way to enforce these boundaries is nothing new: implementing the principle of least privilege through controlled, policy-based enforcement. When users operate as standard users by default, both humans and AI agents are constrained by the same protections, and any attempt to perform privileged actions requires governed elevation.

With the right enforcement in place, this ensures AI agents can’t silently modify protected system components, privileged actions require explicit authorization, child processes don’t inherit unnecessary permissions, and security-sensitive changes remain visible and auditable. Least privilege doesn’t block AI innovation — it defines the boundary within which that automation can safely operate.

How Endpoint Privilege Management Controls AI Agents

BeyondTrust Endpoint Privilege Management (EPM) helps organizations control AI agents by enforcing least privilege on the endpoint. Because beyond privilege control, organizations must also maintain governance over the AI tools themselves.

For example, security teams need to:

  • Control which applications are allowed to run: Approved AI tools can be permitted while preventing unknown or unapproved agents from executing.

  • Constrain child process behavior: AI agents frequently launch shells, interpreters, and build tools; these subprocesses must remain governed by policy.

  • Enforce controlled elevation: Privileged actions should occur only when explicitly approved and audited.

  • Maintain visibility into automated execution: Security teams need audit trails and process lineage to understand what actions occurred and how they were triggered.

These controls allow organizations to enable AI-driven productivity without sacrificing oversight. For example, organizations can apply policy to specific AI tools and their behavior on the endpoint. An approved agent such as Claude Code can be allowed to run while other unapproved tools are blocked entirely. At the same time, rules can constrain how that agent operates—for instance, ensuring any child processes it spawns run without elevated privileges or restricting access to sensitive system resources. This allows security teams to enable AI tooling while tightly controlling what those tools can actually do.

The following example illustrates how this plays out in practice:

Enforcing an Agentic AI Governance Framework with Endpoint Privilege Management

Enforcing an agentic AI governance framework with endpoint privilege management shifts the challenge from adoption to control as AI agents become embedded in the modern endpoint. Security teams no longer question whether these tools will appear, but how they will govern them.

In many environments, that challenge is well underway. Alongside formal AI initiatives, “Shadow AI” is rapidly emerging: tools adopted directly by end-users without security oversight or centralized control. Before governance can be enforced, however, organizations first need to understand what is already running across the estate.

Endpoint Privilege Management addresses the most critical part of that problem: privilege. Because where end-users operate with excessive privilege, AI increases the potential blast radius. Standing administrative rights remain a primary point of exposure and removing them is one of the most effective steps organizations can take to reduce risk.

Endpoint Privilege Management can enforce this control at scale by eliminating standing privilege and applying policy-based access when needed. In doing so, it provides practical guardrails for both users and AI agents by:

  • Enforcing least privilege execution – ensuring AI tools run in a standard-user context by default, with no standing administrative rights

  • Controlling exactly what can run – applying policy to govern precisely which applications, scripts, and interpreters are allowed to execute

  • Constraining behavior and blast radius – limiting privilege escalation and controlling how processes spawn and interact with the underlying system

These controls are directly applicable to AI tooling today. They allow organizations to constrain how AI agents execute, what they can access on the endpoint, and how far their actions can extend, regardless of how those tools were introduced into the environment.

Endpoint Privilege Management provides a practical way to address the privilege risks introduced by AI agents on the endpoint. By controlling execution, privilege elevation, and access to sensitive system resources, organizations can apply meaningful guardrails to AI tooling while limiting risk without slowing adoption.

And while this blog focuses on enforcing least privilege on the endpoint, the same principle applies across cloud and SaaS environments, where standing access to systems and data can be equally exposed to AI-driven actions. Addressing that layer requires extending privilege controls beyond the endpoint.

Because the foundation for governing AI doesn’t change: remove unnecessary privilege, enforce least privilege by default, and ensure that every action – human or AI – is bounded by policy.

Ready to address the AI privilege risks on your endpoints?

If you are attending RSAC 2026, visit BeyondTrust at Booth #S-1327 to see our live demo, or click here to request a demo of Endpoint Privilege Management today.

About Our Authors
Thumbnail image001

James Allan

Staff Product Manager

Since 2015, James has worked in product teams across various industries. At BeyondTrust, he currently works as a Product Manager specializing in Privilege Management for Windows and Mac. James loves to engage with stakeholders, and enable engineering to solve real-world problems.

Don Hoffman Headshot 2024

Don Hoffman

Sr Product Marketing Manager

Don Hoffman is a Senior Product Marketing Manager at BeyondTrust, specializing in Endpoint Privilege Management. Before joining BeyondTrust, he gained extensive international experience in product marketing, working with both large cybersecurity firms and innovative startups. He has also held leadership roles across the CMS, IoT, and e-commerce sectors. Don is passionate about the art of storytelling in marketing, creating messages that connect on both technical and personal levels—a skill he also brings to his work as a professional opera singer.