ShieldNet: Network-Level Guardrails against Emerging Supply-Chain Injections in Agentic Systems
Organizations: UIUC · University of Chicago · University of Georgia · United States Military Academy ·
Abstract
Existing research on LLM agent security mainly focuses on prompt injection and unsafe input/output behaviors. However, as agents increasingly rely on third-party tools and MCP servers, a new class of supply-chain threats has emerged, where malicious behaviors are embedded in seemingly benign tools, silently hijacking agent execution, leaking sensitive data, or triggering unauthorized actions. Despite their growing impact, there is currently no comprehensive benchmark for evaluating such threats. To bridge this gap, we introduce SC-Inject-Bench, a large-scale benchmark comprising over 10,000 malicious MCP tools grounded in a taxonomy of 25+ attack types derived from MITRE ATT&CK targeting supply-chain threats. We observe that existing MCP scanners and semantic guardrails perform poorly on this benchmark. Motivated by this finding, we propose ShieldNet, a network-level guardrail framework that detects supply-chain poisoning by observing real network interactions rather than surface-level tool traces. ShieldNet integrates a man-in-the-middle (MITM) proxy and an event extractor to identify critical network behaviors, which are then processed by a lightweight classifier for attack detection. Extensive experiments show that ShieldNet achieves strong detection performance (up to 0.995 F-1 with only 0.8% false positives) while introducing little runtime overhead, substantially outperforming existing MCP scanners and LLM-based guardrails.
Figures & tables
| Benchmark | Real Tool Execution | Code-Level Injection | Network-Level Validation |
|---|---|---|---|
| MCP Security Bench ( Zhang et al., 2025a ) | ✓ | ✗ | ✗ |
| MCPSecBench ( Yang et al., 2025 ) | ✗ | ✗ | ✗ |
| MCPTox ( Wang et al., 2025 ) | ✗ | ✗ | ✗ |
| MCP-SafetyBench ( Zong et al., 2025 ) | ✓ | ✗ | ✗ |
| SC-Inject-Bench | ✓ | ✓ | ✓ |
| Method | FPR | F-1 |
|---|---|---|
| ShieldNet | 0.022 | 0.998 |
| ShieldNet w/o decryption | 0.896 | 0.977 |
| ShieldNet w/o decryption and event extraction | 0.386 | 0.829 |
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | Total Combos | Successful | Errors | Success Rate |
|---|---|---|---|---|
| Invariant Labs [ 6 ] | 19937 | 18487 | 1450 | 92.73% |
| Cisco AI [ 5 ] | 19937 | 19908 | 29 | 99.85% |
| Ramparts [ 15 ] | 19937 | 18022 | 1915 | 90.39% |
| AgentIO-GPT-4.1 | 19937 | 19562 | 375 | 98.12% |
| AgentIO-GPT-5.2 | 19937 | 19555 | 382 | 98.08% |
| Traffic-Suricata [ 16 ] | 19937 | 19937 | 0 | 100.00% |
| Benchmark | Domains | Servers | Benign Tools | Attack Types | Malicious Tools |
|---|---|---|---|---|---|
| MCP Security Bench [ 10 ] | 10 | 25 | 304 | 6 | 400+ |
| MCPSecBench [ 7 ] | – | 3 | – | 17 | 8 |
| MCPTox [ 8 ] | 8 | 45 | 353 | 3 | 1312 |
| MCP-SafetyBench [ 9 ] | 5 | – | – | 20 | 245 |
| SC-Inject-Bench | 14 | 122 | 1105 | 29 | 20k+ |
| ID | Technique | Type | Description |
|---|---|---|---|
| 1 | Network Device Configuration Dump | Connection Creation | Adversaries may access network configuration files to collect sensitive data about the device and the network. The network configuration is a file containing parameters that determine the operation of the device. … |
| 2 | Data from Network Shared Drive | Connection Creation | Adversaries may search network shares on computers they have compromised to find files of interest. Sensitive data can be collected from remote systems via shared network drives (host shared directory, network file server, etc.) that are accessible from the current system prior to Exfiltration. … |
| 3 | Data Transfer Size Limits | Connection Creation | An adversary may exfiltrate data in fixed size chunks instead of whole files or limit packet sizes below certain thresholds. This approach may be used to avoid triggering network data transfer threshold alerts. … |
| 4 | Fast Flux DNS | Connection Creation | Adversaries may use Fast Flux DNS to hide a command and control channel behind an array of rapidly changing IP addresses linked to a single domain resolution. This technique uses a fully qualified domain name, with multiple IP addresses assigned to it which are swapped with high frequency, using a combination of round robin IP addressing and short Time-To-Live (TTL) for a DNS resource record.[1][2][3] The simplest, "single-flux" method, involves registering and de-registering an addresses as part of the DNS A (address) record list for a single DNS name. … |
| 5 | Exfiltration Over Symmetric Encrypted Non-C2 Protocol | Connection Creation | Adversaries may steal data by exfiltrating it over a symmetrically encrypted network protocol other than that of the existing command and control channel. The data may also be sent to an alternate network location from the main command and control server. … |
| 6 | Exfiltration Over Asymmetric Encrypted Non-C2 Protocol | Connection Creation | Adversaries may steal data by exfiltrating it over an asymmetrically encrypted network protocol other than that of the existing command and control channel. The data may also be sent to an alternate network location from the main command and control server. … |
AI Agent Security
Artificial intelligence agent security studies attacks and safeguards for tool-using, persistent, and collaborative systems across digital and physical settings.
See all 508 papers