gk_scan
Perform best-effort CWE detection in code using regex heuristics and optional semgrep. Action-based results provide signal, not a full audit.
Instructions
Best-effort regex CWE heuristics (signal, not a pro audit); optional semgrep CLI. Pass action= and optional args={}. 2 actions; unknown action returns allowed list (saves schema tokens).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| action | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |