How to Govern Shadow AI Tools: 5 Open-Source Fixes That Work
Banning employee AI doesn't work. These five open-source layers turn shadow AI into an inventoried, auditable part of the stack instead of a $670,000 breach waiting to happen.
- 01Providing employees with sanctioned AI tools reduces unauthorized shadow usage by nearly 89%.
- 02Shadow AI breaches cost organizations $670,000 more on average and take 247 days to identify.
- 03By 2028, the average Fortune 500 company is projected to run more than 150,000 AI agents.
- 04Using an Agent OS allows IT to enforce real-time security policies without rewriting code.

You govern shadow AI by making it visible, not by banning it. Block one tool and employees route around it with the next. The actual fix is giving IT the inventory, the runtime controls, and the sanctioned alternatives that make ungoverned AI unnecessary. Below are five open-source tools that do exactly that, mapped to the layer of the problem each one solves.
Why bans on shadow AI don't work
More than 80% of employees already use AI tools their organization hasn't approved.1 Nearly all organizations, 98%, have employees running some kind of unsanctioned app, shadow AI included.2 Only 37% of enterprises have any AI governance policy at all.1 Just 18.5% of employees even know such a policy exists, despite 60.2% of them using AI tools at work.1
Banning feels like the obvious fix. It isn't one. When organizations provision sanctioned AI tools that meet the same need, unauthorized use drops by roughly 89%.1 Komprise's 2025 IT survey found nearly 80% of organizations have already had a negative AI-related data incident, and 13% say it caused measurable financial, customer, or reputational harm.3 Employees aren't running shadow AI out of malice. They're running it because the approved tools don't do what they need yet, and the underground ones do.
What does shadow AI actually cost you?
IBM's 2025 Cost of a Data Breach Report treated shadow AI as its own breach category for the first time. Organizations with high shadow AI involvement paid $670,000 more per breach on average and took a median of 247 days to even identify the incident.412 Of the organizations breached through an AI model or application, 97% lacked proper AI access controls, and 63% of breached organizations overall had no AI governance policy at all.42
The shape of the risk is changing too. This isn't someone pasting a customer list into a chatbot anymore. Gartner projects the average Fortune 500 company will run more than 150,000 AI agents by 2028, up from fewer than 15 in 2025.1 Eighty-two percent of CIOs say employees are creating AI agents and apps faster than IT can govern them.1 Each of those agents typically talks to other tools through the Model Context Protocol (MCP), the open standard Anthropic released in late 2024 that lets an agent call external systems directly.5 MCP was built flexible on purpose, so authentication and role-based access control are optional rather than required, and the NSA has flagged the resulting risks, including arbitrary code execution, as high severity.5 In December 2025, OWASP responded with the first formal risk taxonomy for this category, the Top 10 for Agentic Applications 2026, covering goal hijacking, tool misuse, identity abuse, memory poisoning, cascading failures, and rogue agents.6 That taxonomy is now the reference point the newest open-source governance tools build against.
1. Cisco MCP Scanner: audit the connections your employees already built
Most teams didn't choose to run MCP. It arrived because someone wired an agent into Slack, a database, or an internal API, and MCP was the easiest way to do it. Cisco's open-source MCP Scanner, along with its companion Skill Scanner, A2A Scanner, and DefenseClaw tools, scans MCP servers, agent skills, and agent-to-agent traffic for vulnerabilities before they get connected to a production agent. That matters because MCP's security model leaves authentication and RBAC optional by design, so the same flexibility that made it popular also makes an unaudited server an easy path to arbitrary code execution.5 Running a scanner before you approve a new MCP connection is the equivalent of a dependency audit for a package you're about to install, except this package has permission to act on your systems. Teams already wrestling with agents that reach into internal databases will recognize the problem, the same one covered in 5 Ways to Secure Database Access for Internal AI Agents.
2. Microsoft's Agent Governance Toolkit: a policy kernel for autonomous agents
Once you know what your agents are connected to, you need a way to enforce rules on what they're allowed to do, in real time, without rewriting every agent your teams already built. Microsoft's Agent Governance Toolkit, MIT-licensed and released in April 2026, is the first open-source project to claim coverage of all 10 risk categories in the OWASP Top 10 for Agentic Applications 2026.76 It borrows an operating-system pattern: an Agent OS acts as a stateless policy engine that intercepts every agent action before execution, at sub-millisecond latency, under 0.1ms at p99.7 Because it sits underneath the agent framework rather than inside it, it works across LangChain, CrewAI, AutoGen, and other stacks without requiring teams to rewrite agent code.7 That's the practical value: IT gets a centrally controlled policy layer, and the developers who built the agent, sanctioned or not, keep their workflow intact. This is the same scaffolding-not-model shift covered in The Rise of the AI Agent Harness.
3. Praxen: does this agent only do its job?
Runtime policy enforcement answers what an agent can do. It doesn't answer whether an agent, as built and deployed, actually does what its owner claims. Exabeam's open-source Praxen tool fills that gap with a discipline it calls Agent Behavior Verification.89 A team writes a plain-language "Worker Remit," a markdown document declaring the agent's authorized mission, the tools it may touch, and the actions it's forbidden from taking.8 Praxen then reads the evidence, source code, deployment configuration, and behavioral logs, and reports the gap between what was declared and what actually happens.89 For shadow AI specifically, this is the check that catches capability creep: an agent an employee built to summarize tickets that has quietly picked up write access to a CRM nobody remembers granting. Run it before deployment and it catches misconfiguration. Run it after and it catches drift.
4. LiteLLM: a self-hosted gateway that makes shadow usage visible
Most shadow AI isn't exotic agents. It's ordinary API calls that never touch a corporate account. 71% of generative AI connections happen through personal, non-corporate accounts, and even among connections made through corporate accounts, 58% bypass single sign-on entirely.1 That means the CASB and SSO controls most companies rely on miss most of the traffic. LiteLLM, an MIT-licensed, self-hostable AI gateway supporting more than 100 model providers, fixes this by giving every team a single proxy to call instead of a personal API key. Issue virtual keys per team or project, set budgets, route requests, and log everything centrally, and untracked personal spend becomes a governed, observable channel. This is the same principle behind treating your AI workflow as infrastructure you run rather than a pile of vendor logins, a shift covered in more depth in Reclaiming the Dev Cycle.
5. Ollama: give employees a private workspace so data stays put
The blunt truth about shadow AI: most of it exists because employees need to think through sensitive material and the sanctioned tool is slower, worse, or nonexistent. AI is now the single largest channel for corporate-to-personal data movement, accounting for 32% of it, driven largely by employees pasting proprietary information into public tools.110 Running an open-weight model locally through a tool like Ollama gives employees the same drafting and reasoning help without the data leaving company-controlled hardware. It costs nothing per token, requires no outbound API call to audit, and satisfies the same productivity itch that sends people to public ChatGPT in the first place. Teams weighing which local models are actually good enough for daily work should start with The Best Local Open-Source AI and Infrastructure Tools in 2026.
How do you govern shadow AI in practice?
Frameworks like NIST's AI Risk Management Framework offer templates for building the kind of continuously maintained AI inventory that policy enforcement depends on.1 You can't govern what you can't see, and right now most companies can't see most of what's running.
A lightweight rollout for this quarter:
- Inventory the MCP connections you already have. Run Cisco's MCP Scanner or equivalent tooling against every server your agents currently call before approving new ones.
- Insert a policy layer, not a rewrite. Deploy an OWASP-mapped runtime like Microsoft's Agent Governance Toolkit underneath your existing agent frameworks rather than asking teams to re-architect.
- Verify behavior against declared intent. Use a tool like Praxen to write a Worker Remit for every agent with production access and check it before and after deployment.
- Route API spend through a gateway. Stand up LiteLLM so personal keys stop being the default path to a model provider.
- Give people a sanctioned private option. Deploy Ollama or similar for the drafting and reasoning work that would otherwise go to a public tool.
Some teams find it easier to run all five layers under one roof rather than stitching them together piecemeal. That's the gap a platform like Remy is built to close: a single inventory and audit trail across the agents, MCP servers, and gateway traffic a company already has, instead of five separate dashboards. Whichever combination you pick, the sequence matters more than the tooling. See what's running, put a policy layer under it, verify it does what it claims, and give people a sanctioned place to do the work they were already going to do anyway. That's what turns shadow AI from a $670,000 liability into an inventoried, boring, auditable part of the stack.
It's the practice of discovering, inventorying, and applying policy controls to AI tools and agents employees build or adopt without formal IT approval, rather than trying to block them outright. It typically combines scanning existing connections (like MCP servers), runtime policy enforcement, behavior verification, and sanctioned alternatives to unapproved tools.
Because employees adopt shadow AI to fill a real gap, not out of malice, and blocking one tool just pushes usage to another that's harder to see. Data backs this up: when organizations instead provision sanctioned tools that meet the same need, unauthorized use drops by about 89%, far more than blocking alone achieves.
MCP is the open standard, released by Anthropic in late 2024, that lets AI agents call external tools and systems directly. It was designed to be flexible, so authentication and role-based access control are optional rather than required, which the NSA has flagged as creating high-severity risks like arbitrary code execution when unaudited MCP servers get connected to agents.
IBM's 2025 Cost of a Data Breach Report found organizations with high shadow AI involvement paid an average of $670,000 more per breach and took a median of 247 days to even identify the incident, compared to organizations with low or no shadow AI involvement.
Running open-weight models locally through Ollama keeps data on company-controlled hardware instead of sending it to a third-party API, which directly addresses the largest driver of AI-related data exfiltration: generative AI now accounts for 32% of all corporate-to-personal data movement, mostly through public tools.
- 1Shadow AI Apps: The Enterprise Attack Surface That Outpaces MonitoringCloud Security Alliance (CSA Labs)
- 2Shadow AI Statistics: How Unauthorized AI Use Costs CompaniesPrograms.com
- 3Shadow AI: The hidden agents beyond traditional governanceCIO.com
- 4What data leaders need to know from the Cost of a Data Breach Report 2025IBM
- 5Model Context Protocol (MCP): Security Design Considerations for AI-Driven AutomationNational Security Agency (NSA)
- 6OWASP Top 10 for Agentic Applications for 2026OWASP GenAI Security Project
- 7Introducing the Agent Governance Toolkit: Open-source runtime security for AI agentsMicrosoft Open Source
- 8Praxen: Open-source AI agent behavior verificationHelp Net Security
- 9Exabeam Launches Open Source Praxen to Bring Agent Behavior Verification to AI Agents and Digital WorkersBusiness Wire (Exabeam)
- 1015 Private ChatGPT Alternatives That Don't Train on Your DataPrem AI



