What Is Shadow AI? Detecting the Apps, Agents, and MCP Servers Nobody Approved
A practitioner’s guide to shadow AI in 2026, fully ungated. Nexus is an AI-agent governance and observability platform by Swfte; this page covers the whole problem, including the parts no single tool can see.
Updated 27 July 2026
Shadow AI, defined
Shadow AI is AI usage that operates outside your organization’s visibility and governance: tools nobody registered, agents nobody approved, integrations nobody reviewed. The term deliberately echoes shadow IT, but the analogy undersells the problem. Shadow IT was unsanctioned storage and software, and a rogue Dropbox account holds your files without doing anything to them. Shadow AI is unsanctioned actors: tools that ingest your data as context, send it to third-party models, and increasingly execute actions under credentials your security team never scoped for them. They edit files, run commands, call APIs.
That distinction is why shadow AI has become a board-level topic rather than a hygiene item. An unapproved AI app can leak data. An unapproved AI agent can leak data, modify production code, install a compromised dependency, and leave no audit trail, all in the same afternoon and all while looking like ordinary developer activity. Governance, which we cover in depth on our AI agent governance page, has to treat these as identities with permissions rather than apps on a blocklist.
The three faces of shadow AI in 2026
Most shadow AI content still describes only the first of these. All three are live in most organizations today.
- Unsanctioned AI apps. Personal ChatGPT, Claude, or Gemini accounts used with company data; AI features quietly enabled inside sanctioned SaaS; browser AI assistants reading every page an employee opens. This is the face SaaS-security tools were built to find.
- Shadow agents. Coding agents like Claude Code running in terminals, and autonomous agents in the OpenClaw mold operating machines unattended. These execute shell commands, write files, and install packages with the developer’s own permissions, and they never appear in an OAuth grant list. See Claude Code security and OpenClaw security for the agent-specific threat models.
- Shadow MCP servers and integrations. A developer adds an MCP server to a local agent config and the agent gains a new capability, such as database access, browser control, or a third-party API, with zero review. Our MCP security best practices guide covers why this layer is now an attack surface of its own.
Why shadow AI happens, and why banning it fails
Shadow AI is not primarily a compliance failure. It is a demand signal. Employees adopt AI tools because those tools make them measurably faster, and the sanctioned alternatives are often slower to arrive or weaker when they do. That is also the honest answer to the perennial “benefits of shadow IT” question: the benefit is real productivity, discovered bottom-up, before procurement caught up.
This is why prohibition consistently fails. Ban the chatbot and usage moves to personal phones. Ban the coding agent and it runs under an alias in a personal terminal profile. Every ban converts visible usage into invisible usage, which is the exact opposite of what a security team needs. The organizations handling this well treat the demand as legitimate and route it: sanction capable tools, attach governance to them, and make the governed path more convenient than the shadow path.
The risks: what shadow AI actually exposes
Five risk categories recur across incidents and assessments.
- Data exposure. Source code, customer records, and credentials pasted or piped into external models with unknown retention.
- Compliance violations. Regulated data processed by unvetted processors, and audit obligations under GDPR, HIPAA, or the EU AI Act left unmet because nobody knew the processing existed.
- Credential sprawl. Every shadow tool holds a token, and every token is a non-human identity with a blast radius nobody has mapped.
- Supply-chain exposure. Agents install dependencies as a side effect of doing their job. An unwatched agent is an unwatched package-install pipeline.
- Unauditable change. When an incident responder asks what the agent did, shadow usage has no answer. No session record, no action log, no prompt-to-change trail.
How to detect shadow AI: two planes, two toolchains
The core detection insight of 2026 is that shadow AI lives on two planes, and each plane needs its own instrumentation. SSPM-class tools see the SaaS connection. Only runtime capture sees the agent action.
| Plane | Signals | What it finds | Tooling |
|---|---|---|---|
| SaaS plane | OAuth grants, SSO logs, email metadata, app marketplace installs | Unsanctioned AI apps connected to corporate SaaS: personal chatbot accounts, AI plugins, browser extensions with API access | SSPM / SaaS-security platforms (Reco, AppOmni, Obsidian) |
| Endpoint plane | Agent session capture, tool actions, file changes, dependency installs, MCP connections | Coding agents in terminals, local MCP servers, autonomous agents acting with developer credentials. None of these appear in SaaS logs. | Agent governance with runtime hooks (Nexus) |
On the endpoint plane, Nexus wraps the agent runtime itself. Every session is attributed to a terminal, user, and repo. Every tool action, file change, and dependency install is captured. Unmanaged agents, unsanctioned model providers, and unknown non-human identities surface as shadow-AI findings in the console. Because capture happens at the agent’s own hooks, there is nothing for the shadow usage to hide behind.
A shadow AI risk assessment in five steps
- 01
Inventory
List every AI tool, agent, and integration in use, across both planes. SaaS discovery finds the apps. Endpoint capture finds the agents and MCP servers. - 02
Classify by data access
For each entry, record what data it can read and what systems it can write to. A summarization plugin and a coding agent with repo write access are not the same risk. - 03
Map identities
Identify the credentials each tool holds (OAuth tokens, API keys, the developer’s own permissions) and what those credentials can reach if compromised. - 04
Set policy
Decide, in writing and in code, what sanctioned tools may do: protected paths, allowed registries, approved MCP servers, required capture tiers. - 05
Enforce and audit
Move from findings to enforcement. Evaluate policy before actions execute, and keep audit trails linking every change back to the prompt that caused it.
From shadow to sanctioned: the paved-path playbook
The end state is not zero AI usage. It is zero ungoverned AI usage. The playbook that gets there: approve the tools people already want, and attach governance at the moment of approval, with capture on by default, policy defined as code, and audit trails from day one. Start in audit mode, where policy violations are recorded as findings but nothing is blocked, so you learn what real workflows look like without breaking anyone. Then switch the high-risk rules to enforce mode, where violations are denied before they execute. Protected paths, destructive commands, and unapproved registries are the usual first three.
Handled this way, the shadow inventory shrinks on its own. The sanctioned path is faster than the hidden one, and the remaining shadow usage stands out clearly against a governed baseline. For the broader organizational picture beyond agents, see our AI governance overview and the agent observability guide.
Shadow AI FAQ
- What is shadow AI?
- Shadow AI is the use of AI tools, agents, or integrations inside an organization without the security team’s knowledge or approval. It ranges from employees pasting company data into personal chatbot accounts to developers running AI coding agents and MCP servers that no one has inventoried or governed.
- How is shadow AI different from shadow IT?
- Shadow IT is unsanctioned software. Shadow AI is unsanctioned software that ingests your data, learns from context, and increasingly acts on its own by running commands, holding credentials, and making changes. The risk profile is higher because the tool is an actor rather than an application.
- How do you detect shadow AI?
- Detection needs two planes. On the SaaS plane, OAuth grants, SSO logs, and email metadata reveal unsanctioned AI apps connected to corporate systems. On the endpoint plane, session-level capture reveals coding agents, tool actions, and MCP connections that never appear in SaaS logs. Tools that only watch one plane report a partial inventory.
- Should companies ban shadow AI?
- Blanket bans mostly push usage further underground, because the productivity demand behind shadow AI is real. The pattern that works is a paved path: sanction capable tools, attach governance to them (capture, policy enforcement, audit trails), and make the governed route the easiest one to use.
- Can shadow AI include AI coding agents?
- Yes, and in developer organizations they are now the fastest-growing form of it. A coding agent installed in a terminal executes commands and modifies code with the developer’s credentials, invisibly to SaaS-side security tools. Nexus detects and governs this layer by wrapping the agent itself, capturing every session and blocking policy violations in-flight.
Shadow AI now includes the agents in your terminals
Nexus finds and governs the agents running in your terminals: session capture, shadow-AI findings, and in-flight policy blocking, with an open-core capture layer you can inspect.
Explore Swfte Nexus