Shadow AI

Also known as: bring your own AI · BYOAI

On this page 7

Shadow AI is the use of artificial intelligence tools, models and services without the knowledge, approval or oversight of an organization’s IT, security or governance functions. In cybersecurity and security fundamentals, it is treated as a specialized and fast-growing form of Shadow IT: employees paste data into public chatbots, connect AI assistants to corporate accounts or build automations on unvetted models, and each of these actions can move sensitive information outside controlled boundaries.

The concept matters because AI tools differ from ordinary unsanctioned software. They ingest and may retain the content users submit, they produce output that people act on, and they increasingly hold delegated permissions to read mail, files and code. Shadow AI therefore combines data leakage, integrity and compliance risks in a single, often invisible activity.

How Shadow AI emerges in organizations

Shadow AI usually starts with good intentions and convenience. Generative AI services are available in a browser within seconds, often free, and they deliver immediate productivity gains in writing, coding, translation and analysis. When official tools are missing, slow to approve or less capable, staff fill the gap themselves.

The main entry points differ in how visible they are to security teams and in how much access they gain. The table below groups the typical forms of Shadow AI by channel.

ChannelTypical exampleVisibility to security teams
Public chatbotsPasting a contract or source code into a consumer AI chatLow unless web traffic is inspected
Browser extensionsAI writing helpers that read every page and form fieldVery low on unmanaged browsers
Embedded SaaS featuresAI functions switched on inside an approved applicationLow, hidden inside sanctioned traffic
OAuth-connected agentsAssistants granted access to mailbox, calendar or driveModerate if consent logs are reviewed
Self-hosted modelsOpen-weight models run on a workstation or cloud accountLow, appears as ordinary compute
Personal API keysScripts calling a model API billed to a private cardVery low, outside procurement
Common channels of Shadow AI

A significant share of Shadow AI now arrives through features added to already approved software. A vendor update can introduce AI processing of customer data without any new procurement step, which means that the boundary between sanctioned and unsanctioned use is not always obvious even to administrators.

Security risks of Shadow AI

Shadow AI affects every element of the CIA triad. Confidentiality suffers when data leaves the organization, integrity suffers when unverified AI output enters decisions or code, and availability can suffer when critical workflows depend on a service nobody manages.

RiskMechanismPossible consequence
Data leakageConfidential text submitted to an external serviceLoss of trade secrets or personal data
Retention and trainingProvider stores prompts or uses them to improve modelsData persists beyond the organization’s control
Regulatory breachPersonal data processed without a legal basis or contractViolations of GDPR, HIPAA or sector rules
Excessive permissionsAI agents granted broad OAuth scopesLarger attack surface and account takeover paths
Prompt injectionMalicious content steers an agent connected to internal dataUnauthorized actions or data exfiltration
Output integrityHallucinated facts or insecure generated codeFaulty decisions and new vulnerabilities
Intellectual propertyUnclear ownership or licensing of generated contentLegal disputes and contamination of products
Risk categories and their consequences

The lack of an audit trail compounds all of these risks. If an incident occurs, the organization often cannot determine what was submitted, to which provider, under what terms, or whether the data can be deleted, which makes breach assessment and notification extremely difficult.

Shadow AI compared with Shadow IT and insider threat

Shadow AI shares its root cause with Shadow IT, namely unmet business needs combined with weak governance, but its risk profile is distinct. It is also different from an insider threat, because the person involved typically has no malicious intent.

AspectShadow ITShadow AIInsider threat
Typical intentProductivityProductivityOften malicious or negligent
Data flowStorage or processing in an unapproved serviceData submitted as model input, sometimes retainedDeliberate or careless disclosure
Output riskLowHigh, output may be wrong or unsafeVaries
AutonomyTools act only on user commandsAgents may act with delegated permissionsHuman-driven
Primary controlAsset discovery and procurementAI governance, data controls and approved alternativesMonitoring and least privilege
How Shadow AI relates to neighboring concepts

Detecting and governing Shadow AI

Effective management of Shadow AI relies on visibility, safe alternatives and clear policy rather than blanket prohibition. Outright bans tend to push usage onto personal devices, where it becomes completely invisible.

  1. Discover usage through secure web gateways, cloud access security brokers, DNS logs, browser management and reviews of OAuth consent grants.
  2. Publish an acceptable use policy for AI that classifies which data may be submitted to which category of tool.
  3. Provide sanctioned AI services with enterprise terms, such as no training on customer data, defined retention and regional processing.
  4. Apply data loss prevention rules that detect source code, personal data or classified labels in prompts and uploads.
  5. Restrict OAuth scopes and require administrator approval for third-party applications that request mailbox or file access.
  6. Train staff on concrete examples, including prompt injection and the need to verify AI output before use.

Frameworks such as the NIST AI Risk Management Framework and ISO/IEC 42001 for AI management systems provide structure for this governance, and the EU AI Act adds obligations that depend on how AI systems are used. An inventory of AI systems in use, including those discovered rather than procured, is a recurring requirement across these frameworks.

Common mistakes in addressing Shadow AI

Organizations often respond to Shadow AI in ways that reduce visibility instead of risk. The most damaging error is a ban without an approved alternative, which drives usage underground while employees continue to face the same workload.

  • Treating all AI tools alike, instead of distinguishing consumer services from enterprise offerings with contractual data protection.
  • Ignoring embedded AI features in existing SaaS platforms during vendor reviews.
  • Focusing only on chatbots while overlooking extensions, agents and personal API keys.
  • Relying on policy alone, without technical controls or regular discovery.
  • Neglecting output validation, so that generated code and analyses enter production without review.

Understanding it simply

Shadow AI happens when people at work use AI tools, such as chatbots or writing assistants, without the company knowing or agreeing. Usually they just want to finish tasks faster. The problem is that whatever they type or upload may leave the company and end up stored on someone else’s servers.

It is a bit like an employee photocopying confidential files at a public copy shop because the office printer is slow. The intention is harmless, but the company loses track of where its information went. The best fix is to offer safe, approved tools and explain clearly what data may be shared.

Applied in practice

A regional insurance company reviews its web gateway logs and finds that more than 200 employees regularly visit public generative AI sites. A follow-up review of OAuth grants shows that 35 users have connected an AI meeting assistant to their corporate calendars and mailboxes, allowing it to record and summarize calls that include customer health data.

The security team revokes the risky grants, blocks uploads of files labeled confidential to consumer AI domains through data loss prevention rules, and within six weeks rolls out an approved enterprise AI assistant with contractual guarantees against training on company data. Staff receive a one-page policy with examples. Three months later, traffic to unapproved AI services has fallen sharply, and the company has, for the first time, a documented inventory of AI tools in use.