AI Security Research
Comprehensive analysis of AI security threats facing organizations today, including Shadow AI risks, AI agent vulnerabilities, and data leakage patterns. Backed by data from IBM, Gartner, GitGuardian, and LayerX.
Data Leakage and Exposure
Shadow AI represents one of the most significant and underestimated data security threats facing enterprises today. According to LayerX research published in 2025, 89% of enterprise AI usage is completely invisible to security teams. This means that the vast majority of AI interactions occurring within organizations happen outside the view of IT departments, security operations centers, and compliance officers.
The same research found that 77% of employees paste data directly into generative AI prompts, often without realizing the implications. When employees copy and paste data into public AI platforms such as ChatGPT, Claude, Gemini, or Copilot, that data leaves the organization's security perimeter. Depending on the platform's terms of service and data retention policies, submitted content may be stored, processed, or even used to train future model iterations.
The types of data most frequently exposed through Shadow AI include personally identifiable information (PII) such as customer names, email addresses, and phone numbers; authentication credentials including API keys, database passwords, and access tokens; proprietary source code and internal algorithms; financial data including revenue figures, forecasts, and transaction records; legal documents, contracts, and attorney-client privileged communications; and internal strategic plans and product roadmaps.
Once data enters an AI model, the organization loses all control over how that data is processed, stored, and potentially reproduced. There is no recall mechanism, no deletion request that can guarantee complete removal from model weights or cached outputs.
Regulatory and Compliance Violations
Unauthorized AI usage creates direct exposure to regulatory penalties across multiple jurisdictions and frameworks. Organizations that fail to control Shadow AI face compounding compliance risks that can result in significant financial and operational consequences.
GDPR
Under the General Data Protection Regulation, organizations that allow personal data to be processed by unauthorized AI tools face fines of up to EUR 20 million or 4% of total global annual revenue, whichever is higher (GDPR Article 83). When an employee pastes customer data into a public AI tool, the organization has effectively transferred personal data to a third-party processor without a Data Processing Agreement, without a lawful basis for processing, and without the data subject's consent.
EU AI Act
The EU AI Act, enforceable from August 2026, introduces fines of up to EUR 35 million or 7% of global annual turnover for prohibited AI practices (EU AI Act Article 99). Organizations using AI systems without proper risk assessments, transparency measures, and human oversight mechanisms will face enforcement actions. Shadow AI usage makes it impossible to demonstrate compliance with these requirements because the organization cannot document what it cannot see.
ISO 42001
ISO 42001 is the first international standard for AI management systems. It requires organizations to establish, implement, maintain, and continually improve an AI management system. Shadow AI directly undermines every pillar of ISO 42001 compliance because unmanaged AI tools cannot be included in risk assessments, policy frameworks, or continuous improvement processes.
SOC 2 Audit Failures
SOC 2 compliance requires organizations to demonstrate effective controls over data processing and security. When AI tools operate outside sanctioned channels, auditors cannot verify that appropriate controls exist. Shadow AI creates gaps in audit trails that can lead to qualified opinions or outright audit failures, jeopardizing customer trust and business relationships.
Organizations suspecting prohibited GenAI use
69% — Gartner, 2025
Intellectual Property Theft
According to IBM's 2025 Cost of a Data Breach Report, 40% of Shadow AI-related breaches resulted in the compromise of intellectual property. This makes intellectual property theft the single largest category of damage from Shadow AI incidents.
When employees submit proprietary information to AI platforms, they effectively export the organization's most valuable assets into systems that the organization does not control. This includes proprietary source code and algorithms that represent years of research and development investment; product designs, specifications, and engineering documents; business strategies, competitive analyses, and market research; customer lists, pricing models, and sales methodologies; and trade secrets that form the basis of competitive advantage.
The risk is compounded by the nature of large language models. Data submitted to AI platforms may be incorporated into training datasets, meaning that proprietary information could be reproduced in responses to other users. A competitor's employee could potentially receive fragments of your organization's intellectual property simply by asking the right questions.
Security Vulnerabilities
Prompt Injection Attacks
Prompt injection is a class of attack where malicious inputs manipulate AI model outputs. Attackers craft inputs that override system instructions, causing AI tools to reveal confidential information, generate harmful content, or execute unintended actions. When employees use unvetted AI tools, they may unknowingly interact with compromised systems or submit data to platforms vulnerable to prompt injection attacks.
Model Poisoning
Model poisoning occurs when corrupted or malicious data is introduced into AI training datasets. This can result in models that produce biased, inaccurate, or deliberately misleading outputs. When organizations cannot track which AI models their employees use, they cannot assess whether those models have been compromised through data poisoning techniques.
Supply Chain Risks via AI Plugins and Extensions
The ecosystem of AI plugins, extensions, and integrations introduces supply chain risks that are difficult to assess without centralized visibility. Employees may install browser extensions, IDE plugins, or third-party AI integrations that have access to sensitive data. These tools often request broad permissions, including access to clipboard contents, browsing history, and file system access, creating additional attack vectors.
AI Coding Assistant Risks
AI coding assistants represent a particularly acute Shadow AI risk vector because they operate directly within the development environment where the most sensitive organizational data resides. Research from GitGuardian revealed a 6.4% secret leakage rate in repositories using GitHub Copilot, which is 40% higher than the baseline rate of 4.6% in repositories without AI assistance.
In a controlled study, researchers extracted 2,702 hard-coded credentials from Copilot using only 900 targeted prompts. This demonstrates that AI coding assistants can actively facilitate the exposure of secrets that developers embed in code, including API keys, database connection strings, private encryption keys, and service account credentials.
Beyond credential exposure, developers routinely submit proprietary algorithms, internal API schemas, database structures, and architectural designs to AI coding assistants. This creates a continuous stream of intellectual property flowing from the development environment into third-party AI platforms.
AI Coding Assistant Risks
This is precisely the threat vector that Onefend was built to address. Onefend provides real-time visibility into AI coding assistant usage, detects when sensitive data is being transmitted to these tools, and enforces data loss prevention policies at the point of interaction, before the data leaves the developer's environment.
Financial Impact
The financial consequences of Shadow AI are substantial and measurable. IBM's 2025 Cost of a Data Breach Report found that the average cost of a data breach involving Shadow AI reached $4.63 million. This is $670,000 more than the average cost for organizations with low Shadow AI exposure, which stood at $3.96 million.
The report also found that 1 in 5 organizations have already experienced a data breach linked to unauthorized AI usage. Among those breached organizations, 97% lacked any form of AI access controls at the time of the incident.
Average cost of Shadow AI breach
$4.63M — IBM Cost of a Data Breach, 2025
Additional cost vs. low exposure orgs
$670K — IBM, 2025
Loss of Auditability and Governance
According to IBM's 2025 research, only 37% of organizations have established policies to address Shadow AI. This means that nearly two-thirds of organizations have no formal framework for detecting, monitoring, or governing unauthorized AI usage.
Without audit trails documenting which AI tools are being used, what data is being submitted, and what outputs are being generated, organizations cannot demonstrate compliance to regulators, respond accurately to data subject access requests, investigate security incidents involving AI-generated outputs, establish accountability for AI-assisted decisions, or satisfy due diligence requirements from customers and partners.
The absence of governance creates a compounding problem: every day that AI usage goes unmonitored, the gap between actual data processing activities and documented data processing activities grows wider. This makes future compliance efforts increasingly difficult and costly.
Reputational Damage
When Shadow AI leads to a data breach, the reputational consequences extend far beyond the immediate incident. Customers whose data was exposed lose trust in the organization's ability to protect their information. Under regulations like GDPR and state-level breach notification laws, organizations must publicly disclose breaches, making the incident a matter of public record.
Regulatory investigations that follow a breach are often reported by media outlets, amplifying the reputational impact. For organizations in regulated industries such as healthcare, finance, and government contracting, a single Shadow AI incident can trigger the loss of certifications, contract disqualifications, and extended regulatory scrutiny.
Perhaps most critically, when intellectual property is exposed through Shadow AI, the organization may lose its competitive advantage permanently. Unlike financial losses that can be recovered over time, the exposure of trade secrets and proprietary technology creates irreversible competitive damage.
Shadow AI Risk by Industry
Healthcare
Healthcare organizations face unique Shadow AI risks due to the sensitivity of protected health information (PHI) and the strict requirements of HIPAA. When clinicians, researchers, or administrative staff paste patient data into AI tools, they create HIPAA violations that can result in fines of up to $2.1 million per violation category per year. Medical records, diagnostic information, treatment plans, and patient communications are all at risk when AI usage is uncontrolled.
Finance
Financial institutions must comply with SOX (Sarbanes-Oxley), PCI-DSS, and industry-specific regulations governing data handling. Shadow AI in financial services can expose trading algorithms, risk models, customer financial data, and proprietary quantitative strategies. The use of unvetted AI tools for financial analysis or trading decisions also raises concerns about market manipulation and regulatory compliance.
Legal
Law firms and legal departments face the risk of compromising attorney-client privilege when case details, legal strategies, and confidential communications are submitted to AI platforms. Once privileged information enters a third-party AI system, the privilege may be considered waived, exposing both the firm and its clients to significant legal and financial risk.
Government
Government agencies and defense contractors operate under strict data classification and handling requirements including FedRAMP, ITAR, and various classification levels. Shadow AI usage in government contexts can result in the unauthorized disclosure of classified information, violations of export control regulations, and compromise of national security information.
How to Mitigate Shadow AI Risks
Effective Shadow AI mitigation requires a three-pronged approach: real-time detection of AI tool usage across the organization, data loss prevention (DLP) capabilities that intercept sensitive data before it reaches AI platforms, and continuous employee education about the risks and approved alternatives.
Onefend provides enterprise-grade Shadow AI detection and prevention, monitoring AI interactions across browsers, desktop applications, and IDE extensions in real time. Our platform identifies sensitive data in transit, enforces organizational policies, and maintains complete audit trails for compliance.
Learn more about our Anti-Shadow AI solution→
Take Action Against Shadow AI
Every day without Shadow AI controls increases your organization's exposure to data breaches, compliance violations, and intellectual property theft. Onefend gives you visibility and control over AI usage across your entire organization.
Ready to secure your AI journey?
Join the organizations setting the standard for safe AI adoption.
Start detecting Shadow AI