AI Settings

Configure AI services for security patch analysis

{{if .FlashMessages}}
{{range .FlashMessages}}
{{.Message}}
{{end}}
{{end}}
Select AI Service
Controls randomness: lower values are more deterministic
Maximum tokens to consider for context
Extract and include function definitions from codebase to provide AI with more context during analysis
Ollama Configuration
OpenAI Configuration
Leave empty to use default OpenAI API endpoint
DeepSeek Configuration
Leave empty to use default DeepSeek API endpoint
Claude Configuration
Leave empty to use default Claude API endpoint
NVD API Configuration

Configure your National Vulnerability Database (NVD) API key for enhanced CVE information retrieval. Get your free API key at NVD Developers.

Using an API key increases rate limits from 5 requests per 30 seconds to 50 requests per 30 seconds
AI Prompts Configuration

Customize the prompts used by the AI for analysis. Use {file_path} and {diff_content} placeholders for the main analysis prompt, and {ai_response} and {cve_description} for the CVE analysis prompt.

This prompt is used for the main vulnerability analysis. Variables: {file_path}, {diff_content}
This prompt is used for CVE matching analysis. Variables: {ai_response}, {cve_description}
This prompt is used for generating comprehensive security analysis articles. Variables: {cve_id}, {cve_description}, {all_matching_files_analysis}
Tip: You can modify these prompts to better suit your specific use case. Make sure to keep the variable placeholders in the correct format.
Back to Scanner