LLM10

Model Theft

Unauthorized access to and exfiltration of proprietary LLM models — via theft, copying, or extraction of weights — causing economic and reputational loss.

Source: OWASP Top 10 for LLM Applications v1.1 (CC BY-SA 4.0) — condensed for clarity.
Overview

What it is

Model Theft refers to the unauthorized access and exfiltration of LLM models by malicious actors or APTs. It arises when proprietary models — valuable intellectual property — are compromised, physically stolen, copied, or have their weights and parameters extracted to create a functional equivalent.

The impact can include economic and brand-reputation loss, erosion of competitive advantage, unauthorized use of the model, or unauthorized access to sensitive information contained within it.

As language models become more powerful and prevalent, organizations must prioritize robust security — a comprehensive framework of access controls, encryption, and continuous monitoring is crucial to safeguarding this intellectual property.

Attack surface

Common examples

  • An attacker exploits a misconfiguration in network or application security settings to gain unauthorized access to the model repository.
  • An insider threat: a disgruntled employee leaks the model or related artifacts.
  • An attacker queries the model API with carefully crafted inputs and prompt-injection techniques to collect enough outputs to create a shadow model.
  • A side-channel attack bypasses input filtering to harvest model weights and architecture information to a remote resource.
  • Functional model replication: using the target model to generate synthetic training data (“self-instruct”) to fine-tune another model into a functional equivalent.
  • A stolen shadow model is used to stage adversarial attacks or experiment undetected with advanced prompt injections.
Defense

Prevention & mitigation

  • Implement strong access controls (e.g. RBAC, least privilege) and strong authentication to limit access to model repositories and training environments.
  • Restrict the LLM's access to network resources, internal services, and APIs to reduce insider risk and side-channel attacks.
  • Regularly monitor and audit access logs and activities related to model repositories.
  • Automate MLOps deployment with governance, tracking, and approval workflows to tighten access and deployment controls.
  • Implement controls to reduce the risk of prompt-injection-driven side-channel attacks.
  • Rate-limit API calls and apply DLP-style techniques to reduce data exfiltration and detect extraction activity.
  • Use adversarial-robustness training to detect extraction queries, and tighten physical security measures.
  • Implement a watermarking framework into the embedding and detection stages of the LLM lifecycle.
In the wild

Example attack scenarios

  1. An attacker exfiltrates valuable models and uses them to launch a competing service or extract sensitive information, causing significant financial harm to the original company.
  2. A disgruntled employee leaks the model; public exposure increases attackers' knowledge for gray-box adversarial attacks or direct theft.
  3. An attacker queries the API with carefully selected inputs to collect enough outputs to build a shadow model.
  4. A security-control failure in the supply chain leads to leaks of proprietary model information.
  5. A malicious attacker bypasses input filtering to perform a side-channel attack and retrieve model information to a resource under their control.
Further reading

References

  • Meta's powerful AI language model has leaked online: The Verge
  • AML.TA0000 ML Model Access: MITRE ATLAS
  • D-DAE: Defense-Penetrating Model Extraction Attacks: IEEE
  • Alpaca: A Strong, Replicable Instruction-Following Model: Stanford University
  • How Watermarking Can Help Mitigate the Potential Risks of LLMs?: KDnuggets

How Neural Industries helps. We test, exploit, and remediate Model Theft as part of a full OWASP LLM Top 10 assessment — then hand you the evidence to prove it.

Request an assessment