validate_threat_model_against_code
Analyze your codebase to identify which threats from your threat model are already mitigated, and generate a markdown validation report.
Instructions
Validate the threat model against the actual codebase.
This tool analyzes the codebase to determine which threats are already mitigated by existing security controls, and generates a comprehensive report.
Args: ctx: MCP context for logging and error handling code_directory: Directory containing code to analyze file_patterns: Optional list of file patterns to include (e.g., [".py", ".js"])
Returns: A markdown-formatted validation report
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_patterns | No | ||
| code_directory | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |