arXiv:2608.20481cs.CRcs.AI2026-08

AEGIS通过大模型分析多模态工具调用,防止MCP协议中的资源滥用。

AEGIS: Preventing Cross-Domain Resource Abuse in MCP

论文配图:AEGIS: Preventing Cross-Domain Resource Abuse in MCP
图 1 · 摘自论文原文
  • 用大模型将不同工具调用统一转为可审查的策略格式
  • 支持文本、图像、视频、位置等多模态,覆盖跨域请求
  • 适合需要安全管控AI代理系统的开发者和运维人员

Model Context Protocol (MCP) 是一种开源 JSON-RPC 协议,用于标准化大语言模型(LLMs)通过程序化函数(即工具)与外部系统交互。攻击者或恶意代理可能利用MCP工具的特定模态滥请求资源,例如过度扩大搜索范围或请求超长视频,从而导致后端系统过载,引发性能下降甚至拒绝服务。文本、图像、视频、位置等每种模态都引入了独特的资源滥用路径,使得制定一致的缓解策略变得复杂。此外,多模态和跨域工具具有多样化的请求模式与参数,难以定义既通用又精确的资源约束策略。本文提出 AEGIS,一个策略执行组件,使管理员能够针对异构MCP工具和模态定义细粒度防护机制。AEGIS 利用大语言模型的能力,对各类工具调用进行分析、分类和归一化,生成统一、便于策略管理的表示形式,供安全从业者使用。AEGIS 集成于 Open Policy Agent 和 ContextForge AI Gateway,可在保持MCP代理生态灵活性的同时,检测并阻止滥用行为。

原文摘要 · Abstract (English)

The Model Context Protocol (MCP) is an open source JSON-RPC protocol that standardizes how large language models (LLMs) interact with external systems through programmatic functions known as tools. Attackers or malicious agents can exploit certain modalities of these MCP tools to degrade the overall quality of service of agent-based applications. For example, an agent may request an excessively large search radius or very long videos, overloading backend systems and potentially causing slowdowns or denial-of-service. Each modality including text, images, video, and location introduces distinct vectors for resource abuse, complicating the development of consistent mitigation strategies. Moreover, multimodal and crossdomain tools expose diverse request schemas and parameters, making it difficult to define policies that are both generalizable and precise enough to enforce meaningful resource constraints. In this paper, we present AEGIS, a policy enforcement component that enables administrators to define fine-grained safeguards against resource abuse across heterogeneous MCP tools and modalities. AEGIS leverages the reasoning capabilities of large language models to analyze, categorize, and normalize diverse tool invocations into a unified, policy-friendly representation accessible to security practitioners. Integrated with the Open Policy Agent and the ContextForge AI Gateway, AEGIS detects and mitigates abusive behaviors while preserving the flexibility of MCP-based agent ecosystems.

AI安全资源控制MCP大模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。