TL;DR: Shadow AI extends well beyond unapproved apps into unmanaged accounts, embedded SaaS features, coding agents, MCP servers and autonomous agents that can expose sensitive data and complicate investigations, according to Ovalix. Inventory is necessary but insufficient; governance has to follow AI activity continuously across endpoints, services and connected systems.
At a glance
What this is: NHI Mgmt Group's analysis, drawing on Ovalix's blog post: Shadow AI now spans unmanaged accounts, embedded SaaS features, coding agents, MCP servers and autonomous agents, and discovery alone does not govern the resulting risk.
Why it matters: IAM, NHI and AI security teams need to govern who can use AI, through which account, with what permissions, and with what audit trail before data exposure becomes an incident response problem.
Context
Shadow AI is not only a software selection problem. It is a governance problem created when AI capability appears outside approved identity, data and change-control processes, whether that capability sits in a browser tool, an embedded SaaS feature or an unmanaged agent.
The core failure is visibility without control. Organisations may know that AI exists in the environment, but still lack assurance over which accounts use it, which data it can reach, and whether its actions are recorded in a way that supports investigation.
That combination makes AI use a live identity and access issue, not just a usage policy issue. When account ownership, permission scope and activity logging are incomplete, shadow AI becomes difficult to distinguish from sanctioned automation.
Key questions
Q: What are the signs that shadow AI is creating governance and compliance gaps?
A: Common signs include limited visibility into who is using AI tools, no reliable audit trail for prompts and outputs, unclear data residency, and inconsistent handling of sensitive information. If compliance, legal, and executive teams lack the same visibility as IT, the organisation already has a governance gap. Those conditions make it difficult to prove control or investigate misuse.
Q: Why do managed accounts matter for sanctioned AI services?
A: Managed accounts matter because sanctioned AI services usually need a controlled identity to authenticate, authorise actions, and record accountability. A managed account gives the service a named owner, scoped entitlements, secret rotation, and revocation when the service is retired or changed. Without it, teams often share credentials or leave unmanaged API keys exposed.
Q: Why do embedded AI features increase identity risk in SaaS stacks?
A: Embedded AI increases identity risk because it inherits permissions from the surrounding application and can act at machine speed across data and workflows. If teams do not know where AI is enabled, they cannot judge what it can read, modify, or trigger. That creates hidden privilege, governance gaps, and unowned business actions.
Q: What should teams do first when AI agents reach enterprise systems?
A: Start by issuing each AI agent a distinct identity and binding it to the minimum set of systems, APIs, tokens and secrets it needs. Then define the human owner, approved actions, runtime limits, and revocation path before production access is granted. Shared credentials and broad service account privileges make it difficult to contain misuse or prove accountability.
Technical breakdown
Why unmanaged AI accounts create control gaps
When an employee uses a personal account against an approved AI service, the organisation loses the policy boundary that normally comes from managed authentication, conditional access and logging. The service may still be legitimate, but the access path is not governed in the same way. That matters because the account, not just the application, determines what data can be touched, how sessions are attributed and which restrictions can be enforced. In practice, unmanaged accounts create a parallel access plane that bypasses enterprise identity controls and weakens oversight of sensitive prompts, outputs and connected data. Read Shadow AI vs Shadow IT.
Practical implication: Treat personal-account use of sanctioned AI services as an access-control problem, not a usage preference problem.
How embedded AI features widen the attack surface
Embedded AI inside SaaS is risky because approval of the parent application does not automatically mean the new AI capability has been reviewed for data access, processing and downstream sharing. A vendor can add retrieval, summarisation or action-taking features after initial approval, which changes the trust model without changing the contract or the logo. That creates a moving target for governance because the organisation may still think in terms of application approval, while the actual risk now depends on model use, connected services and the data pathways the feature can reach. Read Embedded AI in SaaS vs Standalone AI Tools.
Practical implication: Reassess SaaS approvals whenever AI features change data flows, permissions or external connections.
Why MCP servers and coding agents matter to identity governance
Model Context Protocol servers and coding agents extend AI from chat into tool use, repository access and system interaction. That changes the risk profile because credentials, tokens and environment secrets can be reachable inside the agentic workflow, not just in the application layer. Once a developer can connect an AI tool to source code, CI systems or business services, the organisation needs to understand which identities the tool can assume and whether those identities are bounded by least privilege. The control problem is no longer only prompt safety; it is delegated access and secret exposure across the development stack. Read What Is MCP? The Model Context Protocol Explained (2026).
Practical implication: Inventory AI-connected identities and secrets wherever agents reach repositories, build systems or business APIs.
Threat narrative
Attacker objective: The objective is to gain or abuse AI-mediated access to sensitive information and actions while staying outside normal oversight and audit controls.
- Entry occurs when users, endpoints or SaaS integrations introduce AI capability outside approved governance, such as personal accounts, embedded features or unmanaged agents.
- Credential and data access expand when those tools inherit corporate sessions, connected application tokens or repository access that were never scoped for AI-driven use.
- Impact follows when the AI path exposes sensitive data, alters records or leaves investigators without enough logs to reconstruct what happened.
Breaches seen in the wild
- Smithery.ai MCP hosting breach 2025: A Smithery.ai build flaw gave GitGuardian a live fly.io token controlling 3,000+ hosted MCP servers and the API keys their clients sent.
- DeepSeek database exposure 2025: An unauthenticated DeepSeek ClickHouse database exposed over a million log lines with plaintext chat history and API keys in 2025.
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
Shadow AI is now an identity governance problem, not only an application governance problem. The article shows that the real risk is not just unapproved tools but unmanaged accounts, embedded AI features and agents with opaque access paths. That shifts the control question from application allow or block to identity, entitlement and auditability across the AI stack. Practitioners should treat AI use as a governed access model, not a binary list of approved apps.
Account provenance is becoming the decisive control variable. A sanctioned AI service used through a personal account is a different risk from the same service used through a managed enterprise identity. The first path weakens policy enforcement, attribution and incident reconstruction even when the application itself is allowed. That makes account ownership and conditional access central to AI governance.
Model Context Protocol creates a new class of delegated access exposure. Once AI tools can reach repositories, endpoints and business systems through MCP servers, the security question becomes which identities and secrets they can touch. That is a non-human identity problem as much as an AI problem, because access can be spread across tokens, service accounts and connected integrations. MCP architecture belongs in the governance review before deployment, not after the first incident.
Continuous discovery has to be paired with decisioning. Shadow AI cannot be managed by inventory alone because the environment changes faster than periodic review cycles. Organisations need a named concept for this operational gap: AI visibility without enforcement. It means the team can see usage but cannot reliably constrain it, investigate it or revoke risky access in time. Practitioners should move governance upstream to the point where access is granted and activity is logged.
Audit trail failure becomes a security failure when AI acts outside supervision. If investigators cannot reconstruct what an agent accessed, changed or transmitted, the organisation loses the ability to prove scope, cause and accountability. That is especially consequential where AI tools interact with sensitive records or source code. Security leaders should assume incomplete logs are a control deficiency, not a documentation inconvenience.
From our research library:
- 24,008 unique secrets were exposed in MCP configuration files in 2025 alone, the protocol's first year of widespread adoption, according to the State of Secrets Sprawl 2026.
- Claude Code-assisted commits leaked secrets at a rate of 3.2%, more than double the human-only baseline of 1.5%, with peaks reaching 31 secrets per 1,000 commits in August 2025, according to the State of Secrets Sprawl 2026.
- Read next: Shadow AI and AI Agent Discovery Guide
What this signals
AI visibility without enforcement: the next governance failure will not be missing inventory, but inventory that does not change permissioning or monitoring fast enough. Security teams need a control loop that can detect, classify and restrict AI use before unmanaged accounts and embedded features become the default path.
Discovery programmes should now treat AI activity on endpoints and in connected SaaS as part of the same exposure set, because one unmanaged assistant can be enough to move sensitive data outside expected boundaries. Continuous review of accounts, integrations and logs is becoming the practical minimum for keeping AI use governable.
The emergence of MCP servers and coding agents means AI governance now intersects directly with shadow AI risk management. If the organisation cannot map which tools can reach which systems, it will struggle to separate sanctioned automation from unmanaged access.
For practitioners
- Enforce managed-account use for sanctioned AI services Require company-managed identities for approved AI platforms and block personal-account access where policy enforcement, logging and data controls cannot be guaranteed.
- Re-review SaaS approvals after AI capability changes Trigger a new security review whenever an approved application adds retrieval, summarisation, external model access or action-taking features that change data handling.
- Inventory AI-connected endpoints, agents and MCP servers Track developer-installed assistants, endpoint tooling and protocol servers alongside public AI apps so hidden access paths do not escape governance.
- Map AI tools to the identities and secrets they can reach Record which service accounts, API keys, repository tokens and connected systems each AI tool can access, then remove standing reach that is not operationally required.
- Require auditable logging for AI-driven actions Make logs sufficient to reconstruct prompts, tool calls, data exposure and record changes so incident response can determine scope without guesswork.
Key takeaways
- Shadow AI is a governance problem that now includes identity paths, embedded SaaS features, endpoint tools and unmanaged agents.
- Discovery matters, but visibility without policy enforcement leaves sensitive data, auditability and accountability exposed.
- Practitioners need managed accounts, updated SaaS reviews and auditable AI activity logs to keep access under control.
Related NHI Mgmt Group resources: Top 10 Shadow AI Risks · Shadow AI and AI Agent Discovery Guide · Embedded AI in SaaS vs Standalone AI Tools · What Is MCP? The Model Context Protocol Explained (2026)
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 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 | ASI03 — Identity & Privilege Abuse | Unmanaged agents can inherit and misuse delegated access across enterprise systems. |
| Recommendation — Restrict agent identities to least privilege and review every delegated permission before production use. | ||
| OWASP Non-Human Identity Top 10 | NHI-04 — Insecure Authentication | Unmanaged accounts and mixed identity paths weaken authentication governance for AI tools. |
| NHI-05 — Overprivileged NHI | AI tools and agents often reach systems with more privilege than the task requires. | |
| Recommendation — Require strong, managed authentication for every AI-connected account and remove unmanaged access paths. Audit AI-connected permissions and remove any standing access that exceeds task needs. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | Shadow AI becomes risky when access grants are not continuously governed and reviewed. |
| Recommendation — Continuously govern AI-related entitlements and revoke permissions that are not justified. | ||
| NIST SP 800-53 Rev 5 | IA-5 — Authenticator Management | The article highlights exposed secrets and tokens that underpin AI access paths. |
| Recommendation — Rotate and revoke AI access credentials on a controlled schedule and after policy changes. | ||
Key terms
- Shadow AI: Shadow AI is the use of AI tools, features and models inside an organisation without approval or visibility from IT, security or governance. Examples include personal accounts on public chatbots, browser extensions, AI features switched on in existing SaaS, and unsanctioned API keys. It becomes an identity problem when these tools use unmanaged tokens, service accounts or OAuth apps to reach company data.
- Model Context Protocol: Model Context Protocol is an open protocol that lets AI agents connect to tools and data sources. It expands what an agent can reach, so governance has to cover not only the model and its prompts, but also every system that can receive or return agent-driven data.
- MCP Server: An MCP server is a tool endpoint that connects an AI agent to external systems and data sources through Model Context Protocol. Because it extends what the agent can reach, it becomes part of the identity and access surface and must be reviewed like any other privileged connector.
- Coding Agent: A coding agent is a software system that can plan, generate, and modify code with limited human prompting. In governance terms, it is not just a tool but an actor whose permissions, tool access, and rollback path must be managed as part of the delivery process.
Deepen your knowledge
The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, workload identity and secrets management. It is designed for practitioners who need to connect identity controls to operational risk across modern automation and AI use.
Published by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org