AI Detection settings
Configure GitHub tokens, LLM analysis, and dimension weights.
AI Detection settings
Open AI Detection → Scan settings. The page has 3 tabs: GitHub integration for repository access tokens, Risk scoring for LLM-enhanced analysis, dimension weights and vulnerability detection types, and Suppression rules for rules that hide matching findings on future scans.
Only users whose role can configure AI Detection (Admins by default) can change these settings.
GitHub integration
To scan private repositories, you need a GitHub Personal Access Token. Without a token, AI Detection can only scan public repositories.
Creating a token
Click the Create a new token on GitHub link to open GitHub's token creation page with the recommended scopes pre-selected:
- repo: Full access to private and public repositories. Required for scanning private repos.
- public_repo: Access to public repositories only. Use this if you only need to scan public repos.
Saving your token
Paste your token into the Personal access token field. Optionally give it a descriptive name (e.g., "VerifyWise Scanner Token") to help identify it later. Click Test token to verify it works, then Save token to store it.
Managing your token
Once a token is configured, you'll see a status indicator showing it's active. You can update the token at any time by entering a new one and clicking Update token. To remove the token entirely, click the delete button.
Risk scoring
The Risk scoring tab controls how the governance score (AGRS) is calculated for your scans. Links such as Open vulnerability settings on a scan open this tab directly.
LLM-enhanced analysis
Toggle LLM-enhanced analysis on to enable AI-powered scoring. The risk scoring engine sends a summary of the findings, including the repository name and the top findings, to your configured LLM, which produces a written analysis, recommendations and suggested risks.
Select which LLM key to use from the dropdown. LLM keys are managed in Settings → API keys at the organization level. If no keys are configured, the dropdown shows a message directing you to set one up.
Dimension weights
Use the sliders to control how much each risk dimension contributes to the overall score. The 5 dimensions:
- Data sovereignty: Weight for external data exposure and cloud API usage
- Transparency: Weight for documentation quality and audit readiness
- Security: Weight for vulnerabilities and credential exposure
- Autonomy: Weight for autonomous AI agent detection
- Supply chain: Weight for third-party dependencies and licensing
Weights must total 100%. A validation message shows if they don't. Click Reset to defaults to go back to the original distribution. After changing weights, click Save and recalculate existing scores to apply them.
Vulnerability type toggles
Vulnerability detection sends code snippets from scanned files to your LLM provider, so it stays off until an admin turns it on. The first time you save LLM-enhanced analysis with a key, VerifyWise asks whether to turn vulnerability checks on or keep them off. The choice covers that key only: when you switch to a different key, or turn LLM-enhanced analysis off and on again, VerifyWise asks again before any code is sent, and checks stay off until you answer. This also applies to changes made through the API. It uses extra LLM tokens per scan. Scans without vulnerability checks get a partial governance score. When it's on, toggles appear for each OWASP LLM Top 10 type. Turn individual types on or off based on what matters to your team:
- Prompt injection (LLM01): Detect untrusted input concatenated into LLM prompts
- Jailbreak risk (LLM02): Detect LLM output passed to dangerous sinks
- Training data poisoning (LLM03): Detect insecure model deserialization and untrusted sources
- Model denial of service (LLM04): Detect missing token limits and timeouts
- Supply chain vulnerabilities (LLM05): Detect unpinned versions and untrusted model URLs
- PII exposure (LLM06): Detect PII and credentials passed to LLM context
- Insecure plugin design (LLM07): Detect tools without input validation or schemas
- Excessive agency (LLM08): Detect agents with overly broad access and no human oversight
- Overreliance (LLM09): Detect missing human review and confidence thresholds
- Model theft (LLM10): Detect exposed model files and unauthenticated endpoints
Disabled types are skipped during LLM analysis, which cuts scan time and API costs.