adv_scan_file
Analyze files for vulnerabilities by setting severity thresholds, including exploit examples, and using Semgrep or LLM analysis. Generate results in text or JSON format.
Instructions
Scan a file for security vulnerabilities
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file_path | Yes | Path to the file to scan | |
include_exploits | No | Whether to include exploit examples | |
output | No | Path to output file for JSON results (optional, defaults to .adversary.json in project root) | |
output_format | No | Output format for results | text |
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 |