-
Query project documentation for recent architectural decisions. Analyze commit history for recurring patterns. Check for related open issues or previous review feedback.
-
Run parallel scans: SAST (SonarQube/CodeQL), SCA (Snyk/Dependabot), Secrets (GitGuardian). Output result to a temp file.
-
Execute IaC security checks (Checkov, Terrascan) if applicable. Output result to a temp file.
-
Perform dynamic configuration analysis. Output result to a temp file.
-
Aggregate findings from the temp files and Categorize them: CRITICAL (security/functional), MAJOR (maintainability), MINOR (style). Calculate risk scores using CVSS for security issues.
-
Verify issues against recent team decisions and documented exceptions
-
Check for false positives using historical review data
-
Validate business logic correctness where possible
-
Pipe the results to
docs/audits/issue_{{issue number}}/issue_{{issue_number}}_security_{{time stamp}}.mdwhere {{time stamp}} is the mmddyy_hhmm time stamp of the time right before the file was saved.