BotBeat
...
← Back

> ▌

AnthropicAnthropic
RESEARCHAnthropic2026-04-09

Anthropic Detects Third-Party Clients Through System Prompt Analysis, Not Headers or TLS

Key Takeaways

  • ▸Anthropic's third-party client detection relies on server-side system prompt analysis, not HTTP headers, User-Agent strings, or TLS fingerprinting
  • ▸The detection specifically targets the static portion of system prompts; runtime sections with custom content do not trigger blocks
  • ▸Detection occurs at the request level, allowing the same account to work through official Claude clients while being blocked through third-party tools
Source:
Hacker Newshttps://gist.github.com/mrcattusdev/53b046e56b5a0149bdb3c0f34b5f217a↗

Summary

A detailed technical investigation has revealed how Anthropic detects and blocks third-party clients accessing Claude through the API. Contrary to initial assumptions, the detection mechanism is not based on HTTP headers, User-Agent strings, or TLS fingerprinting techniques like JA3/JA4. Instead, Anthropic performs server-side pattern matching and analysis of the system prompt content included in API requests.

The researcher demonstrated through systematic experimentation that Anthropic specifically analyzes the static portion of system prompts sent in request bodies. When a custom system prompt from tools like OpenCode or Aider is replaced with Claude Code's authentic system prompt structure, requests pass through without triggering the "third-party apps" block. Notably, the runtime sections of system prompts (environment variables, directory listings, skills, custom instructions) can remain completely custom without triggering detection—only the static prompt structure matters.

The findings suggest Anthropic likely uses pattern matching against known Claude Code prompt structures, embedding similarity classification, or detection of specific anchor phrases that should be present in legitimate Claude Code requests. This detection happens on a per-request basis rather than at the account level, allowing the same authenticated account to work normally through Claude Code or Claude Desktop while being blocked through third-party clients.

  • Third-party developers can potentially circumvent detection by substituting only the static prompt portion while preserving their custom runtime sections
Natural Language Processing (NLP)CybersecurityEthics & Bias

More from Anthropic

AnthropicAnthropic
PRODUCT LAUNCH

Open-Source MCP Rooms Enable Agent-to-Agent Communication Across Different AI Platforms

2026-04-09
AnthropicAnthropic
POLICY & REGULATION

Claude Code's Local File Storage Exposes Sensitive Credentials and Session Data, Security Researcher Warns

2026-04-09
AnthropicAnthropic
PRODUCT LAUNCH

Developer Resurrects 30-Year-Old MUD Game Using Claude AI After Original Source Code Was Lost

2026-04-09

Comments

Suggested

AppleApple
INDUSTRY REPORT

Apple and Lenovo Receive Failing Grades for Laptop Repairability in PIRG Analysis

2026-04-09
Alpha ResearchAlpha Research
PRODUCT LAUNCH

Alpha Research Launches Open-Source Agentic Knowledge Bases, Starting with Alpha Book

2026-04-09
Google / AlphabetGoogle / Alphabet
UPDATE

Google's Gemini App Now Generates Interactive Simulations and Visualizations

2026-04-09
← Back to news
© 2026 BotBeat
AboutPrivacy PolicyTerms of ServiceContact Us