Analysis · DiggingBeagle record

Four MCP security checks that cannot replace one another

A peer check, resource allowlist, destination filter and workspace trust decision govern different authority boundaries.

Published
Dec 2, 2026

Overview

A trusted AI client does not make every request to its MCP server trustworthy. Recent disclosures show four different decisions: who connected, which resource a token may address, where a server may fetch, and whether a project can start a process. Fixing one does not settle the others.

Boundary Reported failure Corrective evidence and limit
Incoming client Jupyter MCP treated a client-supplied Host value as evidence of locality Tagged v2.1.3 source checks the peer; proxies still change which peer the app sees
Resource scope zereight GitLab MCP skipped a project allowlist for paths that did not parse as a project The 2.3.7 patch denies such paths under a scope, but does not inspect every project identifier in bodies or query parameters
Outbound destination PinePaper MCP fetched model-supplied URLs from the server's network position Tagged 1.6.22 code checks destinations and redirects; connection guarantees vary by runtime and browser path
Startup authority claw-code launched project-defined stdio programs during discovery The advisory lists a workaround, not a confirmed fixed release

Follow authority to the effect

The Jupyter issue concerns an incoming management request. In no-auth mode the advisory describes backend configuration changes; in token mode the state-changing routes still require a bearer token. A local-looking Host string was insufficient proof of a local peer. The tagged fix adds a peer check alongside Host and Origin handling. A reverse proxy can terminate the original connection, so deployment testing must include the proxy rather than assuming a loopback peer identifies the external caller.

GitLab's generic API tool presents a different problem. The underlying token can have broader authority than the operator intends to delegate. The patch fails closed for unrecognized initial paths and credentialed redirect hops when a project scope is set. It explicitly does not check project identifiers placed in request bodies or query strings. The original report was based on static analysis, not a live GitLab test.

PinePaper reverses the direction of the connection: the MCP server is the network client. The guarded-fetch implementation checks destinations and redirect hops, and its Node path pins a connection to checked addresses. The advisory describes reads and conditional response disclosure, not arbitrary writes. A private-network opt-in and other runtimes change which assumptions apply.

Finally, claw-code's project-controlled configuration could launch a program before a model prompt or provider credential check. Inspecting the model's response is too late for that startup path. These cases are not evidence of one shared vulnerability or campaign. Together they show why a useful review names the principal, resource, destination and execution trigger separately.

Research behind this