← Lab /AI/ML

CAPTA identifies an agent's backend LLM with 99% accuracy using ten questions

CAPTA can correctly determine the LLM behind an AI agent with around 99% accuracy

AI/ML arXiv 24 Nov 2026 Method Simulation evidence

Published as “CAPTA: Identifying LLMs Behind AI Agents”

Why it matters

Remote services can reliably determine which LLM an agent uses, enabling model-specific security policies or targeted defenses.

Summary

CAPTA can identify the backend LLM of an agent with 99% mean accuracy using only 10 multiple-choice probes and reaches 99% worst-model accuracy with 21 probes, requiring just one or two service interactions. In real-world agents it attains 99.7% mean accuracy within three interactions. The evidence is strong, based on extensive experiments over 25 LLMs, 30 probes, 1,000 random trials per budget, and four popular agents.

What they found 3

  1. 99% mean identification accuracy with 10 probes, requiring only one or two interactions

    “With only 10 probes, CAPTA achieves a mean identification accuracy of 99%, requiring only one or two agent-service interactions in practice.”

  2. 99.7% mean accuracy within three interactions on real agents

    “CAPTA achieves 99.7% mean identification accuracy within three agent-service interactions.”

  3. Open-set detection up to 95.5% unknown-model rejection at 1% false-rejection

    “With 20 unknown and 5 known models, the detection rate is at least 95.5% across all three target false-rejection rates.”

Caveats 4

  • Claude-Sonnet-5 achieved only 67.1% accuracy on the OpenClaw agent with 10 responses.
  • DeepSeek-V4-Flash showed as low as 64.8% worst-model accuracy with 10 probes.
  • Some models (e.g., Grok-4.5, Grok-4.6) required up to 21 probes to reach 99% accuracy.
  • Our work focuses on the problem of identifying backend LLMs and does not consider subsequent attacks against the identified models.

What’s new here 4

  • Uses CAPTCHA-style multiple-choice probes embedded in normal service interactions to fingerprint LLMs.
  • Automated probe construction that ranks questions by diversity scores and optimizes option sets with an LLM-guided search.
  • Achieves high identification accuracy with only a few probes and interactions, far fewer than prior watermark or prompt-based methods.
  • Supports open-set detection and cross-task fingerprint reuse.