# Alibaba to Ban Claude Code Over Alleged Embedded Network-Fingerprinting Mechanism

> A Reddit researcher's June 30, 2026 reverse-engineering claim alleges Claude Code v2.1.91+ (April 2, 2026) silently checked user timezones and proxy configurations against an obfuscated 147-entry list of Chinese enterprises and AI labs, signaling matches via steganographic changes to its own system prompt rather than overt telemetry. Anthropic confirms the mechanism existed as a March 2026 anti-abuse/anti-distillation experiment and says it will be removed; no independent security firm has verified the technical claims. Alibaba is banning Claude Code and other Anthropic products internally effective July 10, 2026.

- **Published:** 2026-07-03T00:00:00Z
- **Last reviewed:** 2026-07-03T00:00:00Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-1096
- **Card image:** https://intel.threadlinqs.com/og/threat/threat-intel-claude-code-fingerprinting-claim-tl-2026-1096.webp?v=a4fb3347 (Threadlinqs threat intel: Claude Code Fingerprinting Claim: Analysis & Hunting (TL-2026-1096) — Medium severity, 40 IOCs, 9 detection rules.)
- **ID:** TL-2026-1096
- **Severity:** MEDIUM
- **Category:** SUPPLY_CHAIN
- **Status:** ACTIVE
- **Detections:** 9 (1 shown free below) · **IOCs:** 40 (3 shown free below)

## Description

On 2026-06-30, a Reddit user posting as 'LegitMichel777' in r/ClaudeAI claimed to have reverse-engineered the Claude Code CLI while attempting to restore a disabled remote-control feature in v2.1.196, and in doing so uncovered obfuscated logic present since v2.1.91 (released 2026-04-02, undocumented in release notes). The alleged mechanism performs a multi-factor environment check on every session: it reads the local system timezone looking for Asia/Shanghai or Asia/Urumqi, and inspects any configured proxy URL against a hardcoded, obfuscated list of 147 domains tied to Chinese technology companies, cloud regions, and AI labs (including entries resolving to Baidu, Alibaba, Ant Group, ByteDance, Moonshot AI, MiniMax, and Stepfun AI). The list is reportedly obfuscated in the binary using Base64 encoding combined with an XOR-91 key, a lightweight scheme easily reversed once located. LegitMichel777's write-up further identifies a small set of minified/obfuscated function names implicated in the logic path — 'Crt()', 'Rrt(e)', 'e0t()', 'Zup()', 'edp', and 'Vla' — consistent with build-time minification rather than hand-written obfuscation, and consistent with the claim that the mechanism was compiled into the shipped CLI rather than added out-of-band.

Rather than transmitting an explicit telemetry flag, the mechanism allegedly encodes a match by silently rewriting the 'Today's date is ...' line of Claude Code's own system prompt: a China-timezone match changes the date separator from a dash to a slash (e.g. 2026-06-30 becomes 2026/06/30), and the apostrophe in "Today's date" is swapped between three visually identical but technically distinct Unicode characters — U+2019 (RIGHT SINGLE QUOTATION MARK), U+02BC (MODIFIER LETTER APOSTROPHE), and U+02B9 (MODIFIER LETTER PRIME) — depending on whether the match came from the domain list, an AI-lab keyword, or both. Because the modified system prompt is included in the next request Claude Code sends to Anthropic's API, the signal rides back to the vendor over the tool's normal, otherwise-legitimate network traffic — a covert channel hidden in plain sight (a form of network-protocol/application-layer steganography) rather than a separate exfiltration path.

Anthropic did not deny the mechanism's existence. Claude Code team member Thariq Shihipar stated publicly on X that it was 'an experiment we launched in March [2026] that was meant to prevent account abuse from unauthorized resellers and protect against distillation,' that stronger protections had since shipped, that the team had 'actually been meaning to take this down for a while,' and that it would be fully removed in an upcoming release, with remediation reportedly beginning around 2026-07-01. Anthropic has not published a formal incident report, and no independent third-party security firm has verified LegitMichel777's reverse-engineering methodology, the exact contents of the 147-entry list, the specific minified function names, or the steganographic-encoding details as described.

The controversy lands amid an escalating dispute between Anthropic and Alibaba: in a letter dated 2026-06-10, seen by Bloomberg and sent to U.S. Senators Tim Scott and Elizabeth Warren, Anthropic alleged that operators affiliated with Alibaba's Qwen AI lab ran nearly 25,000 fraudulent accounts generating over 28.8 million exchanges with Claude between 2026-04-22 and 2026-06-05 — targeting specifically software-engineering and agentic-reasoning outputs, Claude's most commercially valuable capabilities — to illicitly distill Claude's capabilities into a cheaper rival model. Anthropic called this the largest known distillation campaign against it to date (larger than the combined February 2026 disclosures naming DeepSeek, Moonshot AI, and MiniMax), and warned that adversarial distillation lets Chinese labs replicate frontier AI at a fraction of training cost while often lacking the original's safety guardrails. Against that backdrop, multiple outlets (CyberSecurityNews, South China Morning Post, Reuters via KFGO/US News, Cybernews, Techloy, and others) reported on 2026-07-03 that Alibaba's internal security review classified Claude Code as 'high-risk software,' and that Alibaba has ordered employees to uninstall all Anthropic products — Claude Sonnet, Opus, and Fable model access as well as the Claude Code agent — from internal systems effective 2026-07-10, recommending its own Qoder tool as a replacement. Alibaba has not issued a detailed public statement and did not officially confirm the ban; Alibaba separately denies the distillation allegations. This is tracked as a supply-chain trust/covert-channel concern given the widespread deployment of Claude Code among developers, not as a confirmed vulnerability — no CVE applies and the underlying technical claims remain single-source and unverified by independent researchers as of this writing.

## MITRE ATT&CK

- T1592.004 Client Configurations
- T1587 Develop Capabilities
- T1195.002 Compromise Software Supply Chain
- T1204 User Execution
- T1554 Compromise Host Software Binary
- T1614 System Location Discovery
- T1016 System Network Configuration Discovery
- T1016.001 Internet Connection Discovery
- T1082 System Information Discovery
- T1027 Obfuscated Files or Information
- T1027.003 Steganography
- T1140 Deobfuscate/Decode Files or Information
- T1036 Masquerading
- T1564 Hide Artifacts
- T1497.001 System Checks
- T1005 Data from Local System
- T1119 Automated Collection
- T1074.001 Local Data Staging
- T1041 Exfiltration Over C2 Channel
- T1020 Automated Exfiltration
- T1071.001 Web Protocols
- T1001.002 Steganography

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**Obfuscated Base64+XOR Decode Chain and Steganographic Marker Artifact Staging** (`TL-2026-1096-SPL-002`)

Detects local staging of an artifact whose content matches the alleged covert system-prompt marker pattern ('Today<non-standard apostrophe>s date is <YYYY-MM-DD or YYYY/MM/DD>') using one of three visually-identical Unicode apostrophe codepoints (U+2019, U+02BC, U+02B9), and/or a chained Base64-decode-then-XOR operation consistent with reversing the alleged 147-entry obfuscated Chinese-enterprise domain list. Covers the post-exploitation staging phase of TL-2026-1096 where the fingerprint result is encoded locally before riding out on the tool's normal API traffic.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1027, T1027.003, T1140, T1036, T1564, T1497.001, T1005, T1074.001
- **Data sources:** sysmon, edr_file_telemetry, dlp_content_inspection
- **Severity:** medium
- **Confidence:** high

### Splunk SPL

```spl
index=edr OR index=dlp sourcetype IN ("crowdstrike:falcon:filewrite","symantec:dlp:incident","sysmon")
| eval decoded_hit=if(match(lower(file_content), "frombase64string") AND match(lower(file_content), "-bxor"), 1, 0)
| eval marker_hit=if(match(file_path, "(?i)system_prompt_marker|prompt_marker\.txt|tl2026_1096_sim"), 1, 0)
| eval apostrophe_hit=if(match(file_content, "Today[\x{2019}\x{02BC}\x{02B9}]s date is \d{4}[-/]\d{2}[-/]\d{2}"), 1, 0)
| where decoded_hit=1 OR marker_hit=1 OR apostrophe_hit=1
| eval matched_indicators=mvappend(if(decoded_hit=1,"base64_xor_decode_chain",null()), if(marker_hit=1,"marker_filename_pattern",null()), if(apostrophe_hit=1,"nonstandard_apostrophe_codepoint",null()))
| table _time host user file_path matched_indicators file_content
```

### Microsoft KQL

```kql
DeviceFileEvents
| where Timestamp > ago(24h)
| where FileName has_any ("system_prompt_marker","prompt_marker.txt") or FolderPath has_any ("tl2026_1096_sim","system_prompt_marker")
| project Timestamp, DeviceName, InitiatingProcessAccountName, InitiatingProcessFileName, FileName, FolderPath, ActionType
| union (
    DeviceProcessEvents
    | where Timestamp > ago(24h)
    | where ProcessCommandLine has "FromBase64String" and ProcessCommandLine has "-bxor"
    | project Timestamp, DeviceName, InitiatingProcessAccountName, InitiatingProcessFileName=ProcessCommandLine, FileName=strcat(""), FolderPath=strcat(""), ActionType=strcat("Base64XorDecodeChain")
)
```

### Sigma

```yaml
title: Suspicious Marker File Creation Consistent with Alleged Claude Code Steganographic System-Prompt Signal
id: f2b3c4d5-6e7f-4081-9ab2-c3d4e5f60712
status: experimental
description: Detects creation of a short-lived local artifact whose filename or path matches the pattern observed when reproducing the alleged TL-2026-1096 covert system-prompt marker (Base64+XOR-91 decoded domain-list match encoded via a homoglyph apostrophe substitution and date-separator change).
references:
    - https://cybernews.com/ai-news/claude-code-steganography-china-users/
    - https://the-decoder.com/hidden-code-in-claude-code-secretly-flagged-chinese-users/
author: Threadlinqs Team
date: 2026-07-03
tags:
    - attack.defense-evasion
    - attack.t1027
    - attack.t1027.003
    - attack.t1140
    - attack.t1036
    - attack.t1564
    - attack.t1497.001
    - attack.collection
    - attack.t1005
    - attack.t1074.001
logsource:
    category: file_event
    product: windows
detection:
    selection:
        TargetFilename|contains:
            - 'system_prompt_marker'
            - 'prompt_marker.txt'
            - 'tl2026_1096_sim'
    condition: selection
falsepositives:
    - Authorized detection-engineering or red-team simulation runs using the same lab filename convention (e.g., this threat's own TL-2026-1096 simulation scripts)
    - Developer tooling that legitimately creates similarly named temp cache files for unrelated reasons
level: medium
```

**Known false positives:**

- Authorized detection-engineering or red-team simulation runs using the same lab filename convention (e.g., this Pentester's TL-2026-1096 simulation scripts)
- Developer tooling that legitimately Base64-encodes and XOR-obfuscates local cache files for unrelated reasons

**Tuning notes:** Update the marker-filename and temp-path patterns if Anthropic's remediation changes the artifact naming; confirm the Base64+XOR chain heuristic against your own EDR's content-inspection capability before enabling in blocking mode.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- Chained Timezone + Proxy Discovery by Claude Code / Node Process (Alleged Environment Fingerprinting Trigger) (locked: unlock with TL Creds)
- Obfuscated Base64+XOR Decode Chain and Steganographic Marker Artifact Staging (locked: unlock with TL Creds)
- Outbound API Request Carrying Steganographic System-Prompt Marker (Covert Channel / Exfiltration) (locked: unlock with TL Creds)
- Claude Code Chained Timezone and Proxy Discovery (Alleged Environment Fingerprinting) (locked: unlock with TL Creds)
- Suspicious Marker File Creation Consistent with Alleged Claude Code Steganographic System-Prompt Signal (locked: unlock with TL Creds)
- Outbound API Request Containing Non-Standard Apostrophe Codepoint (Alleged Claude Code Steganographic Marker) (locked: unlock with TL Creds)
- Chained Timezone + Proxy Discovery by Claude Code / Node Process (Alleged Environment Fingerprinting Trigger) (locked: unlock with TL Creds)
- Outbound API Request Carrying Steganographic System-Prompt Marker (Covert Channel / Exfiltration) (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sample indicators (3 of 40)

Defanged, TLP:CLEAR.

- Domain: `baidu[.]com`
- Domain: `alibaba-inc[.]com`
- Domain: `alipay[.]com`

Full set of 40 indicators unlocks with TL Creds: https://threadlinqs.com/tl-creds

## Sources

- [Alibaba to Ban Claude Code Over Alleged Embedded Backdoor Risks](https://cybersecuritynews.com/alibaba-to-ban-claude-code/)
- [Alibaba bans staff from using Claude Code over Anthropic spyware concerns](https://www.scmp.com/tech/big-tech/article/3359375/alibaba-bans-staff-using-claude-code-over-anthropic-spyware-concerns)
- [Alibaba Orders Employees to Remove All Anthropic Products, Ban Effective July 10](https://pandaily.com/alibaba-bans-anthropic-claude-products-jul2026)
- [Alibaba to Ban Claude Code at Work Over Alleged Backdoor Security Risks](https://cyberpress.org/alibaba-ban-claude-code-alleged-backdoor/)
- [Anthropic's Claude Code accused of hiding proxy fingerprints inside system prompts to identify China-linked users](https://techstartups.com/2026/06/30/anthropics-claude-code-accused-of-hiding-proxy-fingerprints-inside-system-prompts-to-identify-china-linked-users/)
- [Claude Code apparently uses code to detect Chinese users: Is this fine?](https://cybernews.com/ai-news/claude-code-steganography-china-users/)
- [Anthropic Faces Backlash After Claude Code Secretly Flagged 147 Chinese Domains](https://yellow.com/news/anthropic-claude-code-147-chinese-domains)
- [Hidden code in Claude Code secretly flagged Chinese users](https://the-decoder.com/hidden-code-in-claude-code-secretly-flagged-chinese-users/)
- [Claude Code Is Quietly Fingerprinting China-Linked API Routers](https://www.vincentschmalbach.com/claude-code-china-router-fingerprint/)
- [Anthropic is removing its covert code for catching Chinese competitors](https://www.theregister.com/ai-and-ml/2026/07/01/anthropic-is-removing-its-covert-code-for-catching-chinese-competitors/)
- [Anthropic claims that China's Alibaba used 25,000 fake accounts and 28.8 million exchanges to illicitly 'distill' its models](https://www.tomshardware.com/tech-industry/artificial-intelligence/anthropic-claims-that-chinas-alibaba-illicitly-distilled-its-models-from-april-to-june-2026-says-effort-involved-25-000-fake-accounts-and-28-8-million-exchanges-on-claude)
- [Anthropic accuses Alibaba of campaign to 'brazenly' and 'illicitly' extract AI capabilities](https://www.cnbc.com/2026/06/24/anthropic-alibaba-distillation-campaign.html)
- [Anthropic Tells White House Alibaba Used 25,000 Fake Accounts to Access Claude AI Models](https://www.citybiz.co/article/865679/anthropic-tells-white-house-alibaba-used-25000-fake-accounts-to-access-claude-ai-models/)
- [Claude Code Accused of Hiding China Proxy Fingerprints in System Prompts](https://www.kucoin.com/news/flash/claude-code-accused-of-hiding-china-proxy-fingerprints-in-system-prompts)
- [Anthropic's Claude Code Reportedly Uses Hidden Code to Detect Chinese Users](https://cybersecuritynews.com/anthropic-claude-hidden-code/)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-1096
