Are AI-assisted Development Tools Immune to Prompt Injection?
On the map: LLM safety and security → Prompt injection and agent security
Abstract (arXiv)
Prompt injection is listed as the number-one vulnerability class in the OWASP Top 10 for LLM Applications that can subvert LLM guardrails, disclose sensitive data, and trigger unauthorized tool use. Developers are rapidly adopting AI-assisted development tools built on the Model Context Protocol (MCP). However, their convenience comes with security risks, especially prompt-injection attacks delivered via tool-poisoning vectors. While prior research has studied prompt injection in LLMs, the security posture of real-world MCP clients remains underexplored. We present the first empirical analysis of prompt injection with the tool-poisoning vulnerability across seven widely used MCP clients: Claude Desktop, Claude Code, Cursor, Cline, Continue, Gemini CLI, and Langflow. We identify their detection and mitigation mechanisms, as well as the coverage of security features, including static validation, parameter visibility, injection detection, user warnings, execution sandboxing, and audit logging. Our evaluation reveals significant disparities. While some clients, such as Claude Desktop, implement strong guardrails, others, such as Cursor, exhibit high susceptibility to cross-tool poisoning, hidden parameter exploitation, and unauthorized tool invocation. We further provide actionable guidance for MCP implementers and the software engineering community seeking to build secure AI-assisted development workflows.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. First posted on arXiv 23 Mar 2026.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2026: 3.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Model Context Protocol Threat Modeling and Analyzing Vulnerabilities to Prompt Injection with Tool Poisoning
- 2025MCPXKIT: The Unified Toolkit for Analyzing Model Context Protocol Security
- 2026Prompts Don't Protect: Architectural Enforcement via MCP Proxy for LLM Tool Access Control
- 2025MCPTox: A Benchmark for Tool Poisoning Attack on Real-World MCP Servers
- 2026Defense Against Indirect Prompt Injection via Tool Result Parsing
- 2025Prompt Injection 2.0: Hybrid AI Threats
- 2026WebMCP Tool Surface Poisoning: Runtime Manipulation Attacks on LLM Agents
- 2025MCP Safety Audit: LLMs with the Model Context Protocol Allow Major Security Exploits