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

Anthropic Prepares Mythos 1 for Public Release via Claude Code and Claude Security

2026-05-24
AnthropicAnthropic
FUNDING & BUSINESS

OpenAI Co-founder Andrej Karpathy Joins Anthropic

2026-05-24
AnthropicAnthropic
INDUSTRY REPORT

The Invisible Fabric of AI: Global Semiconductor Supply Chain Is Not a US-China War

2026-05-24

Comments

Suggested

AnthropicAnthropic
PRODUCT LAUNCH

Anthropic Prepares Mythos 1 for Public Release via Claude Code and Claude Security

2026-05-24
Merlin LabsMerlin Labs
PRODUCT LAUNCH

Merlin Labs Demonstrates Autonomous AI Pilot System on Crewed Test Flight

2026-05-24
OpenAIOpenAI
RESEARCH

Major Study Reveals Disparities in AI Use and Cheating Among College Students

2026-05-24
← Back to news
© 2026 BotBeat
AboutPrivacy PolicyTerms of ServiceContact Us