Commenced in January 2007
Frequency: Monthly
Edition: International
Paper Count: 99270
Securing Model Context Protocol Tool Execution Against Compromised AI Agents Using Cryptographically Bound Authorization
Authors: Angeline Neha R., J. Sony, Priya Naik, Shubh Anand, S. Varun Rao
Abstract:
Large Language Model (LLM)-based agents increasingly interact with external tools and services through protocols such as the Model Context Protocol (MCP), enabling autonomous actions but also introducing a security risk when agent reasoning is compromised. Prompt injection and malicious contextual information can cause an agent to generate unauthorized tool requests, while conventional authorization mechanisms may authenticate an agent without binding its authorization to the specific operation being executed. This paper presents ZKPASS, a cryptographically bound authorization mechanism for securing MCP tool execution against compromised AI agents. ZKPASS combines a non-interactive Schnorr proof of knowledge for principal binding with a Groth16 zero-knowledge proof for policy compliance, while binding the authorization challenge to the concrete execution intent and verifying policy-related commitments against authoritative backend records. The proposed mechanism is evaluated using an LLM-driven red-team methodology covering eleven attack scenarios targeting replay, delegation, intent, and policy-binding weaknesses. All evaluated attacks were blocked after identified implementation vulnerabilities were remediated and re-tested. Performance measurements show approximately 1ms for Sigma proof generation and 210ms for Groth16 proof generation, motivating early intent-binding checks before the more computationally expensive policy proof. The results demonstrate the feasibility of enforcing cryptographically bound authorization at the MCP tool execution boundary while preserving the privacy of policy attributes.Keywords: AI agent security, cryptographic authorization, model context protocol, prompt injection, tool security, zero-knowledge proofs
Procedia PDF Downloads 57