安全审计扫描
run_security_scanRun a combined SAST and secret detection scan on any directory using semgrep and gitleaks, returning a structured JSON audit report with installation guides for missing tools.
Instructions
对目标目录执行安全扫描,内部自动并行调用 semgrep(SAST 静态分析)和 gitleaks(硬编码密钥检测),返回合并的结构化 JSON 审计报告。若依赖工具未安装,报告中会附带各平台的安装指引。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_path | Yes | 要扫描的目标目录的绝对路径,如 /home/user/project |