All insights

Is Your AI Leaking IP? The Threat of Model Distillation

The race to integrate artificial intelligence into corporate workflows has created a new, poorly understood attack surface for intellectual property theft. A widespread industrial practice known as ‘model distillation’, whereby smaller AI models are trained by systematically querying and copying the outputs of more powerful ones, has moved from a niche research technique to a global engine for capability transfer. For any enterprise, particularly the high-stakes legal and M&A advisory teams in the GCC, this transforms any AI service that learns from or retains user queries into a direct and material security risk.

Recent research has exposed the staggering scale of this practice, with one firm, Anthropic, identifying nearly 200 million queries linked to “illicit distillation attacks” from just five campaigns, many originating from state-linked and commercial labs in China [48]. These attacks are not abstract; they involve routing real user prompts through frontier models and harvesting the outputs to train rival systems. When those prompts contain your firm’s confidential deal terms, litigation strategy, or proprietary code, your organization is unknowingly providing free, high-value training data to competitors. In this environment, zero-retention data handling is no longer a feature. It is a non-negotiable architectural requirement for any secure AI deployment.

The Hidden Factory: What is Model Distillation?

To grasp the commercial risk, operators must first understand the technical process. Distillation is a core technique in modern AI, but its application by third parties without consent creates a powerful vector for IP leakage.

Technical Definition vs. Illicit Attack

In machine learning, distillation is the legitimate and widely used process of training a smaller, more efficient “student” model to mimic the behavior of a larger, more capable “teacher” model [16, 22]. This is typically achieved by feeding the student millions of example outputs from the teacher. When used internally by an organization to create cheaper, faster versions of its own proprietary models, distillation is a powerful optimization tool [20, 50].

However, the practice becomes “illicit,” in the framing of AI lab Anthropic, when an organization secretly uses another company’s model as a teacher without permission. Anthropic’s September 2026 report detailed multiple campaigns where attackers systematically harvested the capabilities of their frontier models. These attacks were characterized by:

  • Concealed Identities: Using shell companies and proxy servers to hide the true origin of the queries [46].
  • Fraudulent Access: Employing stolen credentials to create thousands of accounts for large-scale querying [46, 48].
  • Silent Relaying: Routing an application’s end-user queries to a third-party model like Claude or GPT-4, then using the high-quality responses as training data for their own models, often without the user's knowledge [46, 18].

A Global, Industrial-Scale Operation

The scale of these operations is immense. Anthropic reported that the largest campaign, attributed to Chinese tech giant Alibaba, generated 151 million exchanges between May and July 2026 alone, peaking at nearly 3 million queries per day across 3,500 accounts [48]. These campaigns were not indiscriminate; they specifically targeted high-value capabilities like logical reasoning, coding, and agentic tool use, seeking to extract the model's step-by-step “chain-of-thought” reasoning to train their own systems [48, 56]. By stealing not just answers but the underlying logic, attackers can imbue their smaller models with advanced reasoning abilities at a fraction of the development cost.

From Your Prompt to Their Product: How Enterprise Data Becomes Training Fodder

The core danger of distillation for any enterprise is that confidential information uploaded to a retaining AI platform becomes raw material in this global data harvest. While attackers may primarily target the model’s reasoning, the context used in the prompt, the sensitive data provided by the user, is inextricably linked to the process.

This is not a theoretical vulnerability. Multiple public incidents demonstrate how AI tools can silently exfiltrate corporate data:

  • Code Repositories: An analysis of the AI-native code editor Cursor revealed it was making “a full copy of every repo it ever touched within the last month,” a practice it only ceased after public exposure [36].
  • Unsanctioned File Access: Security firm Cymphony found that at one public company, roughly 85,000 sensitive files were accessible to AI agents. In another case, an external collaborator’s unsanctioned AI tool scanned thousands of internal corporate documents [42].
  • Silent Relaying of User Data: Anthropic and OpenAI have both documented Chinese AI labs, including DeepSeek, routing their own users’ queries through US models to generate training data [48, 56, 18]. This means the content of those users’ prompts (be it personal, commercial, or financial) was passed to a third party and used to train a rival model without their consent.

For a legal team reviewing a sensitive merger agreement or a finance team analyzing a confidential P&L, the implication is clear. Uploading that document to an AI platform that retains queries for any reason (be it for “improving the service,” “safety monitoring,” or through an opaque partnership with another AI vendor) creates a direct pathway for that proprietary information to be absorbed into a model accessible by third parties. SEC filings from major corporations now explicitly warn that using AI could result in confidential information becoming “part of datasets accessible by third parties” [34].

The GCC Compliance Minefield: Data Sovereignty and Existing Regulations

For organizations operating in the GCC, the use of data-retaining AI platforms introduces significant compliance risks, even without specific AI-focused legislation. Existing data protection and sovereignty frameworks in the UAE and Saudi Arabia already impose strict rules that make opaque data processing by foreign AI vendors a material liability.

UAE: PDPL, DIFC, and ADGM Regimes

The UAE’s multi-layered data protection landscape creates a complex compliance environment.

  • Federal PDPL: The federal Personal Data Protection Law requires a lawful basis for processing personal data, mandates purpose limitation (data can only be used for the specific reason it was collected), and restricts cross-border data transfers to jurisdictions that lack “adequate” protection [Source: PDPL principles]. Using client data submitted for a legal review to also train a global AI model would likely violate the principle of purpose limitation.
  • DIFC & ADGM: The financial free zones of Dubai (DIFC) and Abu Dhabi (ADGM) have even stricter, GDPR-style regulations. They require that data is collected for “specified, explicit and legitimate purposes” and not processed further in incompatible ways. Any AI vendor acting as a data processor must contractually commit to using data only on the client’s instructions. Retaining or using that data for their own model training without explicit, specific consent would constitute a breach.

Saudi Arabia: NDMO/SDAIA and Data Localization

Saudi Arabia’s national data governance framework, enforced by the National Data Management Office (NDMO) and SDAIA, places a strong emphasis on data classification, localization, and sovereignty.

  • Data Governance: NDMO policies mandate clear data retention schedules and require that any third-party processors adhere to the Kingdom’s strict governance controls.
  • Data Localization: There is a strong regulatory preference for keeping sensitive and confidential data within the Kingdom. Uploading classified corporate or government-related documents to a foreign-hosted AI platform that may train on or transfer that data across borders could directly conflict with these localization requirements.

This regulatory climate is driving a clear trend toward sovereign AI. The recent announcement of Gaia, a Saudi-based sovereign AI platform, explicitly highlights that it operates in a way where “data never leaves the organization” [15]. For legal and finance teams in the region, the message is unambiguous: the risk of data residency and purpose limitation violations makes any reliance on non-sovereign, data-retaining AI models untenable for sensitive work.

The Myth of "Opt-Out": Why Retention Policies are Not an Airtight Solution

Many AI vendors offer an “opt-out” from having conversations used for model training. However, for high-assurance legal and financial workflows, relying on this is insufficient. Public analyses and vendor policies reveal several critical gaps:

  • Feedback Loops: The simple act of providing feedback, like clicking a “thumbs-up” on a response, can trigger a process where the entire conversation is “slurped up, retained, and used in training data,” potentially overriding a user’s opt-out setting [31].
  • De-identification is Not Anonymisation: Even if data is “de-identified” by stripping names, the underlying business logic, strategic frameworks, proprietary deal structures, or lines of code within the prompts remain. This sensitive intellectual property can still influence a model's future behavior and be subtly reconstructed by other users, even if the source cannot be directly attributed [31, 33].
  • Opaque Data Chains: It is incredibly difficult for vendors to prove a negative. That specific data was not used in training, especially when data passes through multiple systems for analysis, safety filtering, and evaluation [31, 33].

For corporate IP, the risk model must be binary. Any platform that logs queries, allows those logs to enter any training or evaluation pipeline, or routes requests to third-party models is, by design, an IP leakage vector. Model distillation simply weaponises that leakage, turning it into a systematic capability transfer.

A New Operational Standard: Zero-Retention and Sovereign Deployment

The threat of model distillation forces a fundamental shift in how enterprises must evaluate AI tools. The focus must move from model performance alone to the underlying data handling architecture. The new standard is sovereign, zero-retention AI, where data is processed ephemerally without being stored, logged, or used for any secondary purpose.

This approach resolves the core bottlenecks and risks inherent in both manual processes and leaky AI tools.

Challenge Legacy Approach (Manual) Risky AI Approach (Public LLMs) Secure Document Intelligence (Zero-Retention RAG)
IP & Data Security Secure (air-gapped), but slow and prone to human error. High Risk. Data retained, used for training, subject to illicit distillation. Potential compliance breach. Secure. Zero-retention architecture. Data processed ephemerally. Can be deployed in a sovereign cloud, VPC, or fully air-gapped.
Review Speed & Scale Extremely slow. A bottleneck for due diligence, e-discovery, and compliance checks. Fast, but accuracy can be unreliable and answers are not auditable. Extremely fast. Ingests and analyses thousands of pages in minutes.
Auditability & Citation Difficult to create a consistent, searchable audit trail of conclusions. No citations. Answers are "hallucinated" from the model's general knowledge, not the source document. Fully Auditable. Every answer is cited directly back to the specific page and passage in the source documents.
Multilingual Support Requires expensive, slow, and security-vetted human translators for Arabic, Farsi, etc. Inconsistent performance. Often translates to English internally, losing nuance. Native support for key languages (e.g., Arabic, Farsi), preserving context and accuracy in multilingual contract review.

An architecture built on Retrieval-Augmented Generation (RAG) with a zero-retention policy, like that of In-Q.AI, provides the solution. It ingests documents into a secure, isolated vector database and answers questions based only on that data, with every answer linked back to the source. The underlying language model has no memory and does not learn from the interaction. Deployment options, from a secure cloud instance to a private VPC or a fully air-gapped on-premise appliance, allow an organization to precisely match its security posture and data residency requirements.

What this means for operators:

  • Scrutinize All AI ToS: Treat any "improves our service" clause as a red flag for data retention and potential use in training.
  • Mandate Zero-Retention: For any work involving confidential client or corporate data, zero-retention should be a mandatory procurement requirement.
  • Prioritize Sovereign Deployment: For organizations in the GCC, favor AI platforms that can be deployed within a local data center or your own private cloud to ensure compliance with data residency rules.
  • Demand Auditable Answers: Insist on RAG-based systems that provide citations for every answer, eliminating hallucinations and creating a defensible audit trail for legal and compliance purposes.

The age of casually using public AI tools for serious corporate work is over. The industrialization of model distillation has made it clear that data security and intellectual property protection must be the primary criteria for selecting an AI platform.

Sources

Back to all insights