Draugr is an open-source security finding prioritization tool designed to solve the problem of "given the output of many scanners, which security issue should be fixed first?" It does not replace existing scanners; instead, it integrates the tools you already use (such as Trivy, Semgrep, Gitleaks, etc.) and aggregates findings from SAST, SCA, secrets, IaC, and container scanning into a single list, sorted by priority.
Key capabilities:
- Runs multiple open-source scanners in a unified way, with no manual selection or configuration required.
- Understands the application structure from an application description file (*.saga.yaml) and automatically selects the applicable checks.
- Ranks each finding by exposure, criticality, exploitability, and reachability in the Go language, producing P1–P4 priorities.
- Deduplication: the same defect reported by multiple scanners is counted only once.
- Produces a pass/fail conclusion for each part of the application.
- Supports suppression; suppressed findings remain in the report with a reason and the last modifying commit.
- Provides content-hash caching, SBOMs per repository and image, KEV/EPSS enrichment, and threshold gates by control.
- Output is standardized as SARIF 2.1.0 and can be integrated into GitHub/GitLab/Azure DevOps code scanning.
- Provides integration methods such as a GitHub Action, GitLab CI, Azure Pipelines, and a pre-commit hook.
- Supports use by AI coding assistants via MCP (Model Context Protocol).
Usage:
- Installation: the script installs to ~/.local/bin with no sudo required; manual download, GitHub, and go install are also supported.
- Initialization: run draugr init in the repository to generate a draft description file.
- Describe the application: in *.saga.yaml, describe repository locations, exposed services, infrastructure, etc.
- Run the scan: execute the draugr command to automatically run the applicable scanners and generate a prioritized report.
- CI: use the official GitHub Action, etc., to gate only on new findings in PRs, avoiding inherited legacy issues blocking changes.
Use cases:
- Development teams want to quickly understand before release whether an application is safe to release.
- Unify the results of multiple scannersand focus on the most urgent issues.
- Implement priority-based gating policies in CI/CD.
- Open-source projects want a customized Draugr configuration.
Limitations:
- A passing conclusion only means that the configured controls did not find the issues they target; it does not mean the software is absolutely secure.
- No guarantee is provided for content not declared in the description file, controls that are not enabled, or issues missed by the underlying scanners.
- License findings are informational only and do not constitute legal advice.
- Scanning live endpoints is your own responsibility to authorize.
- Go 1.26+ is required to build.
- Some scanners may send data to third parties; confirm with draugr doctor before scanning.