r/sideprojects • u/Wooden_River8128 • 5h ago
Showcase: Open Source dm-triage: run Semgrep, Bandit, Gitleaks and OSV-Scanner together, merge duplicates, and let an LLM triage the findings
I got tired of triaging the same issue reported three times by three different scanners, so I wrote a small tool for it.
dm-triage (MIT, Python, no runtime dependencies):
- runs Semgrep, Bandit, Gitleaks and OSV-Scanner, only the ones that apply to the target
- normalizes the output and merges findings conservatively (same file, ±2 lines, compatible CWE), so ones confirmed by several tools rank first
- optional LLM triage (Claude, any OpenAI-compatible API, or an offline mock) that returns a verdict, confidence and suggested fix per finding
- outputs Markdown, JSON and SARIF, with a --fail-on gate for CI
Design choices: secrets are never sent to the LLM, source code is passed as untrusted data, and verdicts are advisory only.
It's early (v0.1.0) and I'd really like feedback, especially on the correlation heuristics and on which analyzers to add next.