Semgrep Scan
semgrep_scanScan source code with Semgrep to detect security vulnerabilities. Passive analysis of workspace files using customizable rules.
Instructions
Run Semgrep (plugin class D) over source in the engagement workspace.
Passive: reads files already fetched into the workspace and sends nothing to the target. Rules in rules/semgrep/ always participate; config may add a registry pack ('p/security-audit') or another workspace path.
Use source_fetch first to bring a repository into the workspace.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "semgrep_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | source | |
| config | No | ||
| severity | No | ||
| wait_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||