IntentMiner: Intent Inversion Attack via Tool Call Analysis in the Model Context Protocol
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: Security Radio. Generated commentary on the latest security and cryptography papers.
Nadia: We're looking at the paper: "IntentMiner: Intent Inversion Attack via Tool Call Analysis in the Model Context Protocol".
Paper summary: Nadia: So, wrapping up on "IntentMiner: Intent Inversion Attack via Tool Call Analysis in the Model Context Protocol," this work formalizes the Intent Inversion Attack within the MCP and proposes IntentMiner as a framework that exploits semantic traces for over eighty five percent intent alignment >
Elias: It really highlights how decoupling reasoning engines from their tools creates a structural vulnerability where metadata leakage becomes enough to compromise user confidentiality >
Priya: What this means practically is that if you use these decoupled agent architectures, you can't just trust the metadata of tool execution logs anymore because someone can reconstruct your intent >
Nadia: It motivates the need for more robust, privacy-preserving protocols for how agents connect to external tools in the future >
Elias: We need to figure out how to build those protocols that prevent this kind of semantic reconstruction from happening without having to completely break the modularity of these agent systems >
Conclusion: Nadia: So, we're wrapping up on this paper about IntentMiner and how it works within that Model Context Protocol thing >
Elias: It really focuses on how they quantified this Intent Inversion Attack by looking at the tool call metadata >
Nadia: Right. Basically, they showed that even without direct access to the user's text, you can use function signatures and arguments from those logs to rebuild what the user was actually trying to achieve >
Priya: And what they found is that this attack has a pretty high success rate, getting over eighty five percent alignment with the original queries >
Elias: That’s a lot of traces they are pulling out of those logs just by looking at the structure of the calls and results >
Nadia: It means if you're running these decoupled agent systems, that metadata leakage is enough to compromise what the user was thinking or doing internally >
Priya: So what this changes for us is that we can't just trust the logs anymore; they don't show us the real intent behind the calls >
Elias: The paper suggests we need better ways to secure these tool-use protocols, something that doesn't rely on just keeping things separate >
Nadia: That’s what motivates looking at defenses, because if this attack is this effective, we need tools that can actually stop it >
Priya: And the paper does mention some defenses like homomorphic encryption on the servers or anonymization middleware to try and block that link between intent and user identity >
Elias: Those are starting points, but they show that building a truly private tool-use system is still a big challenge right now >
Nadia: It’s definitely a lot to chew on, because if we can't secure the context of these tools, the privacy foundation for next-gen AI agents gets shaky >
Priya: We need to keep watching how these systems evolve and what kind of semantic traces they leave behind as they get more complex >
University of Science and Technology of China · Beijing University of Aeronautics and Astronautics
cs.CR, cs.AI
Submitted: 2025-12-16
Updated: 2026-11-25
Comments: 14 pages, 6 figures
License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
Importance score: 92/100
The gist: The evolution of Large Language Models (LLMs) into Agentic AI has established the Model Context Protocol (MCP) as the standard for connecting reasoning engines with external…
Key concepts
- Model Context Protocol (MCP)
- MCP is the standard way Large Language Models (LLMs) connect their reasoning capabilities with external tools. It defines how an agent can use specific functions or tools to perform actions, creating a system where intent and execution are linked through metadata.
- Intent Inversion Attack
- This attack exploits the fact that semi-honest servers can see tool signatures, arguments, and results. By analyzing this metadata alone, an attacker can reverse-engineer and reconstruct the user's underlying cognitive state or true intentions without needing direct access to private data.
- IntentMiner
- IntentMiner is a framework designed to quantify the threat of Intent Inversion Attacks. It uses a hierarchical semantic parsing strategy—analyzing tool names, parameter usage, and result feedback—to build a detailed semantic trace of the user's original intent.
- Semantic Obfuscation
- This is a defense mechanism where an LLM agent can intentionally send extra requests or modify its outputs to confuse attackers. The goal is to introduce noise into the metadata so that reconstructing the user's true intent becomes significantly more difficult for malicious third parties.
Terminology
Summary
The evolution of Large Language Models (LLMs) into Agentic AI has established the Model Context Protocol (MCP) as the standard for connecting reasoning engines with external tools. p. 0<ref:2512.14166#pg1,The evolution of Large Language Models (LLMs) into Agentic AI has established the Model Context Protocol (MCP) as the standard for connecting reasoning engines with external tools>. p. 0 This work exposes a critical endogenous vulnerability: without semantic obfuscation, executing functions requires the transparency of intent, thereby challenging the privacy foundations of next-generation AI agents. p. 0<ref:2512.14166#pg1,This work exposes a critical endogenous vulnerability: without semantic obfuscation, executing functions requires the transparency of intent, thereby challenging the privacy foundations of next-generation AI agents>. p. 0
Pruning redundant reasoning tokens
The paper introduces IntentMiner to quantify the threat posed by the Intent Inversion Attack within the MCP ecosystem.<ref:2512.14166#pg1,To quantify this threat, we introduce IntentMiner>. p. 0 This attack allows semi-honest third-party MCP servers to reconstruct users’ underlying intents by leveraging only authorized metadata such as function signatures, arguments, and receipts. p. 0<ref:2512.14166#pg3>. Unlike traditional attacks like model inversion or membership inference, Intent Inversion aims to rebuild the user’s latent cognitive state solely from the metadata of legitimate tool execution logs. p. 0<ref:2512.14166#pg3>.
How the training signal is built
IntentMiner employs a hierarchical semantic parsing strategy that performs step-level intent reconstruction by analyzing tool functions, parameter entities, and result feedback in an orthogonal manner.<ref:2512.14166#pg3>. The framework utilizes three dimensions of semantic analysis: Tool Purpose Analysis based on tool names and descriptions. p. 4<ref:2512.14166#pg4>. Call Statement Analysis examines how user-provided parameters relate to the Tool Schema's Required Field.<ref:2512.14166#pg5,Call Statement Analysis supplements the details that Tool Purpose Analysis cannot capture>. p. 4 Returned Result Analysis aligns the returned results with the Properties Field in the tool schema to validate and clarify intent. p. 4<ref:2512.14166#pg5,Returned Result Analysis extracts detailed information from a complementary aspect>. p. 4
Where the gains come from
Empirical validation on the ToolACE benchmark demonstrates that IntentMiner achieves a semantic alignment of over 85% with original queries.<ref:2512.14166#pg3>. The system evaluates performance using three metrics: Intent Alignment Aintent, Text Embedding Similarity Stext, and Entity Match Ratio Mentity. p. 5<ref:2512.14166#pg6>. The results show that across different reasoners, IntentMiner achieves Aintent exceeding 83% in most cases. p. 5<ref:2512.14166#pg7>.
Comparison and Defense
The study compares IntentMiner against baselines like GPT-4.1 and Claude-3. p. 55, finding a substantial advantage in inferring potential intents with an average improvement of 16. p. 673% in Aintent. p. 3<ref:2512.14166#pg8>. Proposed defenses include Homomorphic Encryption on MCP Servers to prevent analysis of tool call statements and Returned Result Analysis. p. 7<ref:2512.14166#pg9>. Anonymization Middleware by Trusted. p. 7 Third Parties can prevent semi-honest MCP servers from linking inferred intent to a specific user. p. 7<ref:2512.14166#pg9>. The LLM Agent can also employ Semantic Obfuscation by sending extra requests to confuse attackers. p. 7<ref:2512.14166#pg9>.
Conclusion
In summary, the paper formalizes the Intent Inversion Attack within the MCP and proposes IntentMiner as a framework that exploits semantic traces for over 85% intent alignment.<ref:2512.14166#pg7>. These findings reveal a significant privacy gap in decoupled agent architectures where metadata leakage alone is sufficient to compromise user confidentiality. p. 7<ref:2512.14166#pg7>. The work motivates the development of more robust, privacy-preserving tool-use protocols. p. 7<ref:2512.14166#pg9>.
Limitations
Limitations noted include the reliance on general LLMs as reasoners which are not specifically optimized for intent inversion attacks.<ref:2512.14166#pg9,Limitation of General Reasoner. p. 8 Our proposed IntentMiner is built on general LLMs used as reasoners, which are not specifically optimized for intent inversion attacks>. p. 8 Furthermore, experiments use datasets like ToolACE which include few tool calls involving privacy-sensitive information. p. 8<ref:2512.14166#pg9,Insufficient PrivacySensitive Tools. p. 8 Our experiments with IntentMiner use opensource datasets commonly used for evaluating tool retrieval methods. p. 8 However, these datasets include few tool calls involving privacysensitive information>. p. 8 Ethical considerations emphasize that IntentMiner is designed to advance user privacy protection rather than acquire sensitive information. p. 8<ref:2512.14166#pg9,IntentMiner proposed in this work is not designed to acquire or disclose user sensitive information, but rather to advance user privacy protection>. p. 8
Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.
Improvements for AI systems
-
IntentMiner framework can reconstruct user intents by analyzing tool functions, parameter entities, and result feedback in an orthogonal manner to achieve a semantic alignment of over 85% with original queries on the ToolACE benchmark.
-
The system can perform step-level intent reconstruction by sequentially analyzing the intent associated with each tool call at the step level, as formalized in Algorithm 1.
-
The system can infer potential user intent across three semantic dimensions: Tool Purpose Analysis, Call Statement Analysis, and Returned Result Analysis to capture latent cognitive states from metadata leakage.
-
The system can be defended against attacks by implementing Homomorphic Encryption on MCP Servers to prevent inference of tool call information during analysis stages.
-
A trusted third party can provide anonymized tool invocation and result forwarding services as a defense mechanism against semi-honest MCP servers linking inferred intent to a specific user.
-
The LLM Agent can employ Semantic Obfuscation by sending extra requests, such as writing popular-science articles on sensitive topics, to mislead attackers about the user's true intent.
Sources
- Qwen Technical Report
- DeepSeek-V3 Technical Report
- DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning
- Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection
- ToolACE: Winning the Points of LLM Function Calling
- Prompt Injection attack against LLM-integrated Applications
- Text Embeddings Reveal (Almost) As Much As Text
- MCPTox: A Benchmark for Tool Poisoning Attack on Real-World MCP Servers
- InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents
- A Survey of Large Language Models
Related papers
- RustMizan: A Compilable, Contamination-Aware Benchmarking Framework for Rust Vulnerabilities
- Introducing the Generative Application Firewall (GAF)
- Opal: Private Memory for Personal AI
- Fuel as Identity: Authenticating Inter-Satellite Laser Links after Total Key Compromise
- Merkle Trees Minimize Verifier Complexity in the ROM
- VulCPE: Context-Aware Cybersecurity Vulnerability Retrieval and Management