TL;DR
- Shadow AI in software development is developers using AI coding tools, accounts, extensions, or agent connectors that the organization has not approved or cannot see.
- It is common, and Sonar’s 2026 State of Code survey found 35% of developers reach the top AI tools through personal accounts, rising to 52% for ChatGPT. Stack Overflow’s 2026 survey adds that only 24% of developers say their employer has approved tools or an official AI policy.
- The main risks are source code and secrets leaving the company, code of unknown origin reaching production, and agent connectors running with broad local access.
- Bans rarely work because the tools make developers faster. A sanctioned path that is easier than the workaround does.
- Forge by Opsera gives teams that path: approved assistants connect through one MCP server with personal tokens, sensitive data is redacted before it reaches a model, and every change traces to a work order.
In 2023, Samsung temporarily banned generative AI tools in one of its largest divisions after reports that staff had entered source code into ChatGPT. Most shadow AI never makes the news. It looks like a developer debugging a stack trace in a personal chatbot account, or a contractor trying an agent CLI over a weekend.
That was the picture a routine security review found at a 180-engineer health-tech software company: personal chatbot accounts, an unvetted agent CLI, and model API keys in personal scripts, some of it near patient data. Nobody acted in bad faith. What follows covers what shadow AI looks like, why it spreads, what it risks, and how to govern it without banning the tools engineers rely on.
What Is Shadow AI in Software Development?
Shadow AI in software development is the use of AI coding tools, accounts, extensions, models, or agent connectors that an organization has not approved or cannot see. It covers personal chatbot accounts, unvetted IDE plugins, personal API keys and agent tools running on developer machines, and the AI-generated code they send into the codebase.
Shadow AI is the AI-era version of shadow IT, with one difference worth noting. Shadow IT usually stored company data somewhere it should not be. Shadow AI also produces code that flows back into production, so the risk runs both ways.
What Does Shadow AI Look Like in a Software Team?
- Personal chatbot accounts. A developer pastes a function, a log, or an error into a consumer AI account to debug it.
- Unvetted IDE extensions. A coding plugin installed from a marketplace, sending code to a provider whose security has never been reviewed.
- Personal API keys. Scripts and side tools calling model APIs on a developer’s own key, outside any spend or data controls.
- Agent CLIs and MCP servers. Coding agents and the tool servers they connect to, running with the developer’s local permissions.
- Unattributed AI code. Pull requests built with any of the above, merged without anyone knowing which tool wrote what.
| Sanctioned AI | Shadow AI | |
|---|---|---|
| Account | Enterprise, managed by IT | Personal or free tier |
| Data terms | Reviewed, often no training on inputs | Consumer terms, unknown retention |
| Visibility | Usage, spend, and access logged | None for security or finance |
| Code provenance | Traceable to a tool and a person | Unknown |
Why Do Developers Use Unsanctioned AI Coding Tools?
Developers use unsanctioned AI coding tools because the tools make them faster, and the approved option is often slower to get, narrower, or missing. Shadow AI is usually a symptom of a gap, not of bad intent.
Shadow AI by the Numbers
Recent surveys put numbers on how far it has spread.

- Personal accounts are common. Sonar’s State of Code Developer Survey of more than 1,100 developers found 35% reach the top ten AI tools through personal accounts. The figure was 52% for ChatGPT and 63% for Perplexity.
- Governed rollouts work. In the same survey, GitHub Copilot and Amazon Q Developer showed only 17% personal use, and teams used an average of four AI tools.
- Security cannot see it. Cycode’s survey of more than 400 CISOs and security practitioners found AI-generated code in every organization, while 81% lacked full visibility into AI use across the SDLC.
- Policy trails use. In Stack Overflow’s 2026 Developer Survey, 66% of respondents use coding assistants or agents, yet only 24% say their employer has approved tools or an official AI policy, and three in ten say AI use at work is optional and left to the individual.
- Verification lags code. Sonar’s 2027 State of Code Developer Survey of 1,026 developers and engineering managers found AI generates or significantly assists 65% of committed code, and 76% agree they generate AI code faster than they can verify it.
The Copilot and Amazon Q figures carry the main lesson. When a company rolls out a good tool top down, personal use drops sharply.
What Pushes Developers Toward Shadow AI?
- Speed: 66% of developers use coding assistants or agents, and a developer who has seen the gains will not wait months for approval.
- Gaps in the approved tool: The sanctioned assistant may lack agent mode, a newer model or long-context work.
- Slow procurement: A security review can take a quarter while a free tier takes a minute.
- Habit: Many developers used a personal account before their employer had a policy.
At the health-tech company, all four applied. The approved Copilot plan covered completions, but the team wanted an agent that could work across the repository, and the request had sat in procurement for ten weeks.
What Are the Risks of Shadow AI in Software Development?
The risks of shadow AI fall into two directions: what leaves the company, and what comes back into the codebase. Both are harder to manage when nobody knows which tools are in use.
What Leaves the Company
- Source code and IP. Code pasted into a consumer account may be retained or used under consumer terms the company never accepted.
- Secrets. Stack traces, config files and logs often carry API keys, connection strings or tokens.
- Regulated data. Test fixtures and error payloads can contain customer or patient records.
What Comes Back Into the Codebase
- Code of unknown origin. Without knowing which tool wrote a change, reviewers cannot weigh it, and auditors cannot trace it.
- Weak security defaults. Working code is not the same as trustworthy code. Opsera’s ForgeScore study of 83 public repositories from 29 AI model organizations found trust boundaries, covering authentication, secrets and data access, were the weakest of eight dimensions, averaging 71.1 out of 100.
- Over-privileged agents. Agent tools and the MCP servers they call run with the developer’s local permissions, which Opsera’s MCP security guide treats as a supply-chain risk to inventory and sandbox.
- Unmanaged spend. Personal API keys sit outside any budget, so cost appears late, on an expense report, or not at all.
What Does Shadow AI Cost When It Goes Wrong?
IBM’s Cost of a Data Breach Report 2025 put numbers on it.
- One in five organizations reported a breach caused by shadow AI.
- Organizations with high levels of shadow AI paid about $670,000 more per breach than those with little or none.
- 63% of breached organizations had no AI governance policy or were still developing one.
- The global average breach cost $4.44 million.
Why Is Shadow AI Hard to Detect?
Most shadow AI leaves no trace in the systems security watches. A browser tab, a local CLI or an IDE extension looks like normal developer activity, and AI-generated code looks like any other commit. It also helps explain why 52% of organizations in the Cycode survey had no formal AI governance framework, even though every one of them had AI-generated code.
At the health-tech company, the review found the problem only because one developer mentioned the agent CLI in a retro. Nothing in the logs had flagged it.
How Do You Detect Shadow AI in a Software Team?
Detect shadow AI by combining what developers tell you with what your systems already record. No single signal catches everything, but five together cover most of it.
| Signal | What to look for |
|---|---|
| A blameless survey | Which assistants, agents and plugins people use, and why |
| Expense and card data | Personal or team subscriptions to AI tools and model APIs |
| Network and DNS logs | Traffic to AI provider API domains from build agents and laptops |
| Device and IDE inventory | Installed editor extensions and agent CLIs on managed machines |
| Secret scanning in repos | Model provider API keys committed to code or config |
A sixth signal comes later, once a governed path exists: commits that arrive outside it. That gap is the clearest measure of how much shadow AI is left.
Is Vibe Coding a Shadow AI Risk?
Vibe coding becomes a shadow AI risk when its output leaves the sandbox. Simon Willison reserves the term for unreviewed, prototype-quality code, which is fine for a throwaway tool. The risk starts when a vibe-coded script or internal app touches production data or gets merged without review, which is exactly what shadow AI makes easy.
How Do You Govern Shadow AI Without Banning It?
You govern shadow AI by making the sanctioned path easier than the workaround, then measuring whether developers take it. Bans push usage further out of sight. A five-step approach works for most engineering organizations.
Five Steps to Bring Shadow AI Into the Light
The steps run in order, and each one makes the next easier.

- Discover. Survey developers without blame and check network and expense data to find which assistants, extensions, models, and MCP servers are in use.
- Sanction. Approve a short list of tools on enterprise accounts, with data terms security has reviewed. Cover the use cases developers need, including agent work.
- Route. Send agent work through one governed path, with shared context, policies and approval gates, instead of separate chat windows.
- Protect. Redact secrets and sensitive data before they reach a model, and limit which connectors and tool servers each team can use.
- Measure. Track usage, spend, and review coverage by team, and compare sanctioned activity with the commits that show up outside it.
What Should a Shadow AI Policy Cover?
| Policy area | What to decide |
|---|---|
| Approved tools | Which assistants, models and agent tools are allowed, on which accounts |
| Data rules | What may never enter a prompt: secrets, customer data, regulated records |
| Connectors | Which MCP servers and integrations are allowed, and who approves new ones |
| Code provenance | How AI-assisted changes are tagged and reviewed |
| Spend | Budgets and alerts per team, and who owns the bill |
| Exceptions | A fast path to request a new tool, with a target turnaround |
The exception path counts most. At the health-tech company, a two-week target for reviewing new tools did more to cut shadow AI than any blocked domain, because developers no longer had a reason to go around the process.
How Does Forge by Opsera Govern AI Coding Tools?
Forge by Opsera gives developers a sanctioned path that works with the assistants they already prefer, so there is less reason to go around it. Approved tools connect to the same specs and context, sensitive data is redacted before it reaches a model, and activity outside the governed path shows up in the numbers.
One Governed Connection for Every Approved Assistant
Developers connect their editor to Forge from the Connect IDE tab, with a one-click install in the editors that support it. One built-in Forge MCP server covers the editors and agent CLIs a team is likely to approve, such as Cursor, Claude Code and Devin.

The Connect IDE tab, where a developer installs the Forge MCP server in their editor with one click.
- Personal tokens. Each developer creates their own API token. The token is shown once at creation and can be revoked.
- Shared specs. The assistant reads the approved intent, requirements, architecture, and work orders, so it builds from the same context as everyone else.
- Admin-controlled connectors. External MCP servers are registered by admins, tested, and placed into allowlists, and Teams scope which projects and connectors each squad can see.
Starting work is just as direct. A work order can be opened in the developer’s own editor with a ready-made prompt, so the sanctioned route is also the shortest one from story to editor.
Sensitive Data Stays Out of Prompts
Forge’s DataShield layer shields every AI call, retrieval path, tool execution, and log write, and it cannot be turned off per tenant. A detected API key becomes a redacted marker before it reaches a model or a log. Tenants can also connect their own model provider keys, so generation runs through their own account.
Approved Models on the Company’s Account
Many personal API keys exist because the approved setup offers too few models. Forge’s AI Provider connectors cover Anthropic, OpenAI, Google Gemini, Amazon Bedrock, Qwen, Moonshot, and custom LLMs. Once a tenant admin connects a key, Forge routes generation through that account instead of the platform’s default key across code review, the Coding Agent, Knowledge Graph enrichment, and Council review, and the calls are billed to the tenant.
Each story also suggests sanctioned models sized for the task, with cheaper options, so a developer has no reason to reach for a personal account.
Every Change Has an Origin
Work in Forge starts from a work order, and commits carry its ID, so each change points back to a requirement and an approver. A developer can open a story in their own editor or hand it to the Forge Coding Agent, and either way the pull request lands in the team’s normal review.

A work order in Forge with its Open in IDE and Coding Agent tabs, so the developer chooses how it gets built, and either way the change traces back to it.
Security Agents also comment on intent, specs and architecture as they are drafted, so risky choices surface before any code exists. Where a team hands work to the Coding Agent, the result still arrives as a pull request for review.
Seeing What Happens Outside the Governed Path
Forge’s Insights view has a Dev Activity tab that splits commits made through Forge from commits made outside it, which Forge calls shadow delivery.
Platform Admins can also see agent token use and cost, so spend becomes something security and finance can see per project, instead of a line on a personal card.
Conclusion: Make the Governed Path the Easy One
The health-tech company never banned a single tool. It asked developers what they used and why, cleared the agent request that had sat in procurement for ten weeks, and gave them a route through Forge that was quicker than the workaround. Developers kept the agents they wanted, and the share of commits arriving outside the governed path became a number security could watch fall.
That is the lesson behind most shadow AI. Developers are not trying to get around security; they are trying to ship. Treat every workaround as a note on what the approved path is missing, close those gaps, and make the governed route the fastest one. Visibility follows.
Start with the blameless survey this week. Once you know which assistants your developers rely on, see how Forge by Opsera connects them through one governed path, with personal tokens, redaction, and a record of every change.
Questions.
What is shadow AI in software development?
Shadow AI in software development is the use of AI coding tools, accounts, extensions or agent connectors that the organization has not approved or cannot see. Common examples are personal chatbot accounts, unvetted IDE plugins, personal API keys and agent CLIs running on developer machines.
How common is shadow AI among developers?
Very common. Sonar's State of Code survey of more than 1,100 developers found 35% reach the top AI tools through personal accounts, rising to 52% for ChatGPT. Stack Overflow's 2026 survey found only 24% of developers say their employer has approved tools or an official AI policy. Cycode found 81% of security teams lack full visibility into AI use across the software development lifecycle.
What are the biggest shadow AI risks?
The biggest shadow AI risks are source code, secrets, and regulated data leaving the company; code of unknown origin reaching production; and agent tools running with broad local permissions. Unmanaged spend on personal API keys is a smaller but common side effect that finance usually finds late.
How do you detect shadow AI?
Combine what developers tell you with what your systems already record: a blameless survey, expense and card data, network and DNS logs, device and IDE inventory, and secret scanning for model provider keys. No single signal catches everything, but together they cover most of it.
Should companies ban unsanctioned AI coding tools?
Bans rarely work, because developers use these tools to move faster and will find workarounds. A better approach is to sanction a short list of tools on enterprise accounts, offer a fast path for new requests, and measure how much activity still happens outside the governed path.
How does Forge help govern shadow AI?
Forge by Opsera connects approved assistants such as Cursor, Claude Code and Devin through one MCP server with personal tokens. DataShield redacts secrets before they reach a model, every change traces to a work order, and Insights separates Forge commits from activity outside it.




