adv_scan_folder
Scan directories for security vulnerabilities, identify exploit examples, and analyze with Semgrep or LLM. Results are saved in JSON or Markdown formats for detailed review.
Instructions
Scan a directory for security vulnerabilities. Results are saved in the target directory.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
include_exploits | No | Whether to include exploit examples | |
output_format | No | Output format for results (json or markdown) | json |
path | No | Path to the directory to scan (must be a directory, not a file) | . |
recursive | No | Whether to scan subdirectories | |
severity_threshold | No | Minimum severity threshold | medium |
use_llm | No | Whether to include LLM analysis prompts (for use with your client's LLM) | |
use_semgrep | No | Whether to include Semgrep analysis | |
use_validation | No | Whether to use LLM validation to filter false positives |
Input Schema (JSON Schema)
{
"properties": {
"include_exploits": {
"default": true,
"description": "Whether to include exploit examples",
"type": "boolean"
},
"output_format": {
"default": "json",
"description": "Output format for results (json or markdown)",
"enum": [
"json",
"markdown"
],
"type": "string"
},
"path": {
"default": ".",
"description": "Path to the directory to scan (must be a directory, not a file)",
"type": "string"
},
"recursive": {
"default": true,
"description": "Whether to scan subdirectories",
"type": "boolean"
},
"severity_threshold": {
"default": "medium",
"description": "Minimum severity threshold",
"enum": [
"low",
"medium",
"high",
"critical"
],
"type": "string"
},
"use_llm": {
"default": false,
"description": "Whether to include LLM analysis prompts (for use with your client's LLM)",
"type": "boolean"
},
"use_semgrep": {
"default": true,
"description": "Whether to include Semgrep analysis",
"type": "boolean"
},
"use_validation": {
"default": true,
"description": "Whether to use LLM validation to filter false positives",
"type": "boolean"
}
},
"required": [],
"type": "object"
}