adv_scan_code
Scan source code for security vulnerabilities, identify issues by severity, and generate exploit examples using advanced analysis tools like Semgrep and LLM prompts. Integrate with development workflows for real-time security insights.
Instructions
Scan source code for security vulnerabilities
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | Source code content to scan | |
include_exploits | No | Whether to include exploit examples | |
language | Yes | Programming language | |
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 (low, medium, high, critical) | 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 |