scan_diff
Scan a unified diff for vulnerabilities by analyzing only added lines, returning findings with correct file paths and line numbers.
Instructions
Scan a unified diff (e.g. from git diff) for vulnerabilities. Only added lines are scanned; findings have correct line numbers and file paths from the diff context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | Yes | Unified diff text (e.g. from git diff). |