提出网络级防护框架ShieldNet,抵御代理系统供应链注入攻击
ShieldNet: Network-Level Guardrails against Emerging Supply-Chain Injections in Agentic Systems
- 通过监听真实网络交互而非表面工具行为检测供应链中毒
- 在超万条恶意工具数据集上实现0.995的F1分数,误报率仅0.8%
- 适合关注LLM代理安全、尤其是第三方工具风险的研究者与开发者
现有大模型代理安全研究主要聚焦于提示注入和不安全输入输出行为。然而,随着代理越来越多依赖第三方工具和MCP服务器,一种新型供应链威胁浮现:恶意行为被嵌入看似无害的工具中,悄然劫持代理执行、泄露敏感数据或触发未经授权操作。尽管影响日益严重,目前尚无全面评估此类威胁的基准。为此,我们提出SC-Inject-Bench,一个包含超过10,000个恶意MCP工具的大规模基准,基于MITRE ATT&CK构建了25+种攻击类型分类体系。我们发现现有MCP扫描器和语义防护机制在此基准上表现不佳。受此启发,我们提出ShieldNet——一种基于网络层的防护框架,通过监听实际网络交互而非表层工具痕迹来检测供应链投毒。ShieldNet集成中间人(MITM)代理与事件提取器,识别关键网络行为,并由轻量级分类器进行攻击判定。大量实验表明,ShieldNet在仅引入极小运行时开销的前提下,达到最高0.995的F1分数,显著优于现有MCP扫描器与基于LLM的防护方案。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。