On this page
Shadow AI: What It Is, The Risks & How to Govern It
The complete guide to unauthorized AI usage in your organization — statistics, detection checklist, risk categories, and the governance framework to bring shadow AI under control.
14 min readWhat Is Shadow AI
Shadow AI refers to AI tools, models, and services used within an organization without formal IT or security approval, visibility, or governance. It is the next evolution of shadow IT — but with a fundamentally different risk profile. When an employee uses Dropbox without approval, they're storing files. When they use ChatGPT without approval, they're sending proprietary data to an external AI model.
Shadow AI exists on a spectrum, from browser-based AI tools that employees access through their web browsers, to personal API keys that developers use for work tasks, to fully autonomous AI agents running on developer laptops with access to internal systems.
Personal API Keys
Risk: highDetection: MediumDevelopers using personal OpenAI/Anthropic keys for work tasks
Unapproved Coding Agents
Risk: highDetection: EasyCursor, Copilot, Windsurf without IT approval or governance
Browser-Based AI
Risk: mediumDetection: EasyChatGPT, Claude.ai, Gemini used for work tasks via web browser
Internal Direct-API Tools
Risk: highDetection: HardTeams building AI features using direct provider APIs
Shadow Agents
Risk: criticalDetection: HardAutonomous AI agents running on dev machines with tool access
Shadow AI detection approaches
- Netskope — CASB/SSE platform with AI app discovery. Detects which AI SaaS apps employees access at the network level but has no visibility into prompt content, tool usage, or agent behavior.
- Zscaler — Zero-trust network access with AI app visibility. Similar network-level detection without application-level AI governance.
- Nightfall AI — DLP for AI that scans prompts for sensitive data. Focused on data loss prevention only — no cost tracking, agent management, or tool governance.
How Axiom differs
Axiom provides application-level AI governance, not just network-level detection. While CASBs detect which AI apps employees visit, Axiom governs what happens inside those interactions — prompt content, tool usage, cost, and compliance. Detection is step one; governance is the destination.
Shadow AI Statistics
The scale of shadow AI is larger than most organizations realize. Data from 2024–2025 research paints a consistent picture: AI adoption is outpacing governance, and the gap is widening.
50%+
of employees use AI tools at work, many without IT approval
McKinsey 2025
1 in 4
employees have pasted company data into AI tools
Cyberhaven
4–6 mo
average time before organizations discover shadow AI usage
Industry surveys
$20–50K
per month in untracked AI API charges at mid-market companies
Axiom analysis
73%
of AI-using employees started before their company had an AI policy
Microsoft Work Trend Index
38%
of enterprise code commits now involve AI assistance
GitHub 2025
The pattern across these statistics is clear: employees adopt AI tools because the productivity gains are real, but they do so before governance is in place. The window between adoption and discovery — typically 4 to 6 months — is when the most risk accumulates. Data leaks, compliance violations, and cost overruns all compound during this blind period.
For engineering teams specifically, the risk is amplified. AI coding agents don't just answer questions — they write production code, access repositories, execute shell commands, and interact with internal APIs. When 38% of code commits involve AI assistance and most organizations can't distinguish AI-generated code from human-written code, the governance gap becomes a security gap.
How Shadow AI Enters Your Org
Shadow AI follows a predictable lifecycle. Understanding this pattern helps organizations intervene early — before ungoverned AI usage becomes deeply embedded in critical workflows.
Stage 1: Individual Discovery
A developer discovers a coding agent at a conference, in a blog post, or from a colleague. They sign up with a personal email, create an API key, and start using it for work tasks. Productivity increases noticeably.
Stage 2: Team Adoption
The developer shares the tool with teammates. Within weeks, five to ten people on the team are using it daily. Some are using personal API keys; others share credentials informally.
Stage 3: Infrastructure Embedding
AI agents become part of the daily workflow. They write production code, review pull requests, and interact with internal systems. The team's velocity now depends on these tools.
Stage 4: Late Discovery
IT or Security discovers the usage months later — during an audit, through an expense report anomaly, or after a security incident. By this point, removing the tools would significantly impact productivity.
Stage 5: Retroactive Governance
The organization scrambles to implement governance retroactively — far more difficult and expensive than governing from the start. Workflows must be migrated, credentials centralized, and audit trails reconstructed.
The Real Risks
Shadow AI risks span five categories. Each represents a distinct threat vector, and most organizations are exposed across all five simultaneously.
Data leakage is the most immediate risk. Developers paste proprietary algorithms into ChatGPT. Customer PII appears in coding agent prompts. API keys end up in AI-generated code committed to repositories. Every prompt sent to an external LLM is data leaving your organization.
Compliance violations follow quickly. A healthcare developer sends protected health information to OpenAI without a business associate agreement — a HIPAA violation. Financial data is processed by an unapproved AI vendor with no audit trail for regulatory review. These violations are discovered during audits, when remediation is expensive and reputation damage is real.
Cost blindspots are universal. A typical mid-market company discovers $20,000 to $50,000 per month in untracked AI API charges when they finally audit shadow AI usage. Personal API keys billed to individual credit cards, teams each running their own LLM accounts, with no centralized cost visibility or optimization.
Shadow AI in the SDLC
AI coding agents create unique shadow AI risks in the software development lifecycle. These agents don't just answer questions — they write production code, access repositories and databases, generate thousands of lines per session, and can bypass traditional code review when teams fast-track AI-generated pull requests.
The key questions every engineering organization should be able to answer: What percentage of production code is AI-generated? Which coding agents are used by which teams? What repositories, databases, and internal systems are agents accessing? Are AI-generated pull requests passing security scans at the same rate as human-written code?
The challenge is that banning AI coding agents doesn't work. Developers who experience a 2-3x productivity improvement will find ways to use these tools regardless of policy. The answer isn't prohibition — it's governance. Provide approved, governed AI tools that are just as easy to use as the shadow alternatives.
Make coding agents visible and governed
Instead of banning AI coding agents, VibeFlow provides a structured workflow for autonomous agents: tracked tasks, execution logs, context management, and audit trails. Every line of AI-generated code is attributable and auditable — without sacrificing developer productivity.
Shadow AI vs Shadow IT
Shadow AI is sometimes dismissed as "just another form of shadow IT." It's not. While both involve unauthorized technology, the risk profile is fundamentally different.
Shadow IT stores and transfers data. An employee using Dropbox without approval stores files in an unapproved location. The data exists in one additional place. The risk is data residency, access control, and backup coverage.
Shadow AI processes, generates, and transmits data. An employee pasting proprietary code into ChatGPT sends that data to an external model that may use it for training. The AI generates responses that could contain derived intellectual property. The data doesn't just move — it's transformed, and the transformation creates new risks.
Three dimensions where shadow AI risk exceeds shadow IT:
- Data direction. Shadow IT receives data (files uploaded to Dropbox). Shadow AI sends data out and receives generated data back — proprietary context leaves the organization in every prompt.
- Autonomy. Shadow IT tools are passive (they do what the user asks). Shadow AI agents are active — they make decisions, execute commands, write code, and interact with internal systems autonomously.
- Output risk. Shadow IT's output is the same data that went in. Shadow AI's output is generated content — code with potential vulnerabilities, text with potential hallucinations, decisions with potential bias. The output must be governed, not just the input.
Why this distinction matters
Shadow AI Detection Checklist
A comprehensive checklist for detecting shadow AI across five domains. Use this as a quarterly audit guide — most organizations find that combining all five methods catches 3–5x more shadow AI than any single method alone.
Monitor DNS/traffic to known AI API endpoints (api.openai.com, api.anthropic.com, generativelanguage.googleapis.com)
Check proxy logs for AI SaaS domains (chat.openai.com, claude.ai, gemini.google.com)
Audit outbound HTTPS traffic for AI SDK user-agent strings
Scan developer machines for AI tool binaries (cursor, copilot, windsurf, claude-code)
Check running processes for AI agent activity (node processes with AI SDK signatures)
Inventory browser extensions related to AI coding or chat
Audit expense reports for AI provider charges (OpenAI, Anthropic, Google AI, Cohere)
Check corporate credit cards for recurring AI subscription charges
Review cloud billing for AI API usage spikes not attributed to approved projects
Scan commit messages for AI tool references (copilot, claude, cursor, AI-generated)
Check for .cursor/, .github/copilot, .claude/ config directories in repositories
Analyze code patterns for AI-generation signatures (consistent comment styles, boilerplate patterns)
Run anonymous developer survey on AI tool usage (quarterly)
Track AI tool requests to IT (unmet demand signals shadow adoption)
Monitor Slack/Teams for AI tool discussions and sharing
Start with network monitoring and financial auditing — they're the fastest to implement and catch the most common shadow AI patterns. Add endpoint scanning and code analysis as you mature. Developer surveys are valuable at any stage and often surface usage that technical methods miss entirely.
Detection is not governance
From Detection to Governance
The wrong approach to shadow AI is banning all AI tools. It doesn't work — it drives usage further underground, making it even harder to detect and govern. The right approach is providing governed alternatives that are just as easy to use as the shadow tools.
Step 1: Discover
Use the detection strategies above to inventory all AI usage across the organization. Build a complete picture of tools, providers, costs, and data flows.
Step 2: Approve
Evaluate discovered tools against security criteria. Approve those that meet requirements. For tools that don't pass, identify governed alternatives that provide equivalent capability.
Step 3: Provision
Provide approved tools through a governed channel — route all AI traffic through a gateway. Make the governed path easier than the shadow path by eliminating friction (no personal API keys needed, pre-configured tools, centralized billing).
Step 4: Monitor
Establish continuous visibility into all AI usage. Dashboard showing real-time cost, usage patterns, policy violations, and new tool adoption. Alert on anomalies and ungoverned traffic.
Step 5: Optimize
Use data to improve policies, reduce costs, and enhance security. Identify underutilized tools, optimize model selection, and refine access controls based on actual usage patterns.
The principle
The Gateway Approach
The central thesis of shadow AI prevention is simple: route all AI traffic through a single governed layer. When every LLM call, tool invocation, and agent interaction flows through a gateway, shadow AI becomes impossible — because there is no "ungoverned" path.
Before: No Visibility
After: Full Governance
The gateway approach works across all AI traffic types. LLM traffic routes through the LLM Gateway — all API calls to OpenAI, Anthropic, Google, and local models. Tool access routes through the MCP Gateway — all agent-to-tool interactions. Agent communication routes through the A2A Gateway — all agent-to-agent interactions.
The key benefit is that governance happens at the infrastructure level, not the application level. Developers don't need to add logging, implement PII redaction, or track costs in their code. The gateway handles it automatically — providing complete visibility without disrupting developer workflows.
Eliminate shadow AI with infrastructure-level governance
Axiom's gateway stack provides the infrastructure layer that makes shadow AI impossible. Route all AI traffic — LLM calls, tool access, agent communication — through governed gateways. Complete visibility, automatic compliance, and zero friction for developers.
Measuring Success
A shadow AI governance program needs clear KPIs to measure progress and demonstrate ROI. These five metrics provide a comprehensive view of governance maturity:
AI tool inventory coverage
Tools discovered / estimated total
Governed AI traffic
Requests through gateway / total AI requests
Time to discover new AI usage
First use → detection time
Cost visibility
Tracked AI spend / total AI spend
Compliance evidence coverage
Interactions with audit trail / total
Start by establishing baselines for each metric during the discovery phase. Track progress weekly as you implement governance controls. Report to leadership monthly with trend data showing improvement. The goal is to reach target levels within the first quarter of governance deployment — then maintain and optimize continuously.
Ready to eliminate shadow AI?
Axiom's gateway architecture provides complete visibility into all AI usage — LLM calls, tool access, and agent communication — with automatic governance at the infrastructure level.
Contact UsContinue Learning
AI Governance Framework
Policy, compliance, and cost control for enterprise AI systems
AI Compliance & Regulations
Navigate EU AI Act, SOC 2, HIPAA, and ISO 27001 for AI systems
LLM Gateway
The infrastructure layer that makes shadow AI impossible
AI FinOps
Track and attribute the hidden AI costs that shadow AI creates
AI Observability
Detect unauthorized AI usage with metrics, traces, and anomaly detection