validate_security_controls
Analyze the codebase to verify which security controls are implemented and update the threat model with actual mitigations.
Instructions
Check what security controls are implemented in code and update threat model.
Given the current threats and mitigations in the threat model, analyze the codebase to determine what's actually implemented and update the threat model accordingly. The agent should autonomously decide how to analyze the code.
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: Simple instruction for autonomous analysis
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_patterns | No | ||
| code_directory | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |