--- title: "Prompt Injection is Not an AI Problem: Why MCP Tool Hardening Matters" authors: - name: "Shiqiang Chen" affiliation: "Independent Researcher" abstract: > Prompt injection has been widely framed as a language model safety problem, with solutions focused on input filtering, alignment training, and guardrail models. This paper argues that this framing is fundamentally incomplete. Through an analysis of MCP (Model Context Protocol) tool interactions, we demonstrate that prompt injection is primarily a tool security and input sanitization problem, not an AI alignment one. We show how seemingly benign tool integrations create injection vectors that bypass LLaMA-based guardrails, and we propose a principle-based approach to MCP tool hardening: validate at the boundary, not the model. Our findings suggest that the AI security community needs to shift its focus from model-level defenses to protocol-level tool security. tags: - prompt-injection - mcp-security - tool-security - ai-safety - input-validation license: apache-2.0 --- # Prompt Injection is Not an AI Problem: Why MCP Tool Hardening Matters **Authors:** Shiqiang Chen **Abstract:** Prompt injection has been widely framed as a language model safety problem, with solutions focused on input filtering, alignment training, and guardrail models. This paper argues that this framing is fundamentally incomplete. Through an analysis of MCP tool interactions, we demonstrate that prompt injection is primarily a tool security and input sanitization problem, not an AI alignment one. We show how seemingly benign tool integrations create injection vectors that bypass LLaMA-based guardrails, and we propose a principle-based approach to MCP tool hardening: validate at the boundary, not the model. ## Key Contributions 1. **Reframing prompt injection** as a tool security problem, not an AI alignment problem 2. **Analysis of MCP tool injection vectors** that bypass LLaMA guardrails 3. **Principle-based approach** to MCP tool hardening (validate at the boundary) 4. **Practical recommendations** for tool developers and protocol designers ## Paper The full paper is available as [paper-prompt-injection.pdf](./paper-prompt-injection.pdf)