Security Best Practices changeddocs/2026-07-28/tutorials/security/security_best_practices
Nearest release: v2.1.332, published under an hour after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 24 Nov 2026 21:48 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 24 Nov 2026 22:07 UTC.
Upstream edited
Recorded here
Lines+3added
Lines−3removed
From line
8
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits9to this page, all time
The whole hunk
from line 8, old and new numbered
/
from line 8
88
99This document provides security considerations for the Model Context
1010Protocol (MCP), complementing the
11[MCP Authorization](https://modelcontextprotocol.io/specification/latest/basic/authorization.md)
11[MCP Authorization](https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization.md)
1212specification. This document identifies security risks, attack vectors,
1313and best practices specific to MCP implementations.
1414
from line 152
152152 consent screen
1531536. The MCP authorization code is redirected to the attacker's server
154154 (specified in the malicious `redirect_uri` parameter during
155 [dynamic client registration](https://modelcontextprotocol.io/specification/latest/basic/authorization/client-registration.md#dynamic-client-registration))
155 [dynamic client registration](https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization/client-registration.md#dynamic-client-registration))
1561567. The attacker exchanges the stolen authorization code for access
157157 tokens for the MCP server without the user's explicit approval
1581588. The attacker now has access to the third-party API as the compromised
from line 307
307307#### Risks
308308
309309Token passthrough is explicitly forbidden in the
310[authorization specification](https://modelcontextprotocol.io/specification/latest/basic/authorization.md)
310[authorization specification](https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization.md)
311311as it introduces a number of security risks, that include:
312312
313313* **Security Control Circumvention**
No line in this hunk matches that.