Bastion is a local-first security center. It's a single Go binary: you run it on your own machine and it opens a web UI in your browser. Dependency vulnerabilities, licence issues, IaC misconfigurations and leaked secrets all show up in one normalized view.
Trivy and Gitleaks are embedded as Go libraries and OSV is queried over HTTPS, so you don't need Python, an external CLI or Docker. Nothing leaves your machine except a few documented network calls.
What it does
• Scans GitHub repos, local directories, local Docker images and AWS ECR images
• Finds vulnerabilities (Trivy + OSV), secrets (Gitleaks), IaC misconfigurations and licence issues. Optional: SAST (Opengrep), Go reachability, outdated and end-of-life packages
• Triage: filters, EPSS scores, scan diffs, and ignore / accepted-risk / false-positive decisions that persist across scans
• Fix: prioritized fix plans and one-click dependency-upgrade pull requests
• Export: JSON, SARIF and CycloneDX SBOM. --fail-on breaks CI builds
• Automate: scheduled scans, Slack/email alerts, a GitHub Action, an MCP server for AI agents and an optional local LLM to explain findings
• Private by default: loopback-only server, credentials kept in the OS keyring, no telemetry
Install
brew install ozerozdas/tap/bastion
Built with