Offline AI Security Scanner
Run built-in source security checks without a model, then use a downloaded Ollama model to explain findings locally in VS Code.
Prepare before going offline
Install the extension and download your Ollama model while connected if you want AI explanations. Install optional analyzers in advance. If you also want dependency CVE checks, use Hushavyr: Update Vulnerability Databases (Trivy + OSV) while connected to populate the local databases.
Scan source and inspect results
- Run
Hushavyr: Security Scan (No AI)for built-in source checks. - For a finding you want to understand, run
Hushavyr: Explain a Security Finding (Local AI)with the local model available. - Use
Hushavyr: Export Findings as SARIFto review findings in a compatible viewer.
Offline dependency results reflect the downloaded database snapshot. See the project-reported Java OWASP benchmark for the scope of the static checks on that dataset.