Steelcrest Cyber — Research & Disclosure

Trust-Boundary & Injection Risks in AI Tool & MCP Integrations

Original security research from Steelcrest Cyber on a fast-growing attack surface: the connectors that let AI agents run tools and reach external systems.

Published: October 12, 2026 Author: Steelcrest Investigations LLC Class: Injection / Trust Boundary Severity (typical): High

AI agents increasingly act through tools: functions and connectors that let a model read files, call APIs, query databases, or run commands. The Model Context Protocol (MCP) has become a common way to expose these tools to an agent. This research describes a recurring weakness we observe when assessing these integrations, explains why it arises, and gives defensive guidance. It is written at a class level and intentionally contains no working exploit and no named unpatched target.

Summary

Many AI tool integrations blur the boundary between untrusted content and trusted instructions. When a tool forwards model-supplied or document-supplied text into a shell, an interpreter, a database query, or another tool call without strict validation, an attacker who can influence that text can cause unintended actions. Because the agent sits between the attacker's input and a privileged capability, the impact ranges from information disclosure to command execution on the host running the tool server.

Why this matters. A tool server often runs with the developer's own credentials and local access. A single unvalidated parameter that reaches a shell or query can turn a convenience feature into remote code execution or data exfiltration under that developer's identity.

Where the boundary breaks

1. Model output treated as a trusted command

A tool accepts a free-form field from the model and passes it into a system shell or an exec-style call. The model's output is influenced by whatever content it has read, including web pages, documents, or prior tool results. If any of that content is attacker-controlled, the attacker effectively writes part of the command.

2. Indirect prompt injection through retrieved content

An agent reads an external document, email, or record that contains instructions aimed at the model rather than the user. Those instructions can steer later tool calls, for example asking the agent to send data to an external endpoint or to invoke an administrative tool. The content, not the user, is driving the action.

3. Over-broad tool scope and implicit trust between tools

Tool servers frequently expose more capability than a task needs, and they trust the output of one tool as safe input to another. Chaining these calls lets influenced data move from a low-privilege read into a high-privilege action without ever crossing an explicit check.

Impact

Defensive guidance

  1. Treat all model and document content as untrusted. Never pass it directly into a shell, interpreter, or query string. Use parameterized APIs and strict allow-lists, not string concatenation.
  2. Give each tool the narrowest scope that works. Separate read capabilities from write and execute capabilities, and require explicit, auditable confirmation for privileged actions.
  3. Establish a trust boundary between tools. Do not treat one tool's output as pre-validated input to another. Re-validate at each step.
  4. Constrain and label retrieved content. Mark external content as data, strip or neutralize embedded instructions, and keep it out of the instruction channel.
  5. Run tool servers with least privilege. Dedicated service accounts, no ambient developer credentials, and network egress controls limit the blast radius if a boundary fails.
  6. Log and monitor tool invocations. Record parameters and outcomes so anomalous chains are detectable and reviewable.
Testing note. Steelcrest Cyber assesses these integrations only under written authorization, on systems the client owns or is contractually permitted to test. Findings in client work are reported privately to the client. This advisory generalizes patterns observed across authorized engagements and does not describe any single client system.

Responsible Disclosure Policy

Steelcrest Cyber practices coordinated disclosure. If you believe you have found a security issue in a system we operate, or you are a vendor we have contacted about a finding, here is how we work.

Media or coordination inquiries: [email protected].