← Back to Pull requests

Release privately reviewed security fixes through public PRs #353

Open
unknown opened this pull request with 240 lines diff across 3 files
View on GitHub
unknown unknown commented on Nov 06, 2026 16:24 UTC
Author

Motivation

Temporary private forks let maintainers develop and approve vulnerability fixes without disclosing them, but integrations and status checks do not run there, including the repository's CI and CLA checks. The current release instructions require privileged changes to branch protections to merge those fixes upstream.

Opening a normal public pull request on the coordinated release day gives maintainers build and test results against the current upstream code before merging. It also preserves the repository's required checks and reviews, avoids needing admin permissions to bypass branch protections at merge time, and provides a public record of the review and check results. There is no need to temporarily change protections and remember to restore them.

Changes

  • Keep development, local validation, review, and approval in the temporary private fork.

  • On the coordinated release day, rebase or cherry-pick the approved fix onto a branch in your public fork and open a normal public pull request targeting upstream instead of using the advisory's merge button.

  • Verify the transferred diff, review any changes from rebasing or conflict resolution, and obtain the public PR's required approvals. Private approvals do not transfer.

  • Require normal CI, CLA, and other checks to pass without relaxing branch protections or adding bypass permissions. Release the fix promptly after merging, then publish the advisory.

  • Make the disclosure timing explicit: publishing the branch or PR exposes the fix before the release is available, so agree on that point with the reporter and affected maintainers and plan for the required checks.

  • Update the incident-response checklist and permissions guidance while retaining admin requirements for advisory and private-fork administration.
  • Diff: 240 lines (+180 / -60) across 3 files Reviewer: pellared Review duration: 1110m
    All Vouch review confidence checks passed
    Residual risk 0.33 = Change Risk (0.62) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.62 · 240 lines diff across 3 files
    0.62
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.328
    Sensitive Paths sensitive_paths
    0.062
    Real PR Conversation Timeline
    1 comments
    "Review active on #353"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 61.9% (MEDIUM) · Higher = larger blast radius
    61.9%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 46.7% · Lower = rushed or shallow review
    46.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 33% · Safe to merge
    33%