sec_audit_scan
Run an offline static security preflight scan on a local repository, covering SAST, IaC, SCA, AI/MCP, CI/CD, and OpenAPI checks, then store results in a SQLite blackboard for audit tracking.
Instructions
Run an offline defensive static preflight security scan (SAST, IaC, SCA, AI/MCP, CI/CD, OpenAPI, custom repo rules) on a local repository and populate the SQLite blackboard.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target_dir": "<target_dir>"
},
"name": "sec_audit_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | No | Blackboard SQLite path (default: audit_state/blackboard.db) | |
| since | No | Optional git ref (e.g. main, HEAD~1) for diff-scoped scanning | |
| target_dir | Yes | Path to the local repository to scan | |
| resume_from | No | Optional prior run_id to carry forward unchanged coverage units and finalized verdicts | |
| enable_iac_scanners | No | Run Trivy/Checkov IaC scans (default: true) | |
| enable_sca_scanners | No | Run Trivy/OSV SCA scans with reachability (default: true) | |
| enable_external_scanners | No | Run local external binaries like semgrep/bandit/trivy (default: true) |