MCP-530 Relax Origin check for authenticated and bootstrap requests - #465
Conversation
c0c3a06 to
a88f66a
Compare
damien-urruty-sonarsource
left a comment
There was a problem hiding this comment.
LGTM, but maybe a review from IST or AppSec would help
f72e84e to
a29b530
Compare
Code Review ✅ Approved 4 resolved / 4 findingsRelaxed Origin enforcement for authenticated requests and bootstrap endpoints while addressing DNS-rebinding vulnerabilities. No issues found. ✅ 4 resolved✅ Security: DNS-resolving Origin host reopens DNS-rebinding bypass
✅ Performance: Blocking DNS lookups per request on Origin/host binding
✅ Edge Case: Blank Origin header now bypasses origin enforcement
✅ Security: Origin bypass for /mcp & /.well-known relies entirely on downstream auth
OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
|



Summary by Gitar
Originheader enforcement inMcpSecurityFilterfor authenticated requests, OAuth bootstrap paths (/mcp), and/.well-known/*endpoints.Originchecks.http-authentication-architecture.mdto reflect new origin validation logic and clarify browser-layer backstop role.This will update automatically on new commits.