Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

datagouv/datagouv-mcp
main @ 6f1fdcd
1
Fixes
0
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
DNS Rebinding: 1 prior fix. Scrutinize any change in this area.
main.py: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

DNS Rebinding: Attackers could bypass same-origin policy protections by manipulating DNS resolution to target internal services or the MCP host itself. This was addressed by introducing TransportSecuritySettings and validating the HTTP Host header against an allowlist of trusted domains and localhost in main.py.