Prompt injection can turn ordinary content into an execution path. If a user shares a malicious email, document, or message with the assistant, hidden instructions may cause the AI to trigger unauthorized MCP actions, such as forwarding files or accessing data the user never intended to expose. The security boundary between reading content and taking action becomes much weaker.
Why Prompt Injection Becomes an MCP Risk
Prompt injection matters more once an AI assistant is connected through MCP because the assistant is no longer just interpreting text. It can also trigger tools, fetch records, and move data. That changes a harmless-looking message into a potential execution path. The real risk is not only what the model “understands,” but what downstream actions it is allowed to initiate after reading untrusted content.
Security teams often underestimate how quickly this shifts from content safety to control-plane risk. A malicious email, ticket, or document can hide instructions that the assistant treats as operational context, especially when the MCP server exposes broad connectors. NHIMG has shown how adjacent agentic failures show up in practice, including Gemini AI Breach — Google Calendar Prompt Injection and Amazon Q AI Coding Agent Compromised. In practice, many security teams encounter the danger only after an assistant has already acted on an attacker-supplied instruction, rather than through intentional testing.
How It Works in Practice
With MCP, prompt injection becomes dangerous when the assistant can turn interpreted text into tool calls. The assistant may summarize a document, but the hidden instruction can steer it toward opening a connector, forwarding a file, searching a workspace, or retrieving records the user did not intend to expose. The boundary that matters is no longer “can the model read this?” It is “can the model cause an action after reading it?”
Current guidance suggests treating untrusted content as hostile input and separating it from tool authorization. In practice, that means constraining what the assistant can do at runtime, not just what it can see. Stronger designs usually combine:
- Tool allowlists that limit which MCP actions a given assistant can invoke.
- Context-aware authorization so a request is approved based on the current task, not a broad role.
- Short-lived credentials that reduce the window for unauthorized actions.
- Human approval or policy checks for high-impact operations such as sharing, deletion, or external delivery.
- Logging that preserves the prompt, the tool call, and the source content for review.
This is why the industry is moving toward agent-specific controls in resources like OWASP Agentic AI Top 10 and NIST-style control mapping for GenAI systems. The operational lesson is simple: an assistant should not inherit the same authority across every tool just because it can parse every message.
NHIMG research on OWASP Agentic Applications Top 10 reinforces the same pattern: once the model can chain instructions into actions, the security problem becomes one of execution governance, not prompt hygiene. These controls tend to break down when the MCP layer exposes high-privilege connectors and the assistant is allowed to act on untrusted content without a separate approval boundary.
Common Variations and Edge Cases
Tighter action controls often increase friction, requiring organisations to balance user convenience against the cost of false blocks and extra review. That tradeoff becomes sharper in workflows where the assistant must process inbound content continuously, such as support inboxes, document triage, or incident handling.
There is no universal standard for this yet, but best practice is evolving toward separate trust tiers for content and action. A low-risk assistant may be allowed to summarize untrusted text, while a higher-risk path requires explicit confirmation before any MCP tool call. This matters because not all prompt injection is obvious. Some attacks are indirect, where a document or message buries instructions in formatting, metadata, or quoted text. Others exploit multi-step behavior, where the assistant first retrieves more context and only then gets pushed into an unsafe action.
Practical teams should also watch for over-permissioned MCP servers. Even if the model is cautious, broad tool access can make a single injected instruction enough to create data exposure. External guidance from NIST SP 800-53 Rev 5 Security and Privacy Controls is useful here, but it must be adapted to agentic workflows rather than copied verbatim. The edge case to remember is that a well-behaved model can still become unsafe when its tools are too powerful for the content it was asked to process.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10 and CSA MAESTRO address the attack and risk surface, while NIST AI RMF, NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | LLM07 | Prompt injection is a core agentic application attack path. |
| CSA MAESTRO | A1 | MAESTRO covers agent workflow controls and execution boundaries. |
| NIST AI RMF | GOVERN | AI RMF governance applies to unsafe actions caused by injected instructions. |
| NIST CSF 2.0 | PR.AC-4 | Least privilege is essential when MCP tools can be triggered by untrusted text. |
| NIST Zero Trust (SP 800-207) | AC-6 | Zero trust limits implicit trust in content, model output, and tool access. |
Define ownership, risk review, and monitoring for model-driven actions before deployment.