The scanning pipeline
Switch Trust Scan finds security and quality issues in your agent code in these stages:1
Parallel scans test your agent code
Both run simultaneously:
- Static analysis — Industry-standard tools (Bandit, OpenGrep, detect-secrets, pip-audit) scan for patterns
- AI reasoning — LLM analyzes agent code, follows data flows, identifies risky patterns
2
Triage combines results
AI evaluates findings from both approaches, filters false positives, and dismisses expected behavior.
3
Real findings reported
Only genuine issues make it to your scan results, with severity scores, evidence, and fix recommendations.
What it finds
All findings are mapped to the OWASP Top 10 for Agentic Applications:
Findings outside this framework are reported under
beyond_asi with a descriptive subcategory.
Triage audit trail
The triage layer decides what’s a real issue vs expected behavior. You get full transparency:pre_triage_findings - Raw output from static tools and AI reasoning before filtering
triage_dismissed - Findings dismissed as expected behavior given what your agent is for, with explanations:
triage_downgraded - Findings with disproportionate severity that were adjusted:

