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

Source: [ETDI: Mitigating Tool Squatting and Rug Pull Attacks in Model Context Protocol (MCP) by using OAuth-Enhanced Tool Definitions and Policy-Based Access Control](<https://www.sota2.com/research/paper/68fa79001e209131cea7b984>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-26T04:51:01.219Z

Authors: Manish Bhatt, Vineeth Sai Narajala, Idan Habler

Published: 2025-06-02T05:22:38.000Z

## 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.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Defense Mechanism Coverage Analysis on 23 Attack Vectors across 7 Threat Categories](<https://www.sota2.com/research/sota/defense-mechanism-coverage-analysis-on-23-attack-vectors-across-7-threat-categories.md>): Defense Mechanism Coverage Analysis; 23 Attack Vectors across 7 Threat Categories; Overall Coverage: 22.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2506.01333>)

[PDF](<https://arxiv.org/pdf/2506.01333.pdf>)
