TL;DR: Agentic AI platforms are expanding from assistants into operational systems that can run commands, access files, and invoke tools, while recent incidents around Claude Skills, Antigravity IDE, and MCP show how quickly trust boundaries can fail, according to AppSOC. The governance problem is no longer model output quality but the identity, privilege, and runtime controls around agents and their tool access.
At a glance
What this is: This analysis argues that agentic AI has become a practical attack surface because agents now hold broad tool and system privileges that attackers can abuse.
Why it matters: It matters to IAM and security teams because AI agents behave like privileged non-human identities, so access scope, provenance, and runtime control now need governance equal to the systems they touch.
By the numbers:
- When AWS credentials are exposed publicly, attackers attempt access within an average of 17 minutes, and as quickly as 9 minutes in some cases.
👉 Read AppSOC's analysis of why agentic AI has become a hacker's shooting gallery
Context
Agentic AI changes the control problem because the system is no longer just producing text. It can execute commands, call tools, read and write files, and move across SaaS and infrastructure environments, which means traditional application and identity controls have to govern actions, not just outputs. In this article, AI agent security is the central issue, and the identity angle is real because agents increasingly behave like privileged non-human identities.
The security gap is familiar even if the technology is new: organisations grant broad trust to extensibility mechanisms, then discover they have no reliable way to bound what those components can do at runtime. That creates a governance problem across IAM, PAM, NHI lifecycle management, and AI security, especially where Model Context Protocol connections or plug-in style skills can reach sensitive systems.
The article’s starting position is now typical rather than exceptional. Once AI systems gain file, network, and command execution rights, the question becomes whether access is discoverable, scoped, and monitored well enough to survive normal attacker behaviour.
Key questions
Q: How should security teams govern AI agents that can access enterprise systems?
A: Security teams should govern AI agents as non-human identities with explicit ownership, scoped privileges, and continuous monitoring. The control set should include inventory, task-bound credentials, audit trails, and revocation paths. If an agent can call tools or touch production systems, it belongs in the same governance model as service accounts and other machine identities.
Q: Why do AI agents create more risk than traditional automation?
A: AI agents create more risk because they can interpret context, choose actions, and invoke tools autonomously. Traditional automation follows fixed rules, but an agent can be manipulated into using its own authority in unintended ways. That makes permission scope, tool boundaries, and monitoring more important than model accuracy alone.
Q: What breaks when prompt injection reaches a tool-using AI agent?
A: What breaks is the assumption that the model's output is low impact. Once the agent can call tools, a malicious instruction can become a database query, a file write, an email, or a deployment action. Without policy checks and approval gates, the agent's legitimate permissions become the attacker's path to impact.
Q: Who is accountable when a compromised AI agent misuses delegated access?
A: Accountability usually spans the business owner of the workflow, the team that issued or approved the credential, and the vendor if a third-party integration was involved. The critical governance question is not who logged in, but who allowed the delegation chain to exist and remain valid. That chain must be documented before incidents occur.
Technical breakdown
Why agentic AI behaves like a privileged runtime surface
Agentic systems are different from chatbots because they can initiate actions, not just recommend them. Once an agent can invoke tools, write files, or run shell commands, the security model shifts from content moderation to executable authority. That makes every connected tool, skill, browser extension, or MCP endpoint part of the attack surface. In practice, the risk is not only prompt injection. It is authority injection, where untrusted instructions inherit the agent’s granted permissions and turn into real operations across cloud and endpoint environments.
Practical implication: Treat agent runtimes as privileged execution environments and inventory every connected tool before permitting production access.
How prompt injection becomes system injection in agent workflows
Prompt injection matters in agentic systems because the hidden instruction can steer a model toward tool use, not just bad text. If the agent trusts content in a document, repository, ticket, or web page, that content can alter its action path and trigger file deletion, credential exposure, or malicious code execution. The critical failure is the collapse of the separation between untrusted input and trusted instruction. In a tool-using system, the agent’s decision layer and the environment it controls are no longer safely isolated.
Practical implication: Filter untrusted content before it reaches tool-enabled agents and constrain which inputs can influence execution decisions.
Why MCP and plug-in ecosystems create identity and access risk
MCP-style ecosystems expand capability by letting agents discover and use external tools through standard interfaces. That flexibility is useful, but it also creates a trust problem: if a malicious server, skill, or extension can register as a legitimate tool provider, the agent may accept it as authorised. At that point, the issue becomes identity of the tool source, integrity of the connection, and privilege attached to the session. For IAM teams, this looks like unmanaged non-human identity sprawl with dynamic trust relationships and weak lifecycle controls.
Practical implication: Require provenance, lifecycle oversight, and privilege review for every agent tool connection before it reaches production.
Threat narrative
Attacker objective: The attacker wants to convert trusted agent functionality into unauthorised execution, credential exposure, or destructive system control.
- Entry occurs when attackers hide malicious logic inside a Skill, MCP endpoint, browser extension, or repository content that an agent already trusts.
- Escalation follows when the agent executes that content with its inherited file, network, or shell privileges and turns the payload into active system control.
- Impact occurs when the agent deletes data, exposes credentials, or performs unauthorised actions across connected systems at machine speed.
NHI Mgmt Group analysis
Agentic AI has crossed from application risk into identity governance risk. Once a system can act, every agent, skill, and tool connection functions like a non-human identity with permissions, session boundaries, and lifecycle obligations. That means IAM and PAM teams cannot treat agentic platforms as generic software features. They need ownership, scope, and revocation paths that match the authority those systems hold.
Trust the plug-in is becoming the new default failure mode. The article’s examples show that many agent ecosystems inherit the browser-extension era’s weakness: portable components with broad access and weak scrutiny. The named concept here is agent trust boundary collapse: a condition where untrusted content, third-party tools, and execution rights merge into one decision path. Practitioners should read that as a control design problem, not just a product risk.
MCP governance now sits at the centre of AI-to-system access control. A standard tool protocol is useful only if the identity of the tool provider, the privilege of the session, and the scope of the action are all governed. Otherwise, the protocol becomes a scaling mechanism for shadow AI and uncontrolled delegation. The correct response is lifecycle control for tool identities, not just model policy.
Runtime controls matter more than policy statements once agents can execute. The article shows that permissions granted at install time or connection time are not enough if the agent can later be steered into harmful action. Visibility into tool use, command issuance, and data access must be continuous, because static approvals do not stop dynamic abuse. Practitioners should assume that auditability, not aspiration, is the real boundary.
The market is moving toward security for the AI-enabled application stack, not just the model. That shift aligns with how enterprise platforms are actually being built, where models, tools, and workflows are converging. Security programmes that still separate application risk from AI risk will miss the integrated attack path. Teams should unify AppSec, AI security, and identity governance under a single operational model.
What this signals
Agent trust boundary collapse: security teams should expect AI agent governance to merge with identity governance, because tool-using systems now hold delegated authority rather than simple application functionality. That means owners need to track the agent, the tool source, and the session boundary together, using the NIST AI Risk Management Framework and the OWASP Agentic AI Top 10 as practical references.
The operational signal is that discovery will matter as much as policy. If teams cannot enumerate every agent, skill, and MCP connection, they cannot reliably enforce least privilege or prove containment after an incident. That is why agent inventories should become part of access governance, not an AI side project.
As AI systems absorb more business workflow, the control model has to shift from static approval to runtime observability. Organisations that already struggle with service account sprawl will recognise the pattern immediately, but the blast radius is larger because agents can act, adapt, and chain actions in one session.
For practitioners
- Inventory every agent and tool connection Map all agents, skills, MCP servers, browser extensions, and IDE integrations that can reach production data or systems, then assign an owner and expiry path for each. This is the minimum requirement for governing agent identity sprawl.
- Restrict inherited privileges for agent runtimes Remove broad file-system, shell, and network permissions from default agent configurations, and force each tool use through explicit scope checks. Where the agent can act on behalf of a user, treat the session like a privileged non-human identity.
- Separate untrusted content from execution paths Block repository files, tickets, documents, and web content from directly influencing tool execution unless they pass a trust check. This reduces prompt injection turning into system injection across agent workflows.
- Monitor runtime behaviour continuously Log which tools agents invoke, which commands they issue, and what data they access, then alert on deviations from expected task scope. Static approvals are not enough once actions happen in real time.
- Apply lifecycle controls to tool identities Require review, revocation, and rotation for every external tool provider or MCP connection, especially where the agent can reach sensitive systems. A trusted interface without lifecycle governance becomes an unmanaged access path.
Key takeaways
- Agentic AI is no longer just a model-risk issue because tool access turns assistants into privileged execution surfaces.
- The evidence points to a widening governance gap, with most organisations planning more deployment even as many agents already act outside intended scope.
- Security teams need discovery, lifecycle control, and runtime monitoring for AI agents before those systems become another unmanaged identity estate.
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 MITRE ATLAS address the attack and risk surface, while NIST AI RMF, NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | NHI-01 | The article centres on agent tool abuse, prompt injection, and privilege misuse. |
| MITRE ATLAS | TA0006 , Credential Access; TA0008 , Lateral Movement | The attack paths include credential theft, tool hijacking, and movement across connected systems. |
| NIST AI RMF | GOVERN | Agent governance, ownership, and accountability are central to the article's argument. |
| NIST CSF 2.0 | PR.AC-4 | Least-privilege access and entitlement control are core to reducing agent blast radius. |
| NIST SP 800-53 Rev 5 | AC-6 | The article repeatedly points to excessive privileges and weak scoping of delegated actions. |
Assign governance ownership for AI agents and require documented accountability for permissions and use.
Key terms
- Agentic AI: Autonomous AI systems capable of planning, deciding, and taking actions — including calling APIs, writing code, and orchestrating other agents — with minimal human oversight. Agentic AI introduces new NHI risks as agents must authenticate to external services.
- MCP: Model Context Protocol, an open way for AI agents to connect to tools and data sources. It improves interoperability, but it also introduces a shared integration layer that must be governed carefully because the protocol can widen access across many systems at once.
- Tool Identity: Tool identity is the provenance and trust relationship attached to a tool, skill, extension, or endpoint an agent can use. It matters because an agent may treat a malicious provider as legitimate unless the organisation governs who can register, update, or revoke that connection.
- Agent Trust Boundary Collapse: A failure mode where untrusted content, connected tools, and execution rights merge into a single decision path. Once that happens, prompt injection or malicious tool registration can produce real actions, turning the agent into a conduit for unauthorised system behaviour.
What's in the full article
AppSOC's full article covers the operational detail this post intentionally leaves for the source:
- Specific examples of how Claude Skills, Antigravity IDE, and MCP-style integrations were abused in practice.
- The exact attack mechanics behind the ransomware, drive-wipe, and browser takeover scenarios discussed in the article.
- PointGuard AI's discovery, posture, and runtime-observability approach for agentic environments.
- The article's framework mapping across OWASP, MITRE ATLAS, and NIST AI RMF.
Deepen your knowledge
The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, secrets management, and agentic AI identity. It gives security and identity practitioners a practical foundation for governing delegated access across modern systems.
Published by the NHIMG editorial team on August 15, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org