---
title: "What is shadow AI? Risks, detection, and controls"
description: "Shadow AI is the use of AI tools, models, and agents without IT or security approval. Learn its common forms, risks, detection methods, and layered controls."
summary: "Shadow AI is any AI tool, model, agent, or integration used at work without approval from IT or security, from personal chatbot accounts to unvetted MCP servers. This explainer covers its forms in 2026, sourced risk figures, detection signals, layered controls, and AI agent governance."
type: "explainer"
canonical_url: "https://theaiengineering.com/articles/shadow-ai"
markdown_url: "https://theaiengineering.com/articles/shadow-ai.md"
topic: "AI gateways and LLM routing"
author: "The AI Engineering Editors"
publisher: "The AI Engineering"
published: "2026-11-20"
updated: "2026-11-20"
keywords: ["shadow ai","ai agent governance"]
citation: "The AI Engineering Editors. \"What is shadow AI? Risks, detection, and controls.\" The AI Engineering, updated Nov 20, 2026. https://theaiengineering.com/articles/shadow-ai"
---

# What is shadow AI? Risks, detection, and controls

## TL;DR

- Shadow AI is any AI tool, model, agent, or integration used inside an organization without approval or oversight from IT or security.
- In 2026, shadow AI includes personal chatbot accounts, AI browser extensions, desktop AI apps, coding agents on personal API keys, unapproved MCP servers, local models, AI features inside approved SaaS, and agents with their own credentials.
- IBM's 2025 Cost of a Data Breach Report found that one in five studied organizations reported a breach due to shadow AI, and that high levels of shadow AI added an average of $670,000 to breach costs.
- Shadow AI detection combines network and DNS logs, secure web gateway or CASB discovery, OAuth grants in the identity provider, expense data, endpoint inventory, and employee surveys.
- Shadow AI controls work in layers: sanctioned alternatives first, then an acceptable-use policy, SSO, an AI gateway for sanctioned API traffic, and endpoint, browser, or network enforcement.

Shadow AI is the use of AI tools, models, agents, or integrations inside an organization without approval or oversight from IT or security. It ranges from a personal chatbot account used with customer data to a coding agent on a personal API key with an unvetted tool server attached. This explainer covers the forms shadow AI takes in 2026, sourced risk figures, detection signals, layered controls, and AI agent governance. For related guides, see our [AI gateways and LLM routing](https://theaiengineering.com/topics/ai-gateways) hub.

## What is shadow AI?

Shadow AI is any AI tool, model, agent, or integration that people use for work without approval or oversight from IT or security. It is the AI-specific part of shadow IT, and it carries more risk because prompts contain data, outputs carry obligations, and agents take actions.

Most shadow AI is not malicious. A chatbot needs only an email address, so people adopt tools that save time before anyone responsible for data or spending knows they exist. A use counts as shadow AI if the organization does not know about it, has not reviewed its data terms, or cannot revoke its access, even when the product is one the organization buys under another account.

### Shadow AI vs shadow IT

| | Shadow IT | Shadow AI |
|---|---|---|
| What it is | Any app, device, or service used without IT approval | AI tools, models, agents, and integrations used without IT or security approval |
| What leaves the organization | Files and records stored in another service | Prompts, pasted documents, source code, and tool results |
| Can it act on your systems? | Rarely; most tools store or share data | Yes; agents can read, write, and send on a user's behalf |
| Cost pattern | Mostly flat subscriptions | Subscriptions plus token-based usage billing |
| Main detection signals | SaaS discovery and expense data | The same, plus API traffic, OAuth grants, and local agent configurations |

## Shadow AI examples in 2026

Shadow AI in 2026 takes eight common forms: personal chatbot accounts used with work data, AI browser extensions, desktop AI apps, coding agents on personal API keys, [unapproved MCP servers](https://theaiengineering.com/glossary/mcp-server), locally run models, AI features switched on inside approved SaaS, and autonomous [AI agents](https://theaiengineering.com/glossary/ai-agent) with their own credentials. Each form escapes a different control.

| Form | Example | Why it escapes review |
|---|---|---|
| Personal chatbot accounts | A consumer ChatGPT, Claude, or Gemini account used to summarize a contract | Sign-up needs only an email address |
| AI browser extensions | A writing or meeting assistant that reads page content | Installs in seconds and sends data to its own backend |
| Desktop AI apps | A desktop chat app signed in with a personal account | Looks like any app install; traffic is ordinary HTTPS |
| Coding agents on personal keys | Claude Code started with a personal `ANTHROPIC_API_KEY` | Runs in a terminal, billed to a personal card |
| Unapproved MCP servers | A community MCP server added to an agent's config file | A few lines of JSON on a laptop, with no central registry |
| Locally run models | An [open-weight model](https://theaiengineering.com/glossary/open-weights-model) served by Ollama on a laptop | Traffic never leaves the device |
| AI features in approved SaaS | A new assistant inside a suite the organization already licenses | The vendor was approved before the feature existed |
| Agents with their own credentials | A scheduled agent holding a repository token | Runs with no person present; credentials outlive their owner |

A developer can install one of the [AI coding agents](https://theaiengineering.com/articles/ai-coding-agents), set an API key, and attach MCP servers without a request reaching IT; Claude Code's [MCP access documentation](https://code.claude.com/docs/en/managed-mcp) states that by default anyone running it can connect any MCP server. An agent built in a script can hold tokens, run on a schedule, and outlast its builder's role.

Embedded features are easy to miss because the vendor is already approved; Google's Workspace admin help [states that Gemini features in Workspace services are on by default](https://knowledge.workspace.google.com/admin/gemini/manage-access-to-gemini-features-in-workspace-services). Local models avoid network controls entirely, because Ollama [binds to 127.0.0.1 on port 11434 by default](https://docs.ollama.com/faq). Their license terms still need review, since open-weight models ship under licenses ranging from Apache 2.0 to custom licenses with use restrictions.

## How common is shadow AI?

Survey data shows shadow AI is common and costly. Microsoft and LinkedIn's 2024 Work Trend Index found that 78% of AI users brought their own AI tools to work, and IBM's 2025 Cost of a Data Breach Report found that one in five studied organizations reported a breach due to shadow AI.

- **Microsoft and LinkedIn, [2024 Work Trend Index](https://www.microsoft.com/en-us/worklab/work-trend-index/ai-at-work-is-here-now-comes-the-hard-part):** a survey of 31,000 knowledge workers in 31 markets, run in February and March 2024, found that 78% of AI users brought their own tools.
- **IBM, [2025 Cost of a Data Breach Report](https://newsroom.ibm.com/2025-07-30-ibm-report-13-of-organizations-reported-breaches-of-ai-models-or-applications,-97-of-which-reported-lacking-proper-ai-access-controls):** across 600 breached organizations studied by the Ponemon Institute, high levels of shadow AI added an average of $670,000 to breach costs, and shadow AI incidents compromised personally identifiable information in 65% of cases and intellectual property in 40%. Of the breached organizations, 63% had no AI governance policy or were still writing one.
- **IBM, 2026 Cost of a Data Breach Report:** IBM X-Force's [summary](https://www.ibm.com/think/x-force/2026-cost-of-a-data-breach-ai-adversaries-enterprise-risk) states that only 40% of organizations used access controls on AI models and data, and that 92% of organizations with an AI-related breach lacked proper AI access controls.

Each survey defines its terms differently, so treat the figures as direction, not a benchmark.

## Shadow AI risks

The main shadow AI risks are data leakage and retention, regulatory exposure, intellectual property and licensing problems, unmanaged spend, agent actions without an audit trail, and [prompt injection](https://theaiengineering.com/glossary/prompt-injection) through unvetted tools. The first four are familiar from shadow IT. The last two come from agents that act on systems and read untrusted content.

### Data leakage and retention

Anything put in a prompt leaves the organization, and what happens next depends on the account, not the product. Under Anthropic's [2025 consumer terms update](https://www.anthropic.com/news/updates-to-our-consumer-terms), Claude Free, Pro, and Max users, including Claude Code on those accounts, choose whether their data may train models, and opting in extends retention from 30 days to five years. The update does not apply to Claude for Work or the API. A personal account sits outside every contract the organization negotiated.

### Regulatory exposure

Rules such as the GDPR and HIPAA govern when personal or regulated data may go to a third party, and a personal chatbot account is a third party with no agreement in place. Article 4 of the EU AI Act, in application since February 2, 2025, requires providers and deployers to support their staff's AI literacy; the European Commission's [AI literacy Q&A](https://digital-strategy.ec.europa.eu/en/faqs/ai-literacy-questions-answers) says that applies to a company whose employees use ChatGPT for tasks such as translation.

### Intellectual property and licensing

Source code and deal documents go into assistants as easily as anything else, and IBM's 2025 study found IP compromised in 40% of shadow AI incidents. The risk also runs the other way, because generated code can raise questions about its origin and model licenses can restrict commercial use.

### Unmanaged spend

Shadow AI spend hides in expense reports and on personal cards. Individual subscriptions duplicate seats the organization already pays for, and personal API keys bill per token with no budget, so a looping agent runs up a bill nobody sees.

### Agent actions without an audit trail

An agent on a personal account acts with that person's permissions and leaves no central record of the tools it called, so the organization cannot tell its actions from the person's. OWASP's Top 10 for LLM applications calls this [Excessive Agency (LLM06:2025)](https://genai.owasp.org/llmrisk/llm062025-excessive-agency/) and traces it to excessive functionality, permissions, and autonomy.

### Prompt injection through unvetted tools

Prompt injection lets text the model reads change what an agent does. An unvetted MCP server can carry [tool poisoning](https://theaiengineering.com/glossary/tool-poisoning): instructions hidden in a tool's description that the model reads and the user never sees, sometimes added after the server was approved. Shadow MCP servers skip the [review that would catch it](https://theaiengineering.com/articles/mcp-security).

## How to detect shadow AI

Detect shadow AI by combining signals, because each source misses some forms. Network and DNS logs, secure web gateway or CASB discovery, OAuth grants in the identity provider, expense and procurement data, endpoint inventory, and employee surveys together show which AI tools are in use, who uses them, and why.

| Signal | What it finds | What it misses |
|---|---|---|
| Network and DNS logs | Traffic to chatbot sites and model APIs such as `api.openai.com` and `api.anthropic.com` | Off-network devices, local models, encrypted content |
| Secure web gateway, CASB, or SSE discovery | AI apps by category, with users, volume, and risk scores | Apps missing from the vendor's catalog |
| OAuth grants in the identity provider | AI apps connected to mail, files, or calendars | Tools with their own login or an API key |
| Expense and procurement data | Expensed subscriptions and API bills | Free tiers and privately paid tools |
| Endpoint inventory | Desktop apps, extensions, agents, MCP configurations, local runtimes | Unmanaged and personal devices |
| Surveys | Why people adopted a tool and which need it serves | Anything people choose not to report |

### Network and SSE discovery

Microsoft Entra's [shadow AI discovery](https://learn.microsoft.com/en-us/entra/global-secure-access/concept-shadow-ai-discovery) analyzes network traffic to find chat services such as ChatGPT and Claude, SaaS MCP servers, and model provider APIs, and Microsoft's [shadow AI deployment guide](https://learn.microsoft.com/en-us/purview/deploymentmodels/depmod-data-leak-shadow-ai-step1) starts by filtering the Defender for Cloud Apps catalog to Generative AI and tagging apps sanctioned or unsanctioned. Cloudflare Gateway's [common HTTP policies](https://developers.cloudflare.com/cloudflare-one/traffic-controls/http-policies/common-policies/) include blocking the Artificial Intelligence application type and isolating unreviewed apps. Each sees only traffic that passes through it.

### OAuth grants in the identity provider

AI apps that read mail, files, or calendars leave a record in the identity provider. In Entra ID, [users can consent by default](https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/configure-user-consent) to permissions that do not need admin consent; Microsoft recommends limiting consent to verified publishers, and changing the setting leaves existing grants in place. Google Workspace lists [apps that have accessed Google data](https://knowledge.workspace.google.com/admin/apps/control-which-apps-access-google-workspace-data) with user counts, and admins can mark each Trusted, Limited, Specific Google data, or Blocked.

### Endpoint inventory and surveys

Device management tools list installed apps, CLIs, and extensions on managed machines. Agent configuration files show tool servers: Claude Code keeps MCP server configurations in `~/.claude.json` and project `.mcp.json` files, and a process listening on port 11434 usually means Ollama. A short survey covers the rest; people report more when the result is a better approved tool instead of a reprimand.

## How to manage shadow AI with layered controls

Manage shadow AI in layers, starting with what people need. Offer sanctioned alternatives first, publish an acceptable-use policy, tie AI access to identity and SSO, route sanctioned API traffic through an [AI gateway](https://theaiengineering.com/glossary/ai-gateway), and enforce at the endpoint, browser, or network for what remains.

**Figure 1: Shadow AI controls work in layers, and each layer covers forms of shadow AI that the others cannot see.**

Seven control layers from people to requests: sanctioned tools and policy, identity, endpoint, browser, network, the AI gateway, and the providers and MCP servers behind it.

Layers, top to bottom:

1. **Sanctioned tools and policy**: What people may use (approved tools, use policy, request path)
2. **Identity**: Who is using it (SSO and SCIM, OAuth consent, org-only login)
3. **Endpoint**: What runs on the device (MDM, managed settings, endpoint AI control)
4. **Browser**: What happens in AI tabs (extension allowlist, prompt DLP)
5. **Network**: Where traffic goes (DNS filtering, SWG or SSE, CASB discovery)
6. **AI gateway**: What each request may do (virtual keys, budgets, guardrails, logs)
7. **Providers and tools**: Model APIs and MCP servers

People spans Sanctioned tools and policy through Identity. Devices and traffic spans Endpoint through Network. Requests spans AI gateway through Providers and tools.

Each layer goes blind somewhere: identity misses personal API keys, a gateway misses traffic that never points at it, endpoint control misses unmanaged devices, browser controls miss desktop apps and CLIs, and network controls miss local models.

### Offer sanctioned alternatives and a policy

Most shadow AI fills a real need, so a block without an approved alternative moves the same use to phones and home laptops. Approve at least one general assistant on a business plan, one coding agent, and a published way to request new tools and MCP servers. Then write a one-page acceptable-use policy: which data may go into which tools, no company data in personal accounts, who approves new tools, and who reviews AI output.

### Tie AI access to identity and SSO

Connect each approved assistant to SSO and SCIM, so access ends when an employee leaves. Some tools can refuse personal sign-ins on managed machines: Claude Code's `forceLoginOrgUUID` setting pins claude.ai logins to your organization when set in managed settings. In the identity provider, require admin approval for AI apps that ask for mail or file access.

### Route sanctioned API traffic through an AI gateway

An AI gateway is a proxy between applications and model providers that holds provider credentials and applies shared policy to each request, as our explainer on [what an AI gateway is](https://theaiengineering.com/articles/what-is-an-ai-gateway) describes. People and agents receive [virtual keys](https://theaiengineering.com/glossary/virtual-key) instead of provider keys, each key carries a budget and a model allowlist, [guardrails](https://theaiengineering.com/articles/ai-guardrails) check prompts and responses, and every request is logged against its key.

In Bifrost, the open source gateway from Maxim AI, [virtual keys](https://docs.getbifrost.ai/features/governance/virtual-keys) reach only the providers configured on them, and an enforce-auth setting makes a valid key mandatory for every inference request. [Budgets and rate limits](https://docs.getbifrost.ai/features/governance/budget-and-limits) apply per virtual key, team, and customer. As an [MCP gateway](https://theaiengineering.com/articles/best-mcp-gateways), Bifrost's [MCP tool filtering](https://docs.getbifrost.ai/features/governance/mcp-tools) is deny-by-default, so a key with no MCP configuration gets no tools unless an admin marks a client as allowed by default. Its guardrails, an [enterprise feature](https://docs.getbifrost.ai/enterprise/guardrails), check requests, responses, and MCP tool calls for PII and secrets. Our [AI gateways directory](https://theaiengineering.com/platforms/ai-gateways) compares other gateways.

A gateway governs only traffic that points at it, so coding agents need configuration that keeps them there. Claude Code reads managed settings, delivered by MDM or a system file, that users cannot override:

```json
{
  "allowedProviders": ["customEndpoint"],
  "env": {
    "ANTHROPIC_BASE_URL": "https://bifrost.example.com/anthropic"
  },
  "allowManagedMcpServersOnly": true,
  "allowedMcpServers": [
    { "serverUrl": "https://mcp.example.com/*" }
  ]
}
```

Per Claude Code's [gateway documentation](https://code.claude.com/docs/en/llm-gateway), `allowedProviders` set to `["customEndpoint"]` with the gateway URL in the same managed file makes Claude Code (v2.1.285 or later) refuse sessions pointed anywhere else, including Anthropic directly. The [managed MCP settings](https://code.claude.com/docs/en/managed-mcp) make the allowlist authoritative, and with only `serverUrl` entries, local stdio servers are blocked too. Each developer's virtual key comes from secrets tooling as `ANTHROPIC_AUTH_TOKEN` or an `apiKeyHelper` script, as Bifrost's [Claude Code guide](https://docs.getbifrost.ai/cli-agents/claude-code) describes.

### Control AI apps and MCP servers on the endpoint

Endpoint control covers what a gateway cannot reach on its own: desktop chat apps, AI in the browser, coding agents signed in with personal accounts, and the tool servers configured inside them. Software on each managed device detects AI apps, allows or denies them, and routes approved AI traffic through central policy.

**Figure 2: Endpoint control brings desktop, browser, and agent traffic under gateway policy, while a personal account on an unmanaged device meets network controls at most.**

Managed-device AI apps and MCP servers route through endpoint control and the AI gateway; a personal account reaches a consumer AI service past network controls only.

Components:

- **AI apps**: desktop · browser · CLI
- **Local MCP servers**: set up in those apps
- **Endpoint control**: allow or deny apps and MCP servers routes only AI traffic
- **AI gateway**: virtual keys · budgets · guardrails · logs
- **Model providers**: hosted APIs
- **Remote MCP servers**: approved tools
- **Personal account**: personal key or device
- **Network controls**: DNS · SWG · CASB
- **Consumer AI service**: outside contracts

Groups:

- Managed device: AI apps, Local MCP servers, Endpoint control
- Shadow path: Personal account, Network controls, Consumer AI service

Connections:

- AI apps → Endpoint control
- Local MCP servers → Endpoint control
- Endpoint control → AI gateway: AI traffic
- AI gateway → Model providers
- AI gateway → Remote MCP servers
- Personal account → Network controls
- Network controls → Consumer AI service: discover or block

Bifrost Edge, Maxim AI's endpoint extension of the Bifrost gateway, is one example. According to [Maxim's Edge page](https://www.getmaxim.ai/edge), it runs on macOS, Windows, and Linux, routes only AI traffic, and leaves everything else on the device uninspected. That traffic goes through the organization's Bifrost gateway, where, according to the [Edge overview](https://docs.getbifrost.ai/edge/overview), existing virtual keys, budgets, audit logs, and guardrails apply. When Edge detects a new app or MCP server, it [requests approval in the admin console](https://docs.getbifrost.ai/edge/app-governance), and denied apps are blocked before any data leaves the machine. It also [inventories MCP servers](https://docs.getbifrost.ai/edge/mcp-governance) configured in supported apps across the fleet, and a deny applies even to servers configured before the policy existed.

As of November 2026, Edge's supported applications include Claude Desktop, the ChatGPT desktop app, Cursor, Codex, the ChatGPT and Claude websites, Claude Code, Codex CLI, and OpenCode. It [deploys through MDM](https://docs.getbifrost.ai/edge/deployment-mdm) platforms including Jamf, Microsoft Intune, Kandji, Omnissa Workspace ONE, and JumpCloud, requires the Bifrost Enterprise Gateway, and is priced by the number of devices. Like any endpoint control, it covers managed devices and supported apps, not a personal phone.

Network and browser controls cover other ground. An SSE or secure web gateway, such as Entra Global Secure Access or Cloudflare Gateway, blocks AI app categories for any device whose traffic it carries. In managed browsers, Chrome's [`ExtensionInstallBlocklist`](https://chromeenterprise.google/policies/extension-install-blocklist/) set to `*` blocks every extension not in `ExtensionInstallAllowlist`, and Purview data loss prevention can detect sensitive data pasted into AI sites. Our [guardrails and AI security directory](https://theaiengineering.com/platforms/guardrails-security) lists more platforms that govern employee and agent AI use.

## AI agent governance

AI agent governance applies the same controls to agents that act on their own: an inventory of every agent and the credentials it holds, scoped and expiring keys, approval before an agent gets a new tool or MCP server, human approval for sensitive actions, and an audit trail that ties each action to an agent and an accountable owner.

An agent that shares a person's credentials cannot be told apart from that person in logs, and an agent with a broad token can do anything the token allows.

| Control | Question it answers | Example implementation |
|---|---|---|
| Agent inventory | Which agents run, who owns each, and what they can reach | A registry entry per agent with owner, purpose, credentials, and tools |
| Scoped credentials | What the agent can do if it misbehaves | A dedicated virtual key per agent with model, budget, and tool limits |
| Tool approval | Which tools and MCP servers the agent may call | Per-key MCP tool allowlists and managed MCP allowlists on devices |
| Human approval | Which actions need a person first | [Human-in-the-loop](https://theaiengineering.com/glossary/human-in-the-loop) checkpoints before writes, payments, or external messages |
| Audit trail | What the agent did, and on whose behalf | Gateway request and tool-call logs exported to the security team |

These controls follow OWASP's mitigations for excessive agency, including minimizing extensions and their permissions and requiring user approval. An agent that runs with no person present needs its own scoped credential instead of a person's account or a shared admin key, so revoking it does not lock out its owner. In Bifrost's [agent mode](https://docs.getbifrost.ai/mcp/agent-mode), no tools run automatically by default: teams list the tools that may auto-execute, and Bifrost returns other tool calls to the application for approval. Our [Model Context Protocol explainer](https://theaiengineering.com/articles/what-is-model-context-protocol) covers how agents discover the tools these controls restrict.

## Where to go next

Run discovery before blocking anything, and publish the approved catalog before the first block goes live. Our explainer on [what an AI gateway is](https://theaiengineering.com/articles/what-is-an-ai-gateway) covers the routing, keys, and logging behind sanctioned AI traffic, and our [LLM observability](https://theaiengineering.com/articles/llm-observability) guide covers tracing what an approved agent did inside its loop. More guides are in the [AI gateways and LLM routing hub](https://theaiengineering.com/topics/ai-gateways).

## Frequently asked questions

### What is an example of shadow AI?

A common example is an employee pasting customer records into a personal chatbot account to draft a reply. Others include a developer running a coding agent on a personal API key, an engineer adding an unvetted MCP server to an agent, and a team using a new AI feature inside an approved SaaS suite without review.

### What is the difference between shadow AI and shadow IT?

Shadow IT is any technology used without IT approval, such as personal cloud storage or an unapproved SaaS tool. Shadow AI is the AI-specific subset, with added risks: prompts can carry sensitive data that a provider may retain or train on, outputs can raise licensing questions, and agents can act on systems for a user instead of only storing data.

### How do you detect shadow AI?

Combine several signals, because each one misses something. Network and DNS logs show traffic to AI services, secure web gateways and CASB tools classify AI apps, identity providers list OAuth grants, expense data reveals personal subscriptions, endpoint inventory finds apps, agents, and MCP configurations, and surveys explain why people adopted each tool.

### How do you prevent shadow AI?

You reduce shadow AI rather than eliminate it. Approve AI tools that meet real needs, publish a short acceptable-use policy, require SSO, route sanctioned API traffic through an AI gateway with per-user keys, and enforce at the endpoint, browser, or network for the rest. Blocking without an approved alternative tends to push use onto personal devices.

### What is AI agent governance?

AI agent governance is the set of controls that decide which agents run in an organization, what credentials and tools each one holds, which actions need human approval, and how each action is recorded. In practice it means an agent inventory, scoped credentials, tool and MCP server allowlists, approval steps for sensitive actions, and audit logs tied to an accountable owner.

### Is using ChatGPT at work shadow AI?

Using ChatGPT at work is shadow AI when the organization has not approved that use, for example a personal account used with work data. The same product used through an organization-managed workspace, with SSO, reviewed data terms, and admin controls, is sanctioned AI. The distinction is approval and oversight, not the product.

## Terms in this guide

- [AI agent](https://theaiengineering.com/glossary/ai-agent): An AI agent is a software system in which a large language model runs in a loop, calling tools, reading their results, and repeating until the task is complete or a stop condition is reached.
- [MCP server](https://theaiengineering.com/glossary/mcp-server): An MCP server is a program that exposes tools, resources, and prompts to AI applications through the Model Context Protocol, running locally over stdio or remotely over Streamable HTTP.
- [Open-weights model](https://theaiengineering.com/glossary/open-weights-model): An open-weights model is an AI model whose trained parameters are published for download, so anyone can run, fine-tune, or quantize it on their own hardware under the terms of its license.
- [Prompt injection](https://theaiengineering.com/glossary/prompt-injection): Prompt injection is an attack in which text supplied to a large language model, typed by a user or hidden in content the model reads, alters the application's intended behavior or output.
- [Tool poisoning](https://theaiengineering.com/glossary/tool-poisoning): Tool poisoning is an attack in which a malicious or compromised MCP server hides instructions in a tool's description or schema, which the model reads as trusted context and may follow.
- [AI gateway](https://theaiengineering.com/glossary/ai-gateway): An AI gateway is a proxy layer between applications and model providers that exposes one API for many models and centralizes routing, failover, access control, cost tracking, caching, and logging.
- [Virtual key](https://theaiengineering.com/glossary/virtual-key): A virtual key is an API key issued by an AI gateway that maps a caller to its allowed models, budget, and rate limits, while the gateway keeps the real provider credentials.
- [Guardrails](https://theaiengineering.com/glossary/guardrails): Guardrails are programmatic checks placed around a large language model that validate, filter, or block inputs, outputs, and tool calls so an AI application stays within its safety, security, and policy limits.
- [MCP gateway](https://theaiengineering.com/glossary/mcp-gateway): An MCP gateway is a proxy that sits between MCP hosts and many MCP servers, exposing them through one endpoint and centralizing authentication, tool access policy, and audit logging.
- [Human-in-the-loop](https://theaiengineering.com/glossary/human-in-the-loop): Human-in-the-loop (HITL) is an agent design in which the run pauses at defined checkpoints, such as before a sensitive tool call, so a person can approve, edit, or reject the action.

## Related guides

- [What is an AI gateway? How it works and when you need one](https://theaiengineering.com/articles/what-is-an-ai-gateway): An AI gateway is a proxy between your apps and model providers. Learn how it works, its core features, AI gateway vs API gateway, and open source options.
- [AI guardrails: types, where they run, and how to test them](https://theaiengineering.com/articles/ai-guardrails): AI guardrails are checks that block, redact, or flag LLM inputs, outputs, and tool calls. Learn the types, where they run, trade-offs, and how to test them.
- [MCP security: threats, authentication, and controls for MCP servers](https://theaiengineering.com/articles/mcp-security): MCP security guide: tool poisoning, prompt injection, and token passthrough, how MCP authentication works with OAuth 2.1, and controls for MCP servers.
- [Best MCP gateways: open-source and managed options compared](https://theaiengineering.com/articles/best-mcp-gateways): Compare the best MCP gateways, open source and managed: Bifrost, Docker, ContextForge, agentgateway, Kong, AgentCore, Azure, and more, by auth and tool access.

Part of the [AI gateways and LLM routing](https://theaiengineering.com/topics/ai-gateways) topic hub.

## Cite this guide

The AI Engineering Editors. "What is shadow AI? Risks, detection, and controls." The AI Engineering, updated Nov 20, 2026. https://theaiengineering.com/articles/shadow-ai

- Title: What is shadow AI? Risks, detection, and controls
- Author: The AI Engineering Editors
- Publisher: The AI Engineering
- Published: 2026-11-20
- Updated: 2026-11-20
- URL: https://theaiengineering.com/articles/shadow-ai
- Markdown: https://theaiengineering.com/articles/shadow-ai.md

To cite one section, link to its anchor:

- [What is shadow AI?](https://theaiengineering.com/articles/shadow-ai#what-is-shadow-ai)
- [Shadow AI examples in 2026](https://theaiengineering.com/articles/shadow-ai#shadow-ai-examples-in-2026)
- [How common is shadow AI?](https://theaiengineering.com/articles/shadow-ai#how-common-is-shadow-ai)
- [Shadow AI risks](https://theaiengineering.com/articles/shadow-ai#shadow-ai-risks)
- [How to detect shadow AI](https://theaiengineering.com/articles/shadow-ai#how-to-detect-shadow-ai)
- [How to manage shadow AI with layered controls](https://theaiengineering.com/articles/shadow-ai#how-to-manage-shadow-ai-with-layered-controls)
- [AI agent governance](https://theaiengineering.com/articles/shadow-ai#ai-agent-governance)
- [Where to go next](https://theaiengineering.com/articles/shadow-ai#where-to-go-next)
- [Frequently asked questions](https://theaiengineering.com/articles/shadow-ai#faq)
