By NHI Mgmt Group Editorial TeamDomain: AI SecuritySource: AktoPublished September 11, 2025

TL;DR: MCP supply chain security is becoming a governance problem because compromised tool definitions, context stores, and orchestration layers can steer AI outputs or trigger unsafe actions, according to Akto. The control gap is not just code integrity but lifecycle oversight across the MCP chain.


At a glance

What this is: This is an analysis of Model Context Protocol supply chain risk and how compromised tools, metadata, and context can subvert AI systems.

Why it matters: It matters because IAM, NHI, and AI governance teams need to treat MCP components as trusted software dependencies that can alter identity, privilege, and decision pathways.

By the numbers:

  • In 2024, over 183,000 customers were impacted by supply chain cyberattacks, signaling the urgent need to strengthen defenses across interconnected ecosystems.
  • 80% of organisations report their AI agents have already performed actions beyond their intended scope, including accessing unauthorised systems (39%), inappropriately sharing sensitive data (31%), and revealing access credentials (23%).

👉 Read Akto's analysis of MCP supply chain security and AI ecosystem risk


Context

Model Context Protocol, or MCP, connects AI models and agents to external tools, data sources, and workflows. That integration improves usefulness, but it also creates a supply chain of trust that can fail at multiple points, from tool metadata to context stores and runtime orchestration. In practice, MCP security is about preserving the integrity of the inputs and dependencies that shape AI behaviour, not just protecting the model itself.

The identity angle is real. When tool definitions, connectors, or context layers are altered, the AI system can inherit bad trust decisions, misuse credentials, or act on poisoned instructions. For IAM and NHI teams, that means MCP governance belongs alongside secrets management, workload identity, and agent oversight, not in a separate AI-only silo.


Key questions

Q: How should security teams govern MCP servers used by AI coding assistants?

A: Treat MCP servers as privileged trust boundaries, not simple data sources. Security teams should classify each server by the authority it can influence, sanitize any user-generated or third-party content before delivery, and limit the agent’s tool access so malicious context cannot easily become destructive action.

Q: Why do MCP integrations increase supply chain risk for AI systems?

A: MCP integrations increase risk because they expand the set of trusted inputs that can influence an AI system’s next action. If a connector, tool definition, or context source is poisoned, the model may follow attacker-controlled instructions while still appearing functional. That makes trust verification and lifecycle control essential.

Q: What breaks when context poisoning is not controlled?

A: When context poisoning is not controlled, misleading instructions can persist across sessions, distort retrieval results, and cause the system to act on false assumptions. The failure is especially dangerous in agentic workflows because the AI may reuse tainted context repeatedly before anyone notices. Strong provenance and isolation are the key limits.

Q: What should teams do first if an MCP tool or connector is compromised?

A: Contain the dependency immediately by disabling the tool, revoking related secrets, and reviewing every workflow that called it. Then inspect context stores, logs, and downstream actions for misuse or data exposure. The priority is to stop further trust propagation before restoring service.


Technical breakdown

How MCP supply chain compromise works

MCP implementations rely on a chain of components, including tool manifests, context stores, registries, connectors, and orchestration layers. If an attacker can alter any one of those inputs, the AI may consume malicious metadata as if it were trusted operational context. That can redirect tool use, corrupt prompts, or change downstream actions without touching the base model. The danger is architectural: AI systems often treat external context as authoritative unless integrity checks and provenance controls are enforced.

Practical implication: treat MCP dependencies as security-sensitive inputs and verify provenance before any tool or context is trusted.

Why context poisoning is harder to detect than classic malware

Context poisoning does not need code execution at the host level. Instead, it plants misleading instructions, manipulated documents, or tainted memory that survives across sessions or reappears in later retrievals. Because the AI can appear to behave normally at first, detection depends on auditing context lineage, comparing outputs against trusted sources, and watching for drift in tool-triggered behaviour. This is why lifecycle control matters as much as perimeter control.

Practical implication: isolate session context and audit retrieval sources so poisoned instructions do not persist across interactions.

Why tool versioning and runtime trust need tighter control

In MCP environments, tool updates and version changes can become an attack path if they are not pinned, signed, and monitored. A malicious or compromised tool can request credentials, inject commands, or alter runtime decisions after deployment. Traditional software supply chain controls still apply, but MCP needs tighter linkage between identity, privilege, and execution because an AI agent may invoke tools autonomously based on what it sees at runtime.

Practical implication: pin tool versions, monitor changes continuously, and restrict tool privilege to the minimum required for each workflow.


Threat narrative

Attacker objective: The attacker wants to subvert AI behaviour through trusted MCP dependencies so the system exposes data, misroutes actions, or executes malicious tool calls.

  1. Entry begins when an attacker compromises a trusted MCP supplier, tool definition, connector, or context source and injects malicious metadata or poisoned content.
  2. Escalation follows when the AI system consumes that tainted input and uses it to select tools, request credentials, or execute attacker-influenced actions.
  3. Impact occurs when the manipulated context causes unsafe decisions, unauthorized data access, or downstream exfiltration through the AI workflow.

NHI Mgmt Group analysis

MCP supply chain security is really identity governance for AI runtime dependencies. The article correctly treats tool metadata, context stores, and connectors as attack surfaces, but the deeper issue is trust delegation. When an AI system consumes external context, it is making an identity and authorisation decision about what to trust next. For IAM and NHI programmes, that means MCP should be governed as a chain of privileged dependencies, not as a simple integration layer. The practitioner conclusion is clear: if a dependency can shape model action, it needs access governance.

Context poisoning creates a persistence problem that classic application security often misses. Poisoned context can outlive the original interaction and influence later sessions, which makes the failure mode closer to state corruption than one-time injection. That matters because security teams tend to look for discrete alerts, while the actual risk is accumulated trust contamination across retrieval, memory, and orchestration. The named concept here is context trust contamination, and it should be treated as a governable lifecycle failure, not just a content-filtering issue. The practitioner conclusion is to manage context provenance with the same discipline used for sensitive data lineage.

Agentic AI makes supply chain trust operational, not theoretical. An AI agent that can choose tools at runtime can turn a compromised connector into an execution path without human review. That collapses the comfort many teams still have around static approval models and makes runtime authorization central to governance. The right control question is no longer whether the model is safe in isolation, but whether every callable dependency is constrained by identity, privilege, and auditability. The practitioner conclusion is to bind agent actions to explicit, revocable trust boundaries.

Shadow MCP will become a familiar governance problem if organisations adopt connectors faster than they inventory them. The article points to real risk in shadow agents, rogue tools, and unauthorised updates, which mirrors the broader NHI problem of unmanaged machine identities proliferating outside formal lifecycle controls. This is where identity governance and AI governance converge: undiscovered connectors behave like undiscovered service accounts. The practitioner conclusion is to inventory MCP endpoints and owners before scaling agent deployments.

Supply chain language understates the control challenge unless it is tied to provenance and privilege. The article is strongest when it connects tampering, poisoning, and unauthorized tool updates to downstream failure. That framing aligns with NIST CSF and OWASP NHI principles because the security problem is not just malicious code, but untrusted execution context. The practitioner conclusion is to make provenance checks, least privilege, and audit logging mandatory for every MCP-enabled workflow.

What this signals

Context trust contamination will become a recurring governance issue as enterprises scale agentic workflows and reuse shared toolchains across teams. For identity and security programmes, the practical signal is that every new connector expands the trusted computing base, so inventory, approval, and revocation processes must keep pace with deployment.

MCP also pushes AI governance closer to NHI governance because connectors, tool accounts, and orchestration services behave like machine identities with policy boundaries. Where those identities are undocumented or over-privileged, the organisation inherits the same exposure pattern seen in unmanaged service accounts, with the added complexity that an agent can activate them at runtime.

The control conversation should shift from model safety alone to dependency assurance and runtime privilege. Frameworks such as the OWASP Agentic AI Top 10 and the MITRE ATLAS adversarial AI threat matrix are relevant because they help teams map poisoning, tool abuse, and agent hijacking to observable controls.


For practitioners

  • Inventory every MCP dependency and owner Create a register of tool definitions, connectors, context stores, registries, and orchestration components before expanding AI use. Assign a business owner and security owner to each dependency so trust decisions are not implicit or tribal. This is the minimum control needed to prevent shadow MCP drift.
  • Pin and verify tool versions Require signed updates, approved version pinning, and change monitoring for all MCP tools and plugins. Block runtime loading of unverified tool metadata, especially where the tool can request credentials or trigger external actions. Version drift should be treated as a supply chain event.
  • Sanitise and isolate context sources Separate session context, retrieval sources, and long-lived memory into distinct control zones. Use provenance checks, hashing, and content validation for documents and metadata that influence AI outputs. This reduces the chance that poisoned context survives into later interactions.
  • Constrain agent tool privileges to task scope Apply least privilege to every callable action an agent can reach, including read, write, and credential-handling functions. If a tool does not need access to secrets or sensitive records, remove that pathway entirely. Narrow task scope is the best containment boundary when trust is uncertain.
  • Audit runtime behaviour for anomalous tool use Log tool calls, context changes, and unexpected credential requests, then review them against expected workflows. Behavioural monitoring should focus on deviations in sequence, destination, and privilege use rather than generic model outputs. If the agent starts using unusual tools, treat it as a governance event.

Key takeaways

  • MCP creates a supply chain of trust for AI, and compromise of a single dependency can change model behaviour downstream.
  • The risk is amplified when context, connectors, and tools persist across sessions without provenance, versioning, and privilege controls.
  • Identity teams should treat MCP dependencies as governed machine identities and enforce lifecycle, audit, and least-privilege controls accordingly.

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 MITRE ATLAS address the attack and risk surface, while NIST AI RMF, NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10NHI-04Tool misuse and agent hijacking map directly to MCP supply chain abuse.
MITRE ATLASATLAS fits the adversarial AI threat pattern of context poisoning and tool abuse.
NIST AI RMFGOVERNAI governance is needed for ownership, accountability, and oversight of MCP dependencies.
NIST CSF 2.0PR.AC-4Least privilege and access control are central to limiting MCP blast radius.
NIST SP 800-53 Rev 5AC-6Least privilege control directly limits what a compromised MCP dependency can do.

Map MCP tools and connectors to NHI-04 and restrict every callable action to explicit approval scope.


Key terms

  • Model Context Protocol: Model Context Protocol is an open standard that lets AI models and agents connect to external tools, data sources, and workflows. In security terms, it creates a structured trust path between the model and the systems it can influence, so integrity, provenance, and authorisation become governance requirements.
  • Context Poisoning: Context poisoning is the manipulation of information that an AI agent reads before acting. The malicious content does not need to be code. If it changes the agent’s instructions, tool choices, or assumptions, it can alter behaviour and expand the impact of a compromised delivery path.
  • Model Context Protocol: Model Context Protocol is an open protocol that lets AI agents connect to tools and data sources. It expands what an agent can reach, so governance has to cover not only the model and its prompts, but also every system that can receive or return agent-driven data.

What's in the full article

Akto's full blog covers the operational detail this post intentionally leaves for the source:

  • Specific MCP security testing workflows for tool metadata, connectors, and context stores
  • Practical examples of rogue tool behaviour and shadow MCP detection signals
  • Step-by-step mitigation guidance for context poisoning, tool updates, and runtime auditing
  • The survey and benchmark prompt used to gather current AI agent security observations

👉 Akto's full post covers the attack scenarios, safeguards, and governance actions in more operational detail

Deepen your knowledge

The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, workload identity, and secrets management in the context of modern access and lifecycle controls. It helps security practitioners connect identity governance to the broader programmes they run across cloud, AI, and application security.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 2, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org