Challenge 012: Harden an MCP ServerΒΆ
ScenarioΒΆ
Attack a deliberately weak local MCP-style server, defend it with explicit controls, then map each finding to OWASP guidance.
flowchart LR
A[Attack fixture] --> W[Weak server]
W --> F[Finding]
F --> D[Defense]
D --> T[Regression test]
T --> O[OWASP mapping]
TaskΒΆ
- Run the attack fixtures
- Implement schema, authorization, rate, and output controls
- Prove negative cases
- Map evidence to OWASP
Acceptance criteriaΒΆ
- All local tests pass
- Each attack has a named control
- No secret or network access is required
- The report maps attack β defense β OWASP