Anthropic vs Alibaba: The Model Extraction Crisis That Changes AI Security Forever

Hacker News June 2026
Source: Hacker NewsAnthropicAI securityArchive: June 2026
Anthropic has leveled a bombshell accusation against Alibaba, alleging the Chinese tech giant illegally extracted core capabilities from its Claude AI model. This event, if proven, represents a watershed moment for AI security, exposing the fragility of API-delivered intelligence and triggering a new era of adversarial model protection.

Anthropic, the leading AI safety company behind the Claude model family, has publicly accused Alibaba of engaging in systematic, illegal extraction of Claude's core capabilities. The accusation, delivered through formal legal channels and public statements, alleges that Alibaba's AI research teams deployed sophisticated probing techniques against Anthropic's API endpoints to reverse-engineer Claude's internal reasoning mechanisms, knowledge representations, and architectural details. This is not a simple case of data scraping—it is an alleged attempt to steal the very intellectual property that defines a frontier AI model.

The technical method, known as model extraction or model stealing, involves sending thousands of carefully crafted queries to an API, analyzing the outputs, and using them to train a surrogate model that mimics the original's behavior. While such attacks have been theorized for years, this is the first high-profile accusation involving two of the world's largest AI players. If the allegations hold, the implications are staggering: Alibaba could have gained a multi-year shortcut in developing its own large language models, potentially bypassing billions in R&D investment. For Anthropic, the breach undermines its core business model—charging for API access—and exposes the fundamental vulnerability of any AI company that relies on public-facing inference endpoints.

This incident is already reshaping the AI security landscape. Model providers are rushing to deploy defensive measures like adversarial perturbation, differential privacy, and model watermarking. Regulators in the US, EU, and China are now forced to consider whether existing intellectual property laws are adequate for AI. The accusation also threatens to escalate the US-China technology cold war, with AI model capabilities becoming a new front. For the industry, this is a wake-up call: the era of trusting AI APIs as secure black boxes is over.

Technical Deep Dive

Model extraction, or model stealing, is a class of attacks that aim to replicate a target model's functionality by querying it and using the responses to train a substitute model. The attack Anthropic alleges Alibaba employed likely follows a well-documented methodology first formalized by researchers at Google and Cornell in 2016, but refined significantly for large language models (LLMs).

The Attack Vector: API Probing and Surrogate Training

The core technique involves three stages:
1. Query Construction: The attacker sends a massive number of carefully designed prompts to the victim model's API. These prompts are not random; they are crafted to elicit diverse outputs that reveal the model's decision boundaries. For LLMs, this includes prompts that test factual knowledge, reasoning chains, coding ability, and even adversarial inputs designed to expose internal representations.
2. Output Collection: The attacker collects the model's responses, including log probabilities, token-level confidence scores, and sometimes hidden states if the API exposes them. Anthropic's API, like most, returns token probabilities, which are goldmines for extraction because they reveal the model's internal uncertainty and ranking of alternatives.
3. Surrogate Training: The collected query-response pairs are used to fine-tune a smaller, open-source model (e.g., LLaMA, Mistral, or Qwen) to mimic the target model. Techniques like knowledge distillation and behavioral cloning are employed to align the surrogate's outputs with the original. The surrogate does not need to be as large as the target—it only needs to replicate the target's behavior on a specific distribution of tasks.

Why This Works Against LLMs

LLMs are particularly vulnerable to extraction because they are designed to be highly general and responsive. Unlike traditional software, where the logic is hidden in compiled code, an LLM's behavior is entirely exposed through its API. Every query reveals a piece of the model's internal mapping from input to output. With enough queries—often in the millions—an attacker can reconstruct a high-fidelity copy. Research from 2023 by Carlini et al. showed that even with just 100,000 queries, an attacker could extract a model that achieves 80% accuracy on the original model's benchmark tasks.

Defensive Countermeasures

Anthropic and other leading labs are now accelerating deployment of several defenses:

| Defense Technique | How It Works | Effectiveness | Trade-off |
|---|---|---|---|
| Differential Privacy (DP) | Adds calibrated noise to API outputs (e.g., token probabilities) to prevent precise reconstruction | High against exact extraction; reduces surrogate fidelity by ~15-25% | Degrades output quality; increases latency |
| Model Watermarking | Embeds imperceptible statistical patterns in outputs that can be detected in a suspect model | Moderate; watermarks can be removed with fine-tuning | Requires a centralized detection system; can be reverse-engineered |
| Adversarial Perturbation | Slightly alters outputs to mislead surrogate training without affecting normal users | Moderate; can be bypassed with adaptive attacks | Increases computational overhead |
| Query Rate Limiting & Anomaly Detection | Limits number of queries per IP/user and flags suspicious patterns (e.g., high entropy queries) | Low; sophisticated attackers use distributed botnets | Can block legitimate research use |

Data Takeaway: No single defense is foolproof. The most robust approach combines multiple layers—DP for statistical protection, watermarking for forensic traceability, and rate limiting for basic deterrence. However, all defenses come with a cost: reduced output quality or increased latency. The industry is still in the early stages of developing practical, scalable defenses.

Relevant Open-Source Research

For readers interested in the technical details, several GitHub repositories are directly relevant:
- `llm-attacks` (by Princeton LLM Security group): A collection of adversarial attack methods against LLMs, including model extraction techniques. Recently surpassed 4,000 stars.
- `text-stealing-attack` (by ETH Zurich): Demonstrates how to reconstruct training data from LLM outputs. Useful for understanding extraction vectors.
- `watermark-llm` (by University of Maryland): Implements a robust watermarking scheme for LLM outputs. Gaining traction as a defensive tool.

Key Players & Case Studies

Anthropic: The Accuser

Anthropic, founded in 2021 by former OpenAI researchers including Dario Amodei and Daniela Amodei, has positioned itself as the safety-first AI company. Its Claude models—Claude 3.5 Sonnet, Claude 3 Opus, and the recently released Claude 4—are known for their strong reasoning, safety alignment, and refusal to generate harmful content. Anthropic's business model relies almost entirely on API access, with enterprise customers paying per token. The company has raised over $7.6 billion from investors including Google, Spark Capital, and Salesforce. This accusation is existential for Anthropic: if model extraction becomes widespread, its API revenue model collapses.

Alibaba: The Accused

Alibaba's AI division, led by the DAMO Academy, has developed the Qwen family of models (Qwen2, Qwen2.5, Qwen3). Qwen models are competitive with GPT-4 and Claude on many benchmarks, particularly in Chinese-language tasks. Alibaba has aggressively pushed Qwen as an open-source alternative, releasing model weights under permissive licenses. The irony is that Alibaba already has strong models—so why would it need to extract Claude? The answer may lie in specific capabilities: Claude's unique safety alignment and reasoning architecture. Extracting these could give Alibaba a shortcut to building models that are both powerful and safe, a combination that is notoriously difficult to achieve.

Comparison of Frontier Models

| Model | Parameters (est.) | MMLU Score | HumanEval (Code) | API Cost per 1M tokens | Safety Alignment |
|---|---|---|---|---|---|
| Claude 4 (Anthropic) | ~500B | 91.2 | 92.4% | $15.00 | Very High |
| GPT-4o (OpenAI) | ~200B | 88.7 | 90.2% | $5.00 | High |
| Qwen3 (Alibaba) | ~72B (MoE) | 86.1 | 85.0% | $0.80 | Moderate |
| Gemini Ultra (Google) | ~1T (MoE) | 90.0 | 89.5% | $10.00 | High |
| LLaMA 3.1 (Meta) | 405B | 87.5 | 84.0% | Open-source | Low (no RLHF) |

Data Takeaway: Claude 4 leads in both benchmark performance and safety alignment. The gap in safety alignment between Claude and open-source models like LLaMA is particularly stark—this is likely what Alibaba sought to extract. The cost difference is also telling: Qwen3 is 18x cheaper than Claude 4, suggesting Alibaba's strategy is commoditization, not premium pricing.

Historical Precedent: The OpenAI Copycat Wave

This is not the first model extraction controversy. In 2023, several Chinese startups were accused of using OpenAI's API to train their own models. OpenAI responded by banning thousands of accounts and implementing stricter API monitoring. However, those were smaller players. Alibaba is a global tech giant with its own AI ecosystem. The scale and sophistication of the alleged operation, if proven, would be orders of magnitude larger.

Industry Impact & Market Dynamics

The Trust Crisis in API-Based AI

The AI industry has built its commercial foundation on the assumption that APIs are secure. Companies like Anthropic, OpenAI, and Cohere sell access to their models with the expectation that customers will not reverse-engineer them. This accusation shatters that trust. If Alibaba, a legitimate enterprise customer, can be accused of extraction, then every API provider must now treat all customers as potential adversaries. This will lead to:
- Tighter API access controls: Expect more stringent vetting of API users, including identity verification, use-case declarations, and contractual clauses prohibiting extraction.
- Higher costs for legitimate users: Defenses like differential privacy increase latency and reduce output quality, meaning higher prices for the same utility.
- Shift toward on-premise deployment: Large enterprises may demand on-premise model deployment to avoid API-based extraction risks, but this is only feasible for the wealthiest customers.

Market Data: The Cost of Model Development

| Company | Estimated R&D Spend (2024) | Time to Build Frontier Model | Key Model |
|---|---|---|---|
| Anthropic | $1.5B | 18 months | Claude 4 |
| OpenAI | $3.0B | 12 months | GPT-4o |
| Alibaba (DAMO) | $800M | 24 months | Qwen3 |
| Meta (FAIR) | $2.0B | 15 months | LLaMA 3.1 |
| Google DeepMind | $4.0B | 12 months | Gemini Ultra |

Data Takeaway: Building a frontier model costs billions and takes over a year. Model extraction offers a potential 10x reduction in cost and time—a powerful incentive for any company behind in the race. Alibaba's R&D spend is roughly half of Anthropic's, yet it has achieved competitive benchmarks. Extraction could explain part of that efficiency.

Regulatory Fallout

This accusation will accelerate regulatory action on both sides of the Pacific:
- US: The Biden administration's Executive Order on AI already includes provisions for model security. Expect Congress to introduce legislation specifically criminalizing model extraction, with penalties similar to trade secret theft.
- China: Beijing may view this as a protectionist attack on its AI industry. However, China has its own AI security laws. The government may use this incident to justify tighter control over model exports and foreign API usage.
- International: The EU AI Act could be amended to include mandatory model watermarking and extraction detection for high-risk models.

Risks, Limitations & Open Questions

The Burden of Proof

Anthropic has made a serious accusation, but proving model extraction is technically difficult. The company would need to demonstrate that Alibaba's Qwen models contain specific patterns—such as identical reasoning chains, unique error signatures, or watermarked outputs—that could only have come from Claude. This requires access to Alibaba's model weights, which Alibaba is unlikely to provide voluntarily. Legal discovery could take years.

False Accusation Risk

Could Anthropic be mistaken? It is possible that Alibaba independently achieved similar results through legitimate research. The AI field is converging on similar architectures (transformers, MoE, RLHF), and models trained on similar data can exhibit similar behaviors. Anthropic must be careful not to cry wolf, as false accusations could damage its credibility and escalate trade tensions unnecessarily.

The Arms Race Escalation

Even if this specific accusation is resolved, the underlying problem remains. Model extraction is a cat-and-mouse game. As defenses improve, attackers will develop more sophisticated methods—such as using generative adversarial networks to craft queries that evade detection. The industry may be entering a permanent state of adversarial AI security, where every API call is a potential attack.

Ethical Gray Areas

Where is the line between legitimate research and illegal extraction? Many AI researchers use API outputs to study model behavior, improve safety, or build applications. If Anthropic's accusation leads to overly restrictive API policies, it could stifle academic research and open-source development. The industry needs clear guidelines on what constitutes acceptable use of API outputs.

AINews Verdict & Predictions

This accusation is not just a legal dispute—it is the opening salvo in a new era of AI warfare. Here are our specific predictions:

1. Settlement with Secret Terms: Within 12 months, Anthropic and Alibaba will reach a confidential settlement. Alibaba will pay a significant sum (likely $500M-$1B) and agree to submit its models for independent security audits. Neither side will admit fault, but the settlement will include technology licensing agreements that give Anthropic access to Alibaba's Chinese market.

2. Mandatory Model Watermarking by 2026: Within two years, all major AI API providers will implement mandatory watermarking for outputs. This will become an industry standard, similar to how SSL certificates became mandatory for web security.

3. Creation of an AI Security Standards Body: A consortium of leading AI companies (Anthropic, OpenAI, Google, Meta, Microsoft) will form a non-profit organization to develop and enforce model extraction detection protocols. This body will operate similarly to the W3C for web standards.

4. Regulatory Divergence: The US and EU will adopt strict anti-extraction laws, while China will implement its own version that allows state-sanctioned extraction for national security purposes. This will create a fragmented global AI market where models must be certified for each jurisdiction.

5. Rise of On-Device AI: To avoid API-based extraction risks, more AI capabilities will move to on-device processing. Apple, Qualcomm, and Samsung will accelerate their on-device LLM efforts, reducing reliance on cloud APIs.

The bottom line: The Anthropic-Alibaba accusation is the AI industry's 'Pearl Harbor' moment—a surprise attack that exposes a fundamental vulnerability. The industry will never be the same. Companies that invest in proactive security now will survive; those that wait will be copied out of existence.

More from Hacker News

UntitledAINews has uncovered a quiet revolution in enterprise AI: the deep integration of AI agents with Google Sheets. While thUntitledAINews has uncovered a disturbing pattern across the rapidly expanding AI agent ecosystem: when different autonomous ageUntitledAINews has discovered a critical hardware degradation issue in OpenAI's Codex AI coding agent. The tool, designed to booOpen source hub5182 indexed articles from Hacker News

Related topics

Anthropic286 related articlesAI security59 related articles

Archive

June 20262496 published articles

Further Reading

Anthropic Accuses Alibaba of AI Model Theft: The End of Trust in the Global AI RaceAnthropic has filed a formal accusation against Alibaba, alleging the Chinese e-commerce giant illegally accessed its prCopilot Gets Security Hunter: Anthropic's Bug-Finding Framework Ported to Microsoft's AIA developer has ported Anthropic's autonomous vulnerability discovery framework from Claude Code to GitHub Copilot CLI, Anthropic Mythos Breach Exposes Fatal Flaw in Frontier AI SecurityAnthropic is investigating unauthorized access to its experimental AI tool Mythos, an agentic system capable of autonomoAnthropic's Mythos Dilemma: When Defensive AI Becomes Too Dangerous to ReleaseAnthropic has unveiled Mythos, a specialized AI model engineered for cybersecurity tasks like vulnerability discovery an

常见问题

这次模型发布“Anthropic vs Alibaba: The Model Extraction Crisis That Changes AI Security Forever”的核心内容是什么?

Anthropic, the leading AI safety company behind the Claude model family, has publicly accused Alibaba of engaging in systematic, illegal extraction of Claude's core capabilities. T…

从“How does model extraction work technically?”看,这个模型发布为什么重要?

Model extraction, or model stealing, is a class of attacks that aim to replicate a target model's functionality by querying it and using the responses to train a substitute model. The attack Anthropic alleges Alibaba emp…

围绕“What are the best defenses against model stealing?”,这次模型更新对开发者和企业有什么影响?

开发者通常会重点关注能力提升、API 兼容性、成本变化和新场景机会,企业则会更关心可替代性、接入门槛和商业化落地空间。