Securing the AI Supply Chain in 2026: Model Provenance, Poisoning, and MCP Tool Risk

Manish Garg
Manish Garg Associate of (ISC)² · RingSafe
May 25, 2026
2 min read

Every lesson the software world learned about supply-chain security — Log4Shell, xz-utils, npm typosquats — now applies to AI, with new twists. Your AI system is only as trustworthy as the weights, data, and tools behind it.

In 2026 your AI system’s trust boundary includes the model weights, the training and RAG data, and the MCP tools the agent can call. Each is a supply-chain link an attacker can target.

The pickle problem (still real)

Until recently most models shipped as Python pickle files (.bin, .pt, .pkl). Pickle deserialisation executes arbitrary code on load — by design. A JFrog 2024 audit found 100+ Hugging Face models carrying malicious pickle payloads (reverse shells, env-var exfiltration, cryptominers). Defences:

# Scan before you load
pip install picklescan
picklescan --path ./downloaded_model.bin

# Prefer safetensors — deserialisation cannot execute code
from safetensors.torch import load_file
weights = load_file("model.safetensors")

The three poisoning vectors

  1. Data poisoning — manipulated training/fine-tuning data that plants backdoors triggered by specific inputs.
  2. Model poisoning / backdoored weights — a model from an unverified source that behaves normally until a trigger fires.
  3. RAG poisoning — attacker-controlled content injected into the knowledge base your model retrieves from. This is indirect prompt injection at scale.

The MCP-tool angle

An agent that auto-discovers and trusts MCP tools is one rogue or compromised tool away from trouble — a malicious tool can exfiltrate context, return manipulative results, or take unexpected actions. Tool registries are now a dependency you must vet like any package.

Defending the chain

  • Verify provenance and integrity of model weights; pin and checksum them.
  • Prefer safetensors; scan any pickle in a network-isolated sandbox before loading.
  • Curate and validate RAG sources; treat retrieved content as untrusted input.
  • Allow-list MCP tools and review their permissions before wiring them in.
  • Keep an AI bill of materials (AI-BOM) — models, datasets, tools, and versions.

RingSafe brings software-supply-chain discipline to AI deployments. Ask about an AI supply-chain review.

Worried about your exposure?

Get a free attack-surface review

We check what an attacker would see about your business — leaked credentials, exposed services, dark-web mentions. 30 minutes, no obligation.

Book exposure review Replies in 4 working hrs · India-only · Senior consultants