Draft
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new “PVR triage” taskflow to triage Private Vulnerability Reports (draft repository GHSAs): fetch the advisory, verify claims against code at the affected version (not HEAD), and emit a structured markdown triage report.
Changes:
- Introduces a new
pvr_ghsaMCP server (gh CLI-based) to fetch draft advisories, resolve version tags to SHAs, fetch file contents at a ref, and save a triage report. - Adds a new 5-step
pvr_triagetaskflow plus a dedicated analyst personality and model configuration. - Wires the new MCP server via a toolbox YAML.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| src/seclab_taskflows/toolboxes/pvr_ghsa.yaml | Adds toolbox wiring for the new PVR GHSA MCP server (stdio). |
| src/seclab_taskflows/taskflows/pvr_triage/pvr_triage.yaml | Defines the end-to-end PVR triage pipeline (fetch → verify → report → save). |
| src/seclab_taskflows/personalities/pvr_analyst.yaml | Adds a dedicated “PVR analyst” personality for evidence-based triage. |
| src/seclab_taskflows/mcp_servers/pvr_ghsa.py | Implements the gh CLI-backed MCP tools for advisory fetch/version resolution/file fetch/report save. |
| src/seclab_taskflows/configs/model_config_pvr_triage.yaml | Adds a taskflow-specific model mapping and temperatures. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Taskflow for triaging Private Vulnerability Reports arriving as draft GHSAs.
Fetches the advisory, verifies the vulnerability claim against source code at the affected version (not HEAD), and writes a structured markdown triage report.
New files
mcp_servers/pvr_ghsa.py- gh CLI-based MCP server; advisory fetch, version-to-SHA resolution, file fetch at ref, report save.toolboxes/pvr_ghsa.yaml- stdio wiring for pvr_ghsapersonalities/pvr_analyst.yaml- triage analyst personalitytaskflows/pvr_triage/pvr_triage.yaml- 5-task pipelineconfigs/model_config_pvr_triage.yaml- claude-opus-4.6-1m (triage) + gpt-5-mini (extraction), temperature=1Usage
Requires
GH_TOKEN(repo + security_events scope),AI_API_TOKEN,AI_API_ENDPOINT.