{
 "name": "MCP Risk Register",
 "edition": "2026-11-16",
 "read_date": "2026-11-16",
 "license": "CC BY 4.0",
 "cite": "Cite assets as: MCP Server Security, \"<asset name>\", edition 16 Nov 2026, https://mcpservercybersecurity.com/<asset path>/, licensed CC BY 4.0.",
 "source": "https://mcpservercybersecurity.com/datasets/mcp-risk-register/",
 "rows": [
  {
   "id": "R-01",
   "category": "Supply chain",
   "name": "Look-alike package name (typosquatting)",
   "what": "A package is published under a name one keystroke away from a trusted MCP server, in the hope that a developer or a script installs it by mistake.",
   "impact": "The wrong package runs with the same permissions as the right one, including access to the user's files and environment variables.",
   "controls": "Compare the exact package name, publisher and repository against the vendor's documentation before the first install. | Keep an approved server list and block installs of anything not on it (VS Code and Copilot enterprise-managed settings use allowedMcpServers and deniedMcpServers; Claude Code uses managed-mcp.json). | Pin the version once reviewed so a later publish under the same name is not picked up.",
   "severity": "high",
   "sources": "https://cheatsheetseries.owasp.org/cheatsheets/MCP_Security_Cheat_Sheet.html https://modelcontextprotocol.io/docs/tutorials/security/local-server-security"
  },
  {
   "id": "R-02",
   "category": "Supply chain",
   "name": "Repackaged server with altered endpoints",
   "what": "A package copies a legitimate server's open-source code but replaces authentication or API addresses, and the README does not mention the change. Knostic described one such npm package on 26 Oct 2026 and assessed it as suspected malicious credential redirection.",
   "impact": "Application credentials the user supplies as environment variables go to a destination the user did not choose.",
   "controls": "Diff the package contents against the upstream repository for endpoint and authentication changes before approval. | Restrict outbound network access from MCP server processes to the hosts the server needs. | Rotate any credential that was supplied to a server later found to be altered.",
   "severity": "high",
   "sources": "https://www.knostic.ai/blog/repackaged-amazon-sp-api-mcp-sends-app-secrets-to-an-undisclosed-ip https://modelcontextprotocol.io/docs/tutorials/security/local-server-security"
  },
  {
   "id": "R-03",
   "category": "Supply chain",
   "name": "Unreviewed code run through a package launcher",
   "what": "Local MCP servers are often started by a launcher command such as npx, which fetches whatever the package name resolves to at that moment and runs it.",
   "impact": "A new publish, a hijacked account or a changed dependency executes on the next start without a review step.",
   "controls": "Install a pinned version and run it from a reviewed lockfile or image rather than resolving the latest at launch. | Show the full launch command, unabridged, for approval before a server is added. | Record the package name, version and hash of every approved server in the catalog.",
   "severity": "high",
   "sources": "https://modelcontextprotocol.io/specification/2026-07-28/basic/security_best_practices https://modelcontextprotocol.io/docs/tutorials/security/local-server-security"
  },
  {
   "id": "R-04",
   "category": "Supply chain",
   "name": "Vulnerable or compromised dependency inside a server",
   "what": "An MCP server pulls in third-party packages, and a known flaw or a compromised release in any of them runs with the server's permissions.",
   "impact": "A flaw in a dependency becomes code execution or data access on the machine that runs the server.",
   "controls": "Scan server dependencies for known vulnerabilities before approval and on a schedule afterward. | Verify package integrity with checksums or code signing where the publisher provides them. | Subscribe to GitHub advisories for the servers and SDKs in the catalog and track fixed versions.",
   "severity": "medium",
   "sources": "https://cheatsheetseries.owasp.org/cheatsheets/MCP_Security_Cheat_Sheet.html https://snyk.io/blog/evo-ads-govern-agent-behavior-ga/"
  },
  {
   "id": "R-05",
   "category": "Supply chain",
   "name": "Tool definitions change after approval (rug pull)",
   "what": "A server changes its tool names, descriptions or schemas after a user or reviewer approved it, turning a reviewed tool into a different one.",
   "impact": "An approval given on day one no longer describes what the tool does on day thirty.",
   "controls": "Hash the complete tool definition, including inputSchema, outputSchema and annotations, and require re-review when the hash changes. | Re-prompt for consent when definitions change, and alert on listChanged notifications from servers not expected to change. | Pin the server version so definitions only change on a reviewed upgrade.",
   "severity": "medium",
   "sources": "https://cheatsheetseries.owasp.org/cheatsheets/MCP_Security_Cheat_Sheet.html https://modelcontextprotocol.io/specification/2026-07-28/server/tools"
  },
  {
   "id": "R-06",
   "category": "Supply chain",
   "name": "Registry listing mistaken for a security review",
   "what": "The official MCP Registry stores metadata that points at packages on npm, PyPI and Docker Hub, and is described as a preview. A listing shows that a name was published, not that the code was reviewed.",
   "impact": "Teams that build an approved list from registry data may admit a server that nobody read, or map two listings to one entry. The registry's v1.8.8 notes say different server names may share a remote URL.",
   "controls": "Treat registry data as discovery input only and review the package behind each entry. | Key catalog entries by server name and version, not by URL. | Record the reviewer, date and version for each approved entry.",
   "severity": "medium",
   "sources": "https://modelcontextprotocol.io/registry/about https://github.com/modelcontextprotocol/registry/releases/tag/v1.8.8"
  },
  {
   "id": "R-07",
   "category": "Supply chain",
   "name": "Unknown servers configured on developer machines",
   "what": "Developers add MCP servers to IDEs, desktop AI apps and command-line agents without telling security. Snyk says its scan data from nearly 10,000 developer environments found 4,524 unique MCP servers in active use.",
   "impact": "Reviews and policies cover only the servers the team knows about; the rest run with user permissions and no owner.",
   "controls": "Inventory MCP servers per machine from the client config files and from an endpoint tool that reports configured servers (Microsoft Defender for Endpoint documents local AI agent discovery that reports each agent's configured MCP servers). | Give every approved server an owner and a review date, and compare the inventory with the catalog on a schedule. | Block or flag servers not in the catalog using managed client settings.",
   "severity": "high",
   "sources": "https://snyk.io/blog/evo-ads-govern-agent-behavior-ga/ https://learn.microsoft.com/en-us/defender-endpoint/whats-new-in-microsoft-defender-endpoint"
  },
  {
   "id": "R-08",
   "category": "Authorization",
   "name": "Token passthrough and missing audience validation",
   "what": "An MCP server accepts tokens that were issued for another service, or forwards the token it received to a downstream API. The MCP spec forbids both.",
   "impact": "A token stolen from or meant for one service works against another, and downstream logs show the wrong caller. Advisories GHSA-rvq5-wwqv-78pq (TypeScript SDK) and GHSA-w4fh-qvv9-3v23 (Python SDK) describe SDK servers that could not check the audience.",
   "controls": "Validate that each access token was issued for this server as its audience (RFC 8707) and reject others. | Never forward the received token to an upstream API; obtain a separate token for downstream calls. | After upgrading an SDK, turn on the audience check the patched version adds, since both advisories say upgrading alone changes nothing.",
   "severity": "high",
   "sources": "https://modelcontextprotocol.io/specification/2026-07-28/basic/security_best_practices https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization https://github.com/advisories/GHSA-rvq5-wwqv-78pq https://github.com/advisories/GHSA-w4fh-qvv9-3v23"
  },
  {
   "id": "R-09",
   "category": "Authorization",
   "name": "HTTP endpoint reachable without authentication",
   "what": "The protocol makes authorization optional, so a remote or HTTP-exposed MCP server can serve its tools to anyone who reaches it. Advisory CVE-2026-77244 (GHSA-wrhw-j3f9-8vc6) describes an mcp-atlassian token verifier that accepted any non-empty token over HTTP.",
   "impact": "Anyone with network reach can call the server's tools using the credentials the server holds.",
   "controls": "Require authentication on every HTTP endpoint that exposes non-public tools or data. | Run the MCP server's HTTP transport only on loopback or a private network unless it sits behind authentication you control. | Test that a request with an invalid or arbitrary token is refused.",
   "severity": "high",
   "sources": "https://cheatsheetseries.owasp.org/cheatsheets/MCP_Security_Cheat_Sheet.html https://github.com/advisories/GHSA-wrhw-j3f9-8vc6"
  },
  {
   "id": "R-10",
   "category": "Authorization",
   "name": "Confused deputy at an MCP proxy server",
   "what": "An MCP proxy that fronts a third-party API with one static client ID, allows dynamic client registration and skips per-client consent can be used to obtain authorization codes without the user's approval.",
   "impact": "An attacker gains access to the third-party API as the user.",
   "controls": "Store consent per user and per client_id on the server and check it before starting the upstream flow. | Match redirect URIs by exact string and validate the OAuth state parameter on the callback. | Set consent cookies with the __Host- prefix, Secure, HttpOnly and SameSite=Lax.",
   "severity": "medium",
   "sources": "https://modelcontextprotocol.io/specification/2026-07-28/basic/security_best_practices"
  },
  {
   "id": "R-11",
   "category": "Authorization",
   "name": "Client credentials sent to a server-chosen authorization server",
   "what": "An MCP client that trusts server-supplied OAuth metadata can send stored credentials to an authorization server the server names. GHSA-6qxp-vccf-f47h (TypeScript SDK) and GHSA-vqqp-x5qm-5qp4 (FastMCP) describe this class of flaw.",
   "impact": "A malicious or compromised server can receive a client secret or refresh token with no prompt to the user.",
   "controls": "Bind stored credentials to the issuer that granted them and refuse to send them elsewhere (pass expectedIssuer or issuer where the SDK provides it). | Upgrade MCP SDKs to the fixed versions named in the advisories and clear credentials saved without an issuer. | Allow clients to connect only to servers on the approved list.",
   "severity": "high",
   "sources": "https://github.com/advisories/GHSA-6qxp-vccf-f47h https://github.com/advisories/GHSA-vqqp-x5qm-5qp4"
  },
  {
   "id": "R-12",
   "category": "Authorization",
   "name": "Over-broad token scopes",
   "what": "A server requests or holds a wider OAuth scope than its tools need, or all of a user's permissions through a shared token.",
   "impact": "Any flaw or poisoned instruction in that server acts with the full scope, and one stolen token reaches many resources.",
   "controls": "Request the narrowest scopes per tool and use per-server credentials, never one token shared across servers. | Prefer short-lived tokens over long-lived personal access tokens. | Handle insufficient_scope challenges by requesting only the added scope.",
   "severity": "medium",
   "sources": "https://modelcontextprotocol.io/specification/2026-07-28/basic/security_best_practices https://cheatsheetseries.owasp.org/cheatsheets/MCP_Security_Cheat_Sheet.html"
  },
  {
   "id": "R-13",
   "category": "Authorization",
   "name": "Authorization policy skipped on direct calls",
   "what": "A server applies its policy to the original component but a transform, template or direct lookup returns a different one without rechecking. FastMCP advisory GHSA-7xgj-8392-5q4r (23 Oct 2026) describes the case; mcp-atlassian GHSA-3r68-hf9h-887v describes a toolset authorization bypass.",
   "impact": "A caller who knows an identifier can use a tool or read a resource that the configured policy denies.",
   "controls": "Enforce authorization at the handler or server boundary, not only in a layer whose inputs a transform can change. | Write tests that call every protected tool and resource directly, with a low-privilege identity. | Upgrade to the fixed releases the advisories list.",
   "severity": "medium",
   "sources": "https://github.com/advisories/GHSA-7xgj-8392-5q4r https://github.com/advisories/GHSA-3r68-hf9h-887v"
  },
  {
   "id": "R-14",
   "category": "Authorization",
   "name": "Authorization server mix-up and unverified issuer",
   "what": "A client talks to more than one authorization server and accepts a response from the wrong one, or accepts metadata whose issuer does not match the server it asked.",
   "impact": "A code or token meant for one authorization server is redeemed at another.",
   "controls": "Record the issuer from validated metadata before redirecting the user and compare it on the response. | Reject authorization server metadata whose issuer is not the expected origin (Python SDK 2.2.0 added this check on the legacy path). | Prefer Client ID Metadata Documents over Dynamic Client Registration, which the 2026-07-28 revision deprecates.",
   "severity": "medium",
   "sources": "https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization https://github.com/modelcontextprotocol/python-sdk/releases/tag/v2.2.0"
  },
  {
   "id": "R-15",
   "category": "Authorization",
   "name": "State handle or message delivered to the wrong client",
   "what": "A server treats possession of a state handle as proof of identity, or a shared transport matches messages to clients by request id alone, so one caller's data reaches another. GHSA-jm63-cq47-j5jp describes the second case in the TypeScript server SDK.",
   "impact": "One user's responses or state are exposed to, or changed by, another user.",
   "controls": "Bind handles server-side to the authenticated user and use random, expiring values. | Create the transport or server per request or per session, not once at startup, for HTTP servers. | Verify every inbound request; never treat a handle as authentication.",
   "severity": "medium",
   "sources": "https://modelcontextprotocol.io/specification/2026-07-28/basic/security_best_practices https://github.com/advisories/GHSA-jm63-cq47-j5jp"
  },
  {
   "id": "R-16",
   "category": "Transport and network",
   "name": "DNS rebinding against a local HTTP server",
   "what": "A web page the user visits uses a domain that later resolves to the user's own machine to talk to a local MCP server or developer tool that listens on HTTP.",
   "impact": "The page can reach tools, tokens or files exposed by the local service. The Inspector's 2.12.0 release says a Host header check closes such a route to its API token and stored OAuth tokens.",
   "controls": "Validate the Origin header on every Streamable HTTP request and answer an invalid one with 403, as the spec requires. | Validate the Host header against an allow-list. | Require an authorization token for local HTTP servers, or use stdio.",
   "severity": "high",
   "sources": "https://modelcontextprotocol.io/specification/2026-07-28/basic/transports/streamable-http https://github.com/modelcontextprotocol/inspector/releases/tag/2.12.0"
  },
  {
   "id": "R-17",
   "category": "Transport and network",
   "name": "Local server listening on all interfaces",
   "what": "A server meant for the local machine binds to 0.0.0.0, so other hosts on the network can connect.",
   "impact": "Anyone on the network can reach tools that were meant for one user.",
   "controls": "Bind to 127.0.0.1 unless network access is intended, as the spec advises. | Use stdio, or a Unix domain socket with restricted permissions, for local servers. | Scan developer subnets for unexpected MCP listeners.",
   "severity": "medium",
   "sources": "https://modelcontextprotocol.io/specification/2026-07-28/basic/transports/streamable-http https://modelcontextprotocol.io/specification/2026-07-28/basic/security_best_practices"
  },
  {
   "id": "R-18",
   "category": "Transport and network",
   "name": "Server-side request forgery through discovery and fetch tools",
   "what": "A client follows URLs supplied by a server (OAuth metadata, redirects), or a tool fetches URLs produced by a model, and the target is an internal address or a cloud metadata service.",
   "impact": "Internal services and cloud credentials become reachable from the machine running the client or server. Inspector 2.15.0 extended its fetch guard to metadata addresses beyond 169.254.0.0/16.",
   "controls": "Require HTTPS for OAuth URLs and block private, loopback and link-local ranges with a maintained library, not hand-written parsing. | Validate redirect targets and pin DNS results between check and use. | Send server-side fetches through an egress proxy that enforces destination policy.",
   "severity": "high",
   "sources": "https://modelcontextprotocol.io/specification/2026-07-28/basic/security_best_practices https://github.com/modelcontextprotocol/inspector/releases/tag/2.15.0"
  },
  {
   "id": "R-19",
   "category": "Transport and network",
   "name": "Credentials carried across cross-origin redirects",
   "what": "An HTTP client follows a redirect to another origin and sends Authorization headers or cookies with it. Advisories for the Python SDK (GHSA-5h93-6whr-6q8j) and the TypeScript client SDK (GHSA-6prh-2h8m-c8cw) describe the pattern.",
   "impact": "A server or an intermediary can collect credentials meant for another host.",
   "controls": "Follow redirects only within the same scheme, host and port, as Python SDK 2.2.0 does by default. | Drop Authorization and cookie headers on any cross-origin redirect. | Upgrade to the SDK versions named in the advisories.",
   "severity": "medium",
   "sources": "https://github.com/advisories/GHSA-5h93-6whr-6q8j https://github.com/advisories/GHSA-6prh-2h8m-c8cw https://github.com/modelcontextprotocol/python-sdk/releases/tag/v2.2.0"
  },
  {
   "id": "R-20",
   "category": "Transport and network",
   "name": "Remote server without TLS or with unverified identity",
   "what": "A client connects to a remote MCP server over plain HTTP, or without checking who the server is.",
   "impact": "Traffic and tokens can be read or changed in transit, and a different server can answer.",
   "controls": "Use TLS for every remote Streamable HTTP connection. | Keep client runtimes current: Inspector 2.13.0 notes that certificate checks rely on the Node.js runtime and names patched Node.js releases after an October 2026 CA issue. | Reject http URLs for OAuth endpoints except loopback addresses during development.",
   "severity": "medium",
   "sources": "https://cheatsheetseries.owasp.org/cheatsheets/MCP_Security_Cheat_Sheet.html https://github.com/modelcontextprotocol/inspector/releases/tag/2.13.0"
  },
  {
   "id": "R-21",
   "category": "Transport and network",
   "name": "Unbounded requests and sessions exhaust a server",
   "what": "An HTTP server accepts requests or sessions without limits. GHSA-46jr-4wx8-v453 (TypeScript SDK) and GHSA-84m7-p3x7-pcfv (Python SDK) describe memory and session exhaustion.",
   "impact": "A single unauthenticated client can stop the service. Impact is availability only.",
   "controls": "Set request size, session count and idle-timeout limits (Python SDK 2.2.0 expires idle legacy sessions after 30 minutes and caps them at 10,000). | Apply rate limits and quotas per tenant. | Authenticate requests before they reach the SDK.",
   "severity": "low",
   "sources": "https://github.com/advisories/GHSA-46jr-4wx8-v453 https://github.com/advisories/GHSA-84m7-p3x7-pcfv https://github.com/modelcontextprotocol/python-sdk/releases/tag/v2.2.0"
  },
  {
   "id": "R-22",
   "category": "Transport and network",
   "name": "Unrestricted outbound access from server processes",
   "what": "A server process can open connections to any host, so a flaw or a malicious package can send data anywhere.",
   "impact": "Stolen data leaves the machine without a block. The altered SP-API package described by Knostic sent credentials to a hardcoded IP.",
   "controls": "Disable network access for servers that do not need it and allow-list destinations for those that do. | Log and alert on connections from MCP server processes to new destinations. | Use an egress proxy for server-side deployments.",
   "severity": "medium",
   "sources": "https://modelcontextprotocol.io/docs/tutorials/security/local-server-security https://www.knostic.ai/blog/repackaged-amazon-sp-api-mcp-sends-app-secrets-to-an-undisclosed-ip"
  },
  {
   "id": "R-23",
   "category": "Tool descriptions and schemas",
   "name": "Poisoned tool description",
   "what": "Instructions hidden in a tool description steer the model, which reads the description to decide how to call the tool. Knostic described a package on 12 Nov 2026 whose description tells the agent to fetch a GitHub token without asking the user.",
   "impact": "The agent takes an action the user did not request, such as reading a credential.",
   "controls": "Review the full text of every tool description and parameter field before a server is approved. | Hash and pin the reviewed definitions and alert on change. | Scan descriptions with a tool built for the purpose (the OWASP cheat sheet names mcp-scan) and keep a human approval step for sensitive calls.",
   "severity": "high",
   "sources": "https://cheatsheetseries.owasp.org/cheatsheets/MCP_Security_Cheat_Sheet.html https://www.knostic.ai/blog/when-an-mcp-tool-asks-for-your-github-token https://www.crowdstrike.com/en-us/blog/ai-tool-poisoning/"
  },
  {
   "id": "R-24",
   "category": "Tool descriptions and schemas",
   "name": "Tool shadowing across servers",
   "what": "One server's tool text manipulates how the agent uses tools from another, trusted server, because the model sees all connected descriptions at once.",
   "impact": "A low-trust server can alter how a high-trust one is used, including which data is sent where.",
   "controls": "Treat each server as its own security domain and keep sensitive servers apart from general-purpose ones. | Monitor for cross-server data flows, such as one server's credentials appearing in another's calls. | Limit how many servers a single agent session may load.",
   "severity": "medium",
   "sources": "https://cheatsheetseries.owasp.org/cheatsheets/MCP_Security_Cheat_Sheet.html"
  },
  {
   "id": "R-25",
   "category": "Tool descriptions and schemas",
   "name": "Hostile content in schemas and return values",
   "what": "Instructions can sit in parameter names, types, defaults and the values a tool returns, not only in the description field.",
   "impact": "Review that checks only the description misses the other fields the model reads.",
   "controls": "Inspect every field of the definition, including inputSchema and outputSchema. | Set additionalProperties to false and use pattern constraints on string fields. | Validate and sanitize tool outputs before they re-enter model context.",
   "severity": "medium",
   "sources": "https://cheatsheetseries.owasp.org/cheatsheets/MCP_Security_Cheat_Sheet.html https://modelcontextprotocol.io/specification/2026-07-28/server/tools"
  },
  {
   "id": "R-26",
   "category": "Tool descriptions and schemas",
   "name": "Annotations trusted as enforcement",
   "what": "A client lets a server's readOnlyHint or destructiveHint decide how much approval to ask for. The spec says clients must consider annotations untrusted unless they come from trusted servers.",
   "impact": "A flipped hint can change approval behavior with no visible change to the description.",
   "controls": "Treat annotations as hints only and decide approval from your own policy per tool. | Include annotations in the pinned hash of each tool definition. | Require confirmation for sensitive reads, writes and irreversible actions whatever the label says.",
   "severity": "medium",
   "sources": "https://modelcontextprotocol.io/specification/2026-07-28/server/tools https://cheatsheetseries.owasp.org/cheatsheets/MCP_Security_Cheat_Sheet.html"
  },
  {
   "id": "R-27",
   "category": "Tool descriptions and schemas",
   "name": "Prompt injection through tool results",
   "what": "A tool returns text, such as a web page or ticket, that contains instructions the model then follows.",
   "impact": "An approved server can still cause unapproved actions through the content it returns.",
   "controls": "Treat every tool response as untrusted data, including responses from approved servers. | Enforce authorization and validate follow-up tool calls in application code, regardless of the model's interpretation. | Extract structured fields from retrieval tools instead of passing raw pages.",
   "severity": "high",
   "sources": "https://cheatsheetseries.owasp.org/cheatsheets/MCP_Security_Cheat_Sheet.html"
  },
  {
   "id": "R-28",
   "category": "Tool descriptions and schemas",
   "name": "Server-supplied schemas that exhaust or confuse clients",
   "what": "A client evaluates patterns or fetches references in a schema a server supplies. Inspector 2.14.0 now checks schema patterns in bounded time, and Python SDK advisory GHSA-rwrf-2pqf-9j8j describes a client fetching server-chosen $ref URLs.",
   "impact": "A hostile server can slow or break a client, or cause it to make requests it should not.",
   "controls": "Evaluate server-supplied patterns with a linear-time matcher and limits. | Do not resolve remote references from schemas supplied by untrusted servers. | Keep MCP clients and the Inspector on current releases.",
   "severity": "low",
   "sources": "https://github.com/modelcontextprotocol/inspector/releases/tag/2.14.0 https://github.com/advisories/GHSA-rwrf-2pqf-9j8j"
  },
  {
   "id": "R-29",
   "category": "Execution and filesystem",
   "name": "Local server runs with the user's full privileges",
   "what": "A local MCP server is an ordinary process launched by the host application. It inherits the user's environment variables and can read anything the account can read.",
   "impact": "A flawed or malicious server reaches SSH keys, cloud credentials, browser profiles and the home directory.",
   "controls": "Run local servers in a container or sandbox with minimal default privileges. | Restrict filesystem access to the directories the server needs. | Run servers under a separate account or workspace where the client allows it.",
   "severity": "high",
   "sources": "https://modelcontextprotocol.io/docs/tutorials/security/local-server-security https://modelcontextprotocol.io/specification/2026-07-28/basic/security_best_practices"
  },
  {
   "id": "R-30",
   "category": "Execution and filesystem",
   "name": "Malicious startup command in configuration",
   "what": "A client configuration or one-click install carries a launch command that runs code. The spec lists a malicious startup command as a local-server compromise route.",
   "impact": "Arbitrary code runs with the client's privileges the moment the server starts.",
   "controls": "Show the exact command, with arguments and without truncation, before any server is added. | Flag commands that use sudo, delete files, use network tools or reach SSH and home directories. | Distribute approved configurations through managed settings (VS Code allowedMcpServers, Claude Code managed-mcp.json).",
   "severity": "high",
   "sources": "https://modelcontextprotocol.io/specification/2026-07-28/basic/security_best_practices https://code.claude.com/docs/en/mcp"
  },
  {
   "id": "R-31",
   "category": "Execution and filesystem",
   "name": "Command injection through arguments or URL opening",
   "what": "Text from a model, a tool argument or a server-supplied OAuth authorization URL reaches a shell. The Inspector's 2.12.0 notes say a remote server's authorization URL could previously run commands through the opener on Windows and WSL.",
   "impact": "Code runs on the machine with the user's privileges.",
   "controls": "Allow only http and https schemes for authorization URLs and never open URLs through a shell. | Never pass raw shell commands or unsanitized paths from tool arguments. | Validate tool inputs against strict schemas and allow-lists.",
   "severity": "high",
   "sources": "https://modelcontextprotocol.io/specification/2026-07-28/basic/security_best_practices https://github.com/modelcontextprotocol/inspector/releases/tag/2.12.0 https://cheatsheetseries.owasp.org/cheatsheets/MCP_Security_Cheat_Sheet.html"
  },
  {
   "id": "R-32",
   "category": "Execution and filesystem",
   "name": "Path traversal and arbitrary file read in file tools",
   "what": "A tool that reads or uploads files accepts a path without limiting it to an intended directory. 14 of the 25 mcp-atlassian advisories published on 22 Sep 2026 concern file read through attachment tools.",
   "impact": "Server credentials and local files can be read and sent out through the tool.",
   "controls": "Resolve paths on the server and reject any that leave an allowed directory. | Run file tools in a sandbox that mounts only the needed folders. | Upgrade mcp-atlassian to 0.22.0 or later.",
   "severity": "high",
   "sources": "https://github.com/advisories/GHSA-93xw-j965-9mx3 https://cheatsheetseries.owasp.org/cheatsheets/MCP_Security_Cheat_Sheet.html"
  },
  {
   "id": "R-33",
   "category": "Execution and filesystem",
   "name": "Project configuration from a cloned repository",
   "what": "A repository carries MCP configuration that a client could load automatically. Claude Code's docs say a cloned repository cannot approve its own servers and that approval settings committed to the project are ignored in an untrusted folder.",
   "impact": "Opening a repository could start a server chosen by its author.",
   "controls": "Do not auto-enable project servers: leave enableAllProjectMcpServers unset or false and review each project server. | Use workspace trust and require approval for project-scoped servers. | Lock server sets with managed-mcp.json and allowedMcpServers or deniedMcpServers.",
   "severity": "high",
   "sources": "https://code.claude.com/docs/en/mcp https://code.visualstudio.com/docs/enterprise/ai-settings"
  },
  {
   "id": "R-34",
   "category": "Execution and filesystem",
   "name": "Tool calls auto-approved without full arguments",
   "what": "A client approves tool calls automatically, or shows only a tool name, so the user never sees what is about to run.",
   "impact": "A poisoned description or injected content can trigger destructive or data-sharing actions without anyone noticing.",
   "controls": "Require explicit confirmation for destructive, financial and data-sharing operations and show full parameters. | Never auto-approve tool calls in multi-server setups. | Make sure the confirmation interface cannot be satisfied by text the model generates.",
   "severity": "high",
   "sources": "https://cheatsheetseries.owasp.org/cheatsheets/MCP_Security_Cheat_Sheet.html https://modelcontextprotocol.io/specification/2026-07-28/server/tools"
  },
  {
   "id": "R-35",
   "category": "Execution and filesystem",
   "name": "Developer tools that spawn processes on a port",
   "what": "A developer tool such as an MCP inspector can start stdio servers on request, and its API token is what protects that ability from other callers.",
   "impact": "A weak guard turns a testing tool into a way to run commands. The Inspector's own docs say its web backend can spawn processes and that stdio servers run as the user.",
   "controls": "Keep the Inspector on a current version; releases 2.12.0, 2.14.0 and 2.15.0 carry security fixes. | Do not disable its authentication (DANGEROUSLY_OMIT_AUTH) outside an isolated test setup. | Bind it to loopback and never expose its port.",
   "severity": "medium",
   "sources": "https://modelcontextprotocol.io/docs/tools/inspector/security https://github.com/modelcontextprotocol/inspector/releases/tag/2.12.0"
  },
  {
   "id": "R-36",
   "category": "Data exposure and logging",
   "name": "Secrets inherited through the environment",
   "what": "A server started by the client inherits the environment of the host process, which often holds cloud keys and tokens.",
   "impact": "A server that needs one key can read all of them.",
   "controls": "Start servers with a minimal environment and pass only the variables each one needs. | Use separate credentials per server with the least privilege. | Keep secrets in an OS credential store rather than in the shell profile.",
   "severity": "high",
   "sources": "https://modelcontextprotocol.io/docs/tutorials/security/local-server-security https://cheatsheetseries.owasp.org/cheatsheets/MCP_Security_Cheat_Sheet.html"
  },
  {
   "id": "R-37",
   "category": "Data exposure and logging",
   "name": "Tokens stored in plaintext",
   "what": "A server or client saves OAuth tokens in a file with loose permissions or in plain text. mcp-atlassian advisories GHSA-g5xv-mhgm-v5f6 and GHSA-4596-2p6p-28cv describe this, and the Inspector's docs say its secrets fall back to a plaintext file when no OS keychain exists.",
   "impact": "Any local process or user that can read the file gets the tokens.",
   "controls": "Use the OS credential store (macOS Keychain, Windows Credential Manager, Linux Secret Service). | Set file permissions to the owner only where files are unavoidable. | Never store tokens in MCP config files, which the OWASP cheat sheet also says.",
   "severity": "medium",
   "sources": "https://cheatsheetseries.owasp.org/cheatsheets/MCP_Security_Cheat_Sheet.html https://github.com/advisories/GHSA-g5xv-mhgm-v5f6 https://modelcontextprotocol.io/docs/tools/inspector/security"
  },
  {
   "id": "R-38",
   "category": "Data exposure and logging",
   "name": "Data exfiltration through legitimate tool calls",
   "what": "Injected instructions encode sensitive data into ordinary-looking calls, such as search queries or email subjects.",
   "impact": "Data leaves through channels that policy allows.",
   "controls": "Monitor for credentials or sensitive values from one server appearing in calls to another. | Restrict which tools can send data outside the organization and require approval for them. | Limit the data each server can read in the first place.",
   "severity": "high",
   "sources": "https://cheatsheetseries.owasp.org/cheatsheets/MCP_Security_Cheat_Sheet.html"
  },
  {
   "id": "R-39",
   "category": "Data exposure and logging",
   "name": "Sensitive data requested through form elicitation",
   "what": "A server uses form-mode elicitation to ask the user for a password, API key or token, which passes through the client.",
   "impact": "Secrets pass through the client and its logs. The spec forbids it.",
   "controls": "Reject servers that request secrets in form mode and use URL mode for credential steps. | Show which server is asking and let the user decline. | Review elicitation requests during server vetting.",
   "severity": "medium",
   "sources": "https://modelcontextprotocol.io/specification/2026-07-28/client/elicitation"
  },
  {
   "id": "R-40",
   "category": "Data exposure and logging",
   "name": "No record of tool calls",
   "what": "Tool invocations are not logged with their parameters, user and time, so there is nothing to investigate after an incident.",
   "impact": "A misuse or a poisoned call cannot be reconstructed, and anomalies go unseen.",
   "controls": "Log every tool invocation with full parameters, user context and timestamp. | Send the logs to a SIEM and alert on new tools, admin-level queries and unusual call rates. | Keep the logs long enough to cover an investigation window you set.",
   "severity": "medium",
   "sources": "https://cheatsheetseries.owasp.org/cheatsheets/MCP_Security_Cheat_Sheet.html https://modelcontextprotocol.io/specification/2026-07-28/basic/security_best_practices"
  },
  {
   "id": "R-41",
   "category": "Data exposure and logging",
   "name": "Secrets and personal data written into logs",
   "what": "Logging full parameters also records secrets and personal data that appear in arguments and results.",
   "impact": "The log store becomes a second place to steal credentials from.",
   "controls": "Redact secrets and personal data before storing tool-call logs. | Restrict who can read the logs and set a retention period. | Test the redaction rules with sample credentials.",
   "severity": "medium",
   "sources": "https://cheatsheetseries.owasp.org/cheatsheets/MCP_Security_Cheat_Sheet.html"
  },
  {
   "id": "R-42",
   "category": "Data exposure and logging",
   "name": "Protected data returned through resources and templates",
   "what": "Resources and resource templates expose data by URI, and a template can retrieve a resource that a rule denied.",
   "impact": "Data outside a caller's rights is returned. FastMCP's GHSA-7xgj fix makes a denied concrete resource shadow a matching template.",
   "controls": "Check authorization for the final resource that is returned, not the template. | Avoid overlapping proxy templates for protected resources. | Test reads for denied URIs through every route.",
   "severity": "medium",
   "sources": "https://github.com/advisories/GHSA-7xgj-8392-5q4r https://modelcontextprotocol.io/specification/2026-07-28/server/tools"
  }
 ]
}
