Security context

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

f/mcptools
master @ e7bd724
2
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
cmd/mcptools/commands/guard.go: 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.

Auth Bypass: Incomplete validation allowed disallowed 'prompts/get' and 'resources/read' requests to bypass authorization checks and reach the underlying MCP server. Attackers could exploit this to retrieve restricted resources or prompts.
Auth Bypass: Case-sensitivity mismatches in pattern processing allowed attackers to bypass security restrictions by using mixed-case entity types that eluded exact-match filters.