Commit b186512
Jah-yee
fix: enable DNS rebinding protection by default for secure-by-default
Per issue #2269, the current default disables DNS rebinding protection,
which makes MCP servers vulnerable to DNS rebinding attacks on local networks.
This change switches the default to secure-by-default (enable_dns_rebinding_protection=True),
with developers able to explicitly opt-out for backwards compatibility if needed.
Reported by @hhhashexe (SkillFence Security)1 parent 04df856 commit b186512
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments