Skip to main content
CenXiv.org
This website is in trial operation, support us!
We gratefully acknowledge support from all contributors.
Contribute
Donate
cenxiv logo > cs > arXiv:2506.01333

Help | Advanced Search

Computer Science > Cryptography and Security

arXiv:2506.01333 (cs)
[Submitted on 2 Jun 2025 ]

Title: ETDI: Mitigating Tool Squatting and Rug Pull Attacks in Model Context Protocol (MCP) by using OAuth-Enhanced Tool Definitions and Policy-Based Access Control

Title: ETDI:通过使用OAuth增强的工具定义和基于策略的访问控制来减轻模型上下文协议(MCP)中的工具劫持和 rug 拉攻击

Authors:Manish Bhatt, Vineeth Sai Narajala, Idan Habler
Abstract: The Model Context Protocol (MCP) plays a crucial role in extending the capabilities of Large Language Models (LLMs) by enabling integration with external tools and data sources. However, the standard MCP specification presents significant security vulnerabilities, notably Tool Poisoning and Rug Pull attacks. This paper introduces the Enhanced Tool Definition Interface (ETDI), a security extension designed to fortify MCP. ETDI incorporates cryptographic identity verification, immutable versioned tool definitions, and explicit permission management, often leveraging OAuth 2.0. We further propose extending MCP with fine-grained, policy-based access control, where tool capabilities are dynamically evaluated against explicit policies using a dedicated policy engine, considering runtime context beyond static OAuth scopes. This layered approach aims to establish a more secure, trustworthy, and controllable ecosystem for AI applications interacting with LLMs and external tools.
Abstract: 模型上下文协议(MCP)在通过启用外部工具和数据源的集成来扩展大型语言模型(LLMs)的能力方面发挥着至关重要的作用。然而,标准的MCP规范存在显著的安全漏洞,特别是工具投毒和地毯式攻击。 本文介绍了增强型工具定义接口(ETDI),这是一种旨在强化MCP的安全扩展。ETDI结合了加密身份验证、不可变的版本化工具定义以及显式的权限管理,通常利用OAuth 2.0。我们进一步建议通过基于细粒度策略的访问控制扩展MCP,在专用策略引擎中动态评估工具能力是否符合明确策略,考虑运行时上下文而非静态OAuth范围。这种方法旨在为与LLMs和外部工具交互的AI应用建立一个更安全、可信且可控的生态系统。
Comments: 11 Pages, 10 figures, Github links in introduction
Subjects: Cryptography and Security (cs.CR) ; Artificial Intelligence (cs.AI); Emerging Technologies (cs.ET)
Cite as: arXiv:2506.01333 [cs.CR]
  (or arXiv:2506.01333v1 [cs.CR] for this version)
  https://doi.org/10.48550/arXiv.2506.01333
arXiv-issued DOI via DataCite

Submission history

From: Vineeth Sai Narajala [view email]
[v1] Mon, 2 Jun 2025 05:22:38 UTC (2,726 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled
  • View Chinese PDF
  • View PDF
  • HTML (experimental)
  • TeX Source
  • Other Formats
license icon view license
Current browse context:
cs.CR
< prev   |   next >
new | recent | 2025-06
Change to browse by:
cs
cs.AI
cs.ET

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
IArxiv Recommender (What is IArxiv?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack

京ICP备2025123034号