# Network-Level Guardrails against Supply-Chain Vulnerabilities in Agentic Systems

DevFeed: [Network-Level Guardrails against Supply-Chain Vulnerabilities in Agentic Systems](<https://devfeed.tech/articles/network-level-guardrails-against-supply-chain-vulnerabilities-in-agentic-systems-165343.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2604.04426>)

Author: Zhuowen Yuan, Zhaorun Chen, Zhen Xiang, Nathaniel D. Bastian, Seyyed Hadi Hashemi, Chaowei Xiao, Wenbo Guo, Bo Li

Published: 2026-12-02T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [AI software supply chain security](<https://devfeed.tech/topics/ai-software-supply-chain-security.md>), [ai security](<https://devfeed.tech/topics/ai-security.md>), [software supply-chain attack](<https://devfeed.tech/topics/software-supply-chain-attack.md>), [network-intelligence](<https://devfeed.tech/topics/network-intelligence.md>), [TLS (Transport Layer Security)](<https://devfeed.tech/topics/tls.md>)

Tags: [agentic-systems](<https://devfeed.tech/tags/agentic-systems.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [attack-surface](<https://devfeed.tech/tags/attack-surface.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [class](<https://devfeed.tech/tags/class.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [guardrail](<https://devfeed.tech/tags/guardrail.md>), [guardrails](<https://devfeed.tech/tags/guardrails.md>), [lightweight](<https://devfeed.tech/tags/lightweight.md>), [llm-agents](<https://devfeed.tech/tags/llm-agents.md>), [malicious](<https://devfeed.tech/tags/malicious.md>), [man-in-the-middle](<https://devfeed.tech/tags/man-in-the-middle.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-servers](<https://devfeed.tech/tags/mcp-servers.md>), [mcp-tool](<https://devfeed.tech/tags/mcp-tool.md>), [mcp-tool-poisoning](<https://devfeed.tech/tags/mcp-tool-poisoning.md>), [mitre](<https://devfeed.tech/tags/mitre.md>), [network](<https://devfeed.tech/tags/network.md>), [network-traffic](<https://devfeed.tech/tags/network-traffic.md>), [supply-chain](<https://devfeed.tech/tags/supply-chain.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>)

## AI overview

MCP Tool Trojans hide malicious behavior in seemingly benign tool implementations, probing networks or exfiltrating data without changing tool names, descriptions, or outputs or manipulating the LLM; this makes scanners and input/output guardrails largely blind to them. The authors introduce MCPTrojanBench, with 29 network-visible attacks across 139 real-world MCP servers and more than 24,000 trojaned tool instances. Their ShieldNet guardrail monitors execution traffic using a TLS-decrypting man-in-the-middle proxy, an event extractor, and a lightweight post-trained detector. The abstract reports 0.995 trace-level F1, 0.8% false positives, over 15x fewer false positives than the compared frontier LLMs, generalization to unseen servers and attacks, and little runtime overhead.

## Source excerpt

arXiv:2604.04426v2 Announce Type: replace Abstract: As LLM agents increasingly rely on third-party tools served through the Model Context Protocol (MCP), they inherit a critical supply-chain attack surface, which we term MCP Tool Trojans, an emerging class of attacks that embed malicious code inside the implementation of seemingly benign MCP tools. Their names, descriptions, and outputs remain unchanged, while the hidden code covertly probes internal networks, exfiltrates data, or contacts attacker infrastructure at runtime. Unlike MCP Tool Poisoning, which injects instructions that the LLM must read and follow, MCP Tool Trojans never manipulate the model, rendering them invisible to existing MCP scanners and semantic guardrails. To study this threat, we introduce MCPTrojanBench, the first large-scale benchmark of MCP Tool Trojans, which injects 29 network-visible attacks derived from MITRE ATT&CK into 139 real-world MCP servers, yielding over 24,000 trojaned tool instances validated through captured network traffic. Our evaluation on MCPTrojanBench reveals that existing MCP scanners and I/O-based guardrails are almost entirely blind to these attacks. To address this gap, we propose ShieldNet, a network-level guardrail that detects MCP Tool Trojans from the traffic generated during tool execution. ShieldNet integrates a man-in-the-middle proxy for TLS decryption, an event extractor that distills raw packets into structured events, and a lightweight post-trained detector. Extensive experiments show that ShieldNet achieves 0.995 F1 with only 0.8% false positives at the trace level, reduces false positives by over 15$\times$ compared with frontier LLMs including GPT-6 Astra and Claude Opus 5, generalizes to unseen servers and attacks, and adds little runtime overhead.