CAPTA: Identifying LLMs Behind AI Agents
Abstract
Large language model (LLM)-based agents access remote services through tools to complete user tasks, often via API calls. In this setting, a remote service may want to identify the backend LLM of an agent to launch model-specific attacks, including prompt injection or selective delivery of manipulated content. However, the service cannot directly query the backend model and must instead collect observable responses through its interactions with the agent, making identification challenging. In this paper, we present Completely Automated Preference Test to tell LLMs Apart (CAPTA), a model identification approach inspired by CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart), which distinguishes humans from automated programs. CAPTA presents multiple-choice questions as verification challenges, using differences in models' selection preferences to identify the backend LLM. It selects questions based on cross-model option-generation diversity and uses LLM-guided search to optimize their option sets. Our evaluation shows that CAPTA achieves 99.0% mean identification accuracy with only 10 questions across 25 LLMs from 10 model families. We further evaluate CAPTA with four widely used agents and seven representative LLMs, achieving 99.7% mean identification accuracy across all 28 agent-LLM combinations with 30 submitted answers.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CR
Related papers
RubikSQL-HB: Agentic Text-to-SQL with Knowledge in the Loop
Shared title terminologycs.AIHaorui Jia, Zihan Qu, Yundi Dong et al.
EviCraft: Can Minecraft Agents Find What They Cannot See?
Shared title terminologycs.AIWenyou Yi, Lantian Zhang, Guanlin Chen et al.
The Control-Flow Tax: Specialized Decision Routing for LLM Agent Workflows
Shared title terminologycs.AIZhikai Cheng, Shuanghu Wang, Li Jiang
FigmaEval: A Benchmark for Evaluating AI Agents in Professional UI Design
Shared title terminologycs.AIXinyue Huang, Yongyong Gao, Zhengyuan Pan et al.
ExpGuard: Guarding Long-Horizon LLM Agents against Corrupted Experience
Shared title terminologycs.AIYuzhou Chen, Licheng Pan, Zhixuan Chu et al.
From Rule-based to Agentic: LLM Agent based Real-time Control of Urban Drainage Systems for Flooding and Sewer Overflow Mitigation
Shared title terminologycs.AIWenchong Tian, Shixun Li, Ruozhou Lin et al.