Skip to content

Repository files navigation

VulnTriage by PatchHive

VulnTriage turns vulnerability noise into a ranked engineering queue.

It reads GitHub code scanning alerts and dependency alerts, then prioritizes those findings by severity, likely impact, owner hint, and next practical action so teams can stop treating every security finding like it deserves the same response.

Product Documentation

Core Workflow

  • read code scanning alerts and dependency alerts for a target repository
  • group the findings into a practical triage queue
  • rank each finding into action buckets such as fix now, plan next, or watch
  • highlight likely ownership and the most useful next step
  • save scan history so earlier snapshots can be reloaded and compared

Run Locally

Docker

cp .env.example .env
docker compose up --build

Frontend: http://localhost:5181 Backend: http://localhost:8110

Split Backend and Frontend

cp .env.example .env
cd backend && cargo run
cd ../frontend && npm install && npm run dev

Important Configuration

VariablePurpose
BOT_GITHUB_TOKEN or GITHUB_TOKENOptional fine-grained PAT for code scanning and Dependabot alert reads. Recommended scopes: Metadata (read), Code scanning alerts (read), Dependabot alerts (read).
VULN_TRIAGE_API_KEY_HASHOptional pre-seeded app auth hash. Otherwise generate the first local key from the UI.
VULN_TRIAGE_SERVICE_TOKEN_HASHOptional pre-seeded service-token hash for HiveCore or other PatchHive product callers.
VULN_TRIAGE_DB_PATHSQLite path for vulnerability triage history.
VULN_TRIAGE_PORTBackend port for split local runs.
RUST_LOGRust logging level.

VulnTriage works best with a fine-grained GitHub token that has the matching security read permissions for the repositories being scanned.

Safety Boundary

VulnTriage is intentionally read-only. It does not dismiss alerts, patch repositories, open issues, or publish security statuses. It uses patchhive-github-security for typed GitHub security reads and keeps ranking decisions visible and product-owned.

HiveCore Fit

HiveCore can surface VulnTriage health, capabilities, run history, and ranked security pressure. It should treat VulnTriage as the suite's security triage view while leaving alert reads and ranking logic inside the product.

Standalone Repository

The PatchHive monorepo is the source of truth for VulnTriage development. The standalone patchhive/vulntriage repository is an exported mirror of this directory.

About

Turn security findings into ranked, actionable engineering work.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages