"MCP Does Not Stand for Misuse Cryptography Protocol": Uncovering Cryptographic Misuse in Model Context Protocol at Scale
Biwei Yan, Yue Zhang, Minghui Xu, Hao Wu, Yechao Zhang, Kun Li, Guoming Zhang, Xiuzhen Cheng

TL;DR
This paper introduces MICRYSCOPE, a framework for detecting cryptographic misuses in the emerging Model Context Protocol, revealing widespread vulnerabilities and emphasizing the need for improved security practices in MCP implementations.
Contribution
MICRYSCOPE is the first domain-specific tool that normalizes cryptographic APIs, analyzes dependencies, and detects misuses in MCP, uncovering significant security flaws at scale.
Findings
19.7% of MCP servers with cryptographic logic had misuses
Misuses are concentrated in specific markets, languages, and categories
Real-world cases include leaked keys and insecure cryptographic algorithms
Abstract
The Model Context Protocol (MCP) is rapidly emerging as the middleware for LLM-based applications, offering a standardized interface for tool integration. However, its built-in security mechanisms are minimal: while schemas and declarations prevent malformed requests, MCP provides no guarantees of authenticity or confidentiality, forcing developers to implement cryptography themselves. Such ad hoc practices are historically prone to misuse, and within MCP they threaten sensitive data and services. We present MICRYSCOPE, the first domain-specific framework for detecting cryptographic misuses in MCP implementations. MICRYSCOPE combines three key innovations: a cross-language intermediate representation that normalizes cryptographic APIs across diverse ecosystems, a hybrid dependency analysis that uncovers explicit and implicit function relationships (including insecure runtime…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Authentication Protocols Security · Security and Verification in Computing · Web Application Security Vulnerabilities
