Shadow AI: how to find it and give people a better path
Shadow AI is AI use your company has not approved or cannot see. Where it shows up, how detection works, where it fails, and why a sanctioned path beats a ban.
- Published
- Reading time
- 10 min read
In short
- Shadow AI is any use of AI tools, models, or MCP servers that the organization has not approved or cannot see, from personal chatbot accounts to coding agents running on personal API keys.
- The cost is measurable. IBM's 2025 breach report found that a high level of shadow AI added USD 670,000 to the average cost of a breach.
- Network logs, identity-provider grants, and expense reports each find part of it. None of them sees the MCP servers and agents configured on a laptop.
- Bans push usage further out of sight. What works is a sanctioned path that is easier than the unsanctioned one, enforced where the traffic starts.
Shadow AI is any use of AI tools, models, or agents that an organization has not approved or cannot see. It includes an employee pasting a contract into a personal chatbot account, a browser extension that summarizes internal pages, and a coding agent running on a personal API key with MCP servers that can read the whole repository.
It is the default state, not the exception. In the 2024 Work Trend Index, a survey of 31,000 people across 31 countries, Microsoft and LinkedIn found that 75% of knowledge workers used AI at work and that "78% of AI users are bringing their own tools to work." Shadow AI is what most of that looks like from the security team's side.
Where shadow AI shows up
It shows up in five places: browser chat on personal accounts, AI features inside software you already approved, desktop chat apps, coding agents, and MCP servers configured on individual machines. The last two are newer, harder to see, and carry the most access.
| Form | What leaves the company | Who can see it today |
|---|---|---|
| Personal chatbot accounts in the browser | Whatever was pasted or uploaded | Web proxy logs, if traffic crosses the corporate network |
| AI features inside approved SaaS | Data already in that SaaS, sent to a model provider | Usually nobody; it looks like ordinary SaaS traffic |
| Desktop chat apps | Files, screenshots, and pasted text | Endpoint software inventory, partly |
| Coding agents on personal API keys | Source code, environment files, command output | The developer and the provider's billing page |
| Locally configured MCP servers | Anything the server can read, with the user's privileges | Nobody; it is a config file on a laptop |
The coding-agent and MCP rows matter because those tools act. A local MCP server runs with the same permissions as the person who installed it. The MCP security guide lists arbitrary code execution and data exfiltration among the risks of local servers from untrusted sources, and recommends sandboxing and explicit consent before running them.
What the risk actually is
The risk is not that people use AI. It is that company data goes to services under terms nobody reviewed, that no record exists when something goes wrong, and that spending and access grow without an owner. Each of those has already produced real incidents.
The best-known early case is Samsung. In May 2023, NBC News reported that Samsung restricted employee use of generative AI on company computers after staff uploaded sensitive code to ChatGPT. The code had already left by the time the policy arrived.
The aggregate numbers say the same thing at larger scale. IBM's 2025 Cost of a Data Breach report found that organizations with a high level of shadow AI paid an extra USD 670,000 on the average breach. It also found that 63% of the 600 organizations studied had no AI governance policies in place, and that 97% of breached organizations with an AI-related security incident lacked proper AI access controls. AI governance covers the controls that close both gaps, and the evidence each one should leave.
In practice the risks sort into four kinds:
- Data exposure: prompts and files go to a provider under consumer terms, which may allow retention or training.
- No audit trail: when a customer asks whether their data reached a model, nobody can answer.
- Unmanaged spend: personal subscriptions and API keys on personal cards, invisible until someone expenses them.
- Excess access: agents and MCP servers running with a developer's full permissions on production systems.
How shadow AI detection works, and where it fails
Shadow AI detection combines several sources, because each one sees only part of the picture. Network logs see traffic to known AI domains, identity-provider logs see apps connected with corporate accounts, expense data sees paid subscriptions, and endpoint inventory sees installed software. None of them sees what an agent is configured to do.
| Detection method | What it finds | What it misses |
|---|---|---|
| Web proxy, DNS, or CASB logs | Traffic to known AI service domains | Traffic off the corporate network, AI inside approved SaaS, new tools not yet on the domain list |
| Identity provider OAuth grants and SSO logs | AI apps users connected with corporate identity | Personal accounts and direct API keys |
| Expense and card data | Paid subscriptions and API bills | Free tiers and personal spending nobody expenses |
| Endpoint software inventory | Installed desktop apps and CLIs | Browser use, MCP server configs, and what data was sent |
| Employee surveys | Intent, use cases, and unmet needs | Anything people prefer not to report |
Run all five once, because together they give you a baseline inventory. Then accept the limit: detection produces a list. It does not stop the next paste into a personal account, and it has no answer for an MCP server added to a config file yesterday.
Why bans make shadow AI worse
Banning AI tools moves usage to places you see even less of, such as personal phones and home networks, without removing the reason people use them. The reason is that the tools make their work faster, and a policy does not change that.
The Work Trend Index numbers show the scale of the demand: three of every four knowledge workers were already using AI when the survey ran. A ban that ignores that demand produces compliance on company devices and quiet use everywhere else. You also lose the one thing you had before the ban, which was some visibility into what people were doing.
Bans have one legitimate use: as a short pause while you build the alternative. Samsung's restriction was framed as temporary for that reason. Set an end date and publish what will replace it.
What a sanctioned path needs
A sanctioned path works when it is easier to use than the unsanctioned one. That means approved models and tools that people can reach with their existing login, no API key to request, budgets that do not block normal work, and coverage of the apps people already use, including desktop and browser tools that never call your own services.
The requirements, roughly in the order teams build them:
- One endpoint for model calls, MCP tool calls, and agent traffic, with the caller's identity on every request. What an LLM gateway does covers this layer.
- Access through single sign-on, with keys and budgets per team issued automatically.
- An approved list of models, apps, and MCP servers, with a fast way to request additions.
- Guardrails for personal data and secrets, applied to every request.
- A log of every call that security can search.
- Enforcement on the device, for the traffic that would otherwise never reach the gateway.
The last item is the one most programs skip, and it is where most unapproved use lives. A gateway governs traffic sent to it. A desktop chat app, a browser tab, or a coding agent with a personal key sends nothing to it unless something on the machine routes it there.
A gateway plus an endpoint agent
The design that closes the gap has two halves: a gateway that acts as the control plane for AI traffic, and an endpoint component that sends employee tools through it under the same policies. Most gateways govern only the traffic that applications choose to send them. The endpoint half is what reaches the traffic nobody chose to send.
Bifrost, an open-source AI gateway by Maxim AI, ships both halves. The gateway is the control plane. Model calls, MCP tool calls, and agent traffic pass through it, and policy is set once: virtual keys, budgets, rate limits, guardrails, and audit logs.
Bifrost Edge extends those same policies to employee machines. It is a lightweight service for macOS, Windows, and Linux that routes AI traffic from desktop chat apps, browser AI such as chatgpt.com and claude.ai, coding agents, and their configured MCP servers through the gateway. Only AI traffic is routed. Each machine is linked to its user through a one-time sign-in with the company's single sign-on.
Three capabilities address the gaps in the detection table above:
- App governance: admins approve or deny AI apps centrally, and a blocked app is stopped on the device before any data leaves the machine. Newly detected apps arrive as approval requests, and admins choose whether pending apps are allowed or blocked until reviewed.
- MCP governance: Edge reads the MCP configuration of supported apps, including Claude Code, Claude Desktop, Cursor, Codex, Gemini CLI, and OpenCode, and builds a fleet-wide inventory of configured servers. A denied server is enforced on each machine, even if it was configured before the policy existed.
- MDM rollout: Edge deploys through Jamf, Microsoft Intune, Iru (formerly Kandji), Omnissa Workspace ONE, or JumpCloud, with a managed configuration that points it at the gateway, so users never type a server address or key.
Edge requires the Enterprise gateway and is licensed per endpoint. It is not a replacement for endpoint or network security tools, and it does not try to be. Its job is to make the approved path the default path for AI traffic on company machines.
A rollout plan that people will accept
Roll out in the order that adds value before it removes options: inventory, publish the approved set, stand up the sanctioned path, extend it to devices, and only then block. Teams that block first spend the first month handling exceptions.
- Inventory. Run the detection methods above for two weeks and list the tools, servers, and use cases you find.
- Publish the approved set. Name the models, apps, and MCP servers people can use, and the process to request more.
- Stand up the gateway. Connect it to single sign-on, issue access by team, and set budgets that cover normal use.
- Pilot the endpoint layer with one team, in a mode that allows pending apps while logging them.
- Roll out through MDM to everyone, then switch pending apps and servers to blocked until reviewed.
- Review requests every week. A request that waits a month is a request for shadow AI.
Measure the program by two numbers: the share of AI traffic that goes through the sanctioned path, and the median time to approve a new tool. The first should rise and the second should fall.
Frequently asked questions
What is shadow AI?
It is the use of AI tools, models, agents, or MCP servers inside an organization without approval or visibility from IT and security. Common examples are personal chatbot accounts used for work, browser extensions that read internal pages, coding agents running on personal API keys, and AI features switched on inside approved software. The defining trait is that nobody responsible for the data knows it is happening.
What is the difference between shadow AI and shadow IT?
It is a subset of shadow IT, the broader term for any technology used without approval. The difference is in what it does with data. A shadow SaaS app stores data in one place. An AI tool sends that data to a model provider, may retain it, and, in the case of agents and MCP servers, can act on systems with the user's permissions.
How do you detect shadow AI?
Combine sources. Web proxy, DNS, and CASB logs show traffic to known AI domains. Identity-provider logs show AI apps connected with corporate accounts. Expense data shows paid subscriptions, and endpoint inventory shows installed apps. Each misses something, and none reveals MCP servers configured on a laptop, so endpoint-level discovery is needed for complete coverage.
What are the risks of shadow AI?
The main risks are data exposure, no audit trail, unmanaged spend, and excess access. Data pasted into personal accounts leaves under terms nobody reviewed. Security cannot answer what reached a model. Costs sit on personal cards. Agents and MCP servers run with a developer's full permissions. IBM's 2025 report found that high levels of shadow AI added USD 670,000 to the average breach cost.
Should companies ban ChatGPT and other AI tools?
Only as a short pause while a sanctioned alternative is built. Bans move usage to personal devices and networks where it is harder to see, and they do not remove the demand. A better approach is an approved path that is easier to use than the unapproved one, with single sign-on, approved models, budgets, guardrails, and logging, plus enforcement on company devices.
What tools help manage shadow AI?
Three categories cover most of it. Discovery tools, such as CASB and secure web gateways, find traffic to known AI services. An AI gateway gives approved use a single governed endpoint with identity, budgets, guardrails, and logs. An endpoint layer, such as Bifrost Edge, routes AI traffic from desktop apps, browsers, coding agents, and MCP servers on company machines through that gateway.
Sources
- 012025 Cost of a Data Breach Report: Navigating the AI rush without sidelining securityIBM
- 02Microsoft and LinkedIn release the 2024 Work Trend Index on the state of AI at workMicrosoft
- 03Samsung bans use of AI-like ChatGPT for employees after misuse of the chatbotNBC News
- 04Security best practicesModel Context Protocol
- 05Bifrost EdgeMaxim AI
- 06Edge app governanceBifrost docs
- 07Edge MCP governanceBifrost docs
- 08Deploy Edge with MDMBifrost docs