Skip to main content
Get AI-powered security feedback directly in your pull requests to prevent vulnerabilities before they’re merged.

What AI PR Reviews Provide

Security Analysis

Identify security issues in code changes

Contextual Suggestions

AI-generated fix recommendations

Priority Ratings

Critical, High, Medium, Low priorities

Confidence Scores

How certain the AI is about each finding

Enable AI PR Reviews

1

Open Repository Settings

Repository SettingsPull Requests
2

Enable AI PR Reviews

Toggle AI PR Reviews to enabled
3

Configure Options

Set preferences:
  • Post PR comments
  • Summary comment
  • Suggestion threshold
4

Save Configuration

Click Save to activate

How It Works

The AI autonomously reviews every PR for security:
  1. Understands What Changed: Analyzes code intent and architecture impact
  2. Analyzes Security Impact: Traces how changes affect security
  3. Thinks Across Files: Sees connections across multiple files
  4. Provides Specific Fixes: Code examples tailored to your framework
  5. Rates Priority and Confidence: Clear guidance on urgency

Why Agentic PR Reviews Matter

Traditional PR scanning: Runs rules on changed lines, reports findings Agentic PR reviews: AI actively investigates code changes, understands architectural impact, provides contextual feedback

PR Review Components

Summary Comment

Posted at PR level with overall security status:
  • Security status (Success/Warning/Failed)
  • Summary of issues found
  • Priority breakdown
  • Links to detailed analysis

Inline Comments

Posted on specific lines with vulnerabilities:
  • Issue description
  • Security impact
  • Fix recommendations
  • Code examples
  • Priority and confidence scores

GitHub Check Status

AI review appears as a check:
  • Success: No Critical/High security issues
  • Failed: Security concerns requiring attention
  • Pending: AI analysis in progress

Configuration

Configure PR review behavior:
  • Post PR comments: Add inline security feedback
  • Summary comment: Overall security assessment
  • Suggestion threshold: Minimum priority to comment
  • Block merge on failure: Prevent merging PRs with Critical/High violations

Best Practices

  • Enable AI PR reviews for all repositories
  • Review AI suggestions promptly
  • Provide feedback to improve AI accuracy
  • Use threshold settings to reduce noise
  • Combine with automated scanning for comprehensive coverage

Next Steps