shipsafe 0.1.0

AI-Powered Pre-Deploy Security Gate
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::scanners::ScanResults;
use anyhow::Result;

/// AI-powered triage: analyze findings for reachability and exploitability
/// Uses Claude API to reduce false positives
#[allow(dead_code)]
pub async fn triage_findings(_results: &mut ScanResults) -> Result<()> {
    // TODO: Implement AI triage with Claude API
    // 1. Send finding context (code snippet, dependency graph) to Claude
    // 2. Claude analyzes reachability and exploitability
    // 3. Adjust severity based on AI assessment
    // 4. Filter out confirmed false positives
    tracing::info!("AI triage: coming in v0.2.0");
    Ok(())
}