Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ADVERSARY_LLM_MODEL | No | LLM model to use | |
| ADVERSARY_LOG_LEVEL | No | Log level for the application | INFO |
| ADVERSARY_LLM_PROVIDER | No | LLM provider (e.g., openai, anthropic) | |
| ADVERSARY_CACHE_SIZE_MB | No | Cache size in megabytes | 200 |
| ADVERSARY_WORKSPACE_ROOT | No | Path to the project workspace root | |
| ADVERSARY_MAX_CONCURRENT_SCANS | No | Maximum number of concurrent scans | 8 |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| adv_scan_file | Scan a file for security vulnerabilities using Clean Architecture. Automatically uses session-aware analysis when LLM is configured. |
| adv_scan_folder | Scan a directory for security vulnerabilities using Clean Architecture. Automatically uses session-aware project analysis when LLM is configured. |
| adv_scan_code | Scan code content for security vulnerabilities using Clean Architecture. Automatically uses session-aware analysis with project context when available. |
| adv_get_status | Get comprehensive server status including session management capabilities, active sessions, and cache statistics |
| adv_get_version | Get server version information |
| adv_mark_false_positive | Mark a finding as a false positive |
| adv_unmark_false_positive | Remove false positive marking from a finding |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |