By NHI Mgmt Group Editorial TeamBased on Clutch Security: “Demystifying Agentic AI: You're Defending The Wrong Thing” (October 21, 2025)

TL;DR: Agentic AI security is really an identity and access problem, because runtime action requires credentials, and credentials expose organisations to either unmanaged shadow AI or governed enterprise and SaaS agents, according to Clutch Security. The critical mistake is treating all agentic systems the same when the real divide is between external threat and managed asset, which changes the control model entirely.


At a glance

What this is: This is an analysis of why agentic AI security is really an identity governance problem, with shadow AI, SaaS agents, and enterprise agents requiring different controls.

Why it matters: IAM teams need to separate unmanaged AI infrastructure from governed AI assets, or they will apply the wrong controls to the wrong identity model and miss where credentials are actually exposed.


Context

Agentic AI is software that can decide and act at runtime, but it only becomes operational when it receives credentials and permissions. That makes the governing question an identity one: who or what is allowed to act, under which scope, and with which lifecycle controls.

The article argues that the industry is collapsing three different patterns into one label. Shadow AI is unmanaged third-party code with ambient credentials, SaaS agents are external services with delegated access, and enterprise agents are internal assets that should sit inside the organisation's governance model.


Key questions

Q: How do security teams spot shadow AI created by reused credentials?

A: Look for long-lived secrets copied into SaaS setup wizards, duplicated across tools, or embedded in pod variables and Helm charts. Those patterns usually indicate an unmanaged AI workflow with unclear ownership and weak revocation paths. Discovery should focus on reused credentials first, because reuse is what turns a local convenience into an enterprise blind spot.

Q: Why are enterprise agents governed differently from SaaS agents?

A: Enterprise agents are internal assets with explicit provisioning, monitoring, and revocation, while SaaS agents are delegated access on external infrastructure. That changes who owns the identity, where the risk is inspected, and how access is terminated. Teams should not apply one generic AI control model to both because the accountability structure is different.

Q: What breaks when developers can install AI tools with ambient access?

A: The assumption that access only becomes risky after formal provisioning breaks down. Ambient access means a third-party tool can inherit secrets that were meant for the developer, not the tool, and then act with those privileges outside the normal inventory and approval flow. That creates an identity control gap before any AI-specific behaviour matters.

Q: Should organisations prioritise governance for managed agents or perimeter defence against shadow AI?

A: They need both, but for different reasons. Managed enterprise and SaaS agents need governance because they are sanctioned identities, while shadow AI needs perimeter defence because it is unvetted code that can inherit credentials without approval. The mistake is treating them as the same risk class and spending controls in the wrong place.


Technical breakdown

Why agentic AI becomes an IAM problem

An AI agent is not just a model that can talk. It becomes an actor only when it can authenticate, receive authorisation, and use credentials to touch systems or data. That means the meaningful unit of control is not the prompt or the model, but the non-human identity behind the action. When that identity is implicit, as with ambient developer credentials, the security boundary shifts from the application to the credential context. In practice, the governance question is whether the identity was deliberately provisioned, scoped, and monitored before runtime action began.

Practical implication: Treat runtime action as an identity event and govern credential issuance before the agent can act.

Shadow AI and MCP servers as credential-exposure paths

Shadow AI in this article is not a managed deployment problem. It is unsanctioned infrastructure, often delivered through MCP servers, that inherits a developer's existing environment and therefore gains whatever secrets and tokens are already present. Because the code is installed quickly and externally sourced, the risk is not only malicious behaviour but unreviewed access to ambient credentials such as cloud keys, database passwords, and API tokens. Traditional monitoring often misses this because every individual component looks legitimate in isolation.

Practical implication: Assume any unvetted MCP-style component with ambient access can expose NHI secrets unless it is isolated from production credentials.

Enterprise and SaaS agents need governance, not perimeter defence

The article separates managed enterprise agents from third-party SaaS agents because they sit under different control models. Enterprise agents are internal assets with explicit provisioning, architecture review, and monitoring, so the challenge is scoping and lifecycle governance. SaaS agents are externally operated services, so the challenge is vendor risk, delegated access, and contractual assurance. The technical mistake is to apply the same defensive posture to both. Their identities, privilege boundaries, and revocation paths are different, so the controls must be different too.

Practical implication: Map each agent type to its own governance path before you design approval, monitoring, or revocation controls.


Threat narrative

Attacker objective: The attacker wants to harvest production credentials through trusted developer workflows and use them to access systems or data without triggering immediate suspicion.

  1. Entry occurs when a developer installs unsanctioned MCP-style infrastructure that runs third-party code in a local environment with existing credentials.
  2. Credential access follows when the server inherits ambient access to cloud keys, .env files, registry tokens, or database passwords already present on the machine.
  3. Escalation happens when the agent uses those credentials to reach production systems, APIs, or data sources under the developer's legitimate context.
  4. Impact is credential exposure at scale, because a productivity tool can silently exfiltrate secrets while appearing to perform ordinary work.
  • Toyota T-Connect key exposure 2022: A subcontractor left a T-Connect server key on public GitHub from 2017 to 2022; 296,019 customers' emails were exposed, misuse unknown.
  • Dropbox Sign breach 2024: A compromised back-end service account gave attackers Dropbox Sign customer data, including API keys, OAuth tokens and MFA information.

Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Agentic AI security is really an IAM governance problem, not an AI novelty problem. The decisive question is whether a runtime actor has credentials, scope, and revocation paths. Once that is true, the control model shifts from model behaviour to identity lifecycle and authorisation governance. Practitioners should classify the actor before they classify the risk.

Shadow AI is a credential-exposure problem disguised as a productivity problem. Unsanctioned MCP-style tooling can inherit ambient developer credentials without ever becoming a managed identity in the enterprise inventory. That breaks the assumption that access is only dangerous when it has been formally provisioned. Practitioners should treat unvetted code with ambient credential access as an identity boundary failure.

Managed enterprise agents and third-party SaaS agents are different governance objects. One is an internal asset with explicit provisioning and revocation control, the other is delegated access on external infrastructure. That difference determines who owns the identity, who can inspect the behaviour, and who can terminate access when risk changes. Practitioners should stop forcing both into one control pattern.

Shadow AI creates a new named concept: ambient credential inheritance. The article shows that an MCP server does not need its own service account to become dangerous; it can inherit the operator's existing secrets and act inside that trust zone. That makes inventory, approval, and separation of duties more important than model capability. Practitioners should govern the inherited access path, not just the tool.

Agency without identity is not a security category yet. The article is correct to insist that an agent without credentials is just a chatbot. The governance failure begins when organisations allow runtime action while pretending the identity layer can be handled later. Practitioners should align AI adoption with identity design from the first deployment, not after the first incident.

From our research library:

What this signals

Ambient credential inheritance: The most dangerous agentic AI deployments are not always the most capable ones, but the ones that can reuse existing developer credentials without becoming visible as separate identities. That shifts security attention from model choice to where secrets already live and who can reach them.

The programme implication is clear: inventory and policy have to separate unsanctioned AI tooling from sanctioned enterprise agents before identity reviews, access approvals, and revocation workflows can be meaningful. If those categories are collapsed, governance becomes performative and shadow AI keeps operating outside the control plane.


For practitioners

  • Classify agentic AI by ownership first Separate shadow AI, SaaS agents, and enterprise agents in your inventory so that each receives the right control model, review path, and revocation process.
  • Block ambient credential inheritance Prevent unsanctioned MCP-style tooling from reaching production secrets, local cloud tokens, database passwords, or registry credentials on developer endpoints.
  • Scope third-party AI access explicitly Review every SaaS agent and external AI service as a delegated identity with minimum necessary permissions, documented purpose, and a clear offboarding path.
  • Govern enterprise agents as internal assets Tie AI agent provisioning to architecture review, monitoring, and access approval so runtime behaviour stays inside your existing identity governance model.

Key takeaways

  • Agentic AI becomes an IAM governance issue the moment software can act with credentials, because runtime access is the real control boundary.
  • Shadow AI is the highest-risk pattern in the article because it can inherit ambient developer secrets without entering the enterprise identity inventory.
  • Enterprise agents and SaaS agents should be governed separately, because ownership, visibility, and revocation differ in each model.

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 OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseThe article centres on agent identities, delegated privilege, and runtime action through credentials.
Recommendation — Map agent access paths to ASI03 and constrain privilege before runtime action begins.
OWASP Non-Human Identity Top 10NHI-04 — Insecure AuthenticationAgent action depends on credentials, and the article focuses on how those credentials are obtained and reused.
NHI-05 — Overprivileged NHIThe article warns that both shadow AI and managed agents can receive broader access than their task requires.
NHI-03 — Vulnerable Third-Party NHISaaS agents and third-party MCP tooling introduce external identity risk through delegated access and unvetted code.
Recommendation — Review NHI authentication paths so agents cannot inherit or reuse credentials outside their intended scope. Reduce agent permissions to the minimum task scope and remove standing access wherever possible. Assess third-party AI identities as external NHI dependencies before granting access to production systems.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsThe article is fundamentally about who gets credentials and how their scope is governed.
Recommendation — Use PR.AA-05 to enforce least-privilege authorisation for every agentic AI identity.

Key terms

  • 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.
  • Ambient Credential Inheritance: Ambient credential inheritance is the accidental reuse of credentials already present in a user or developer environment. It is risky because a new tool can gain access without being provisioned as a distinct identity, which bypasses normal scoping, review, and revocation controls.
  • Managed Agent: A managed agent is a software identity that performs tasks on behalf of an organisation and must be governed like any other non-human identity. In practice, it needs an owner, a defined access scope, and reviewable entitlements so its actions can be traced and controlled.
  • SaaS AI Agent: A SaaS AI agent is an autonomous or semi-autonomous agent embedded in or connected to a software-as-a-service environment. It can interact with data, permissions, and workflows across cloud applications. The governance challenge is that its actions may span multiple business systems while remaining difficult to trace end-to-end.

Deepen your knowledge

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