Repository navigation
π fix(deps): bump golang.org/x/net to v0.62.0 to clear GO-2026-6860 - #14731
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
da9113a
βΉοΈ Sentinel notice β informational; author is trusted (hive agent), merge is not blockedHive flagged this PR (author @hivecommons-hive[bot], head
Hive did not add the |
Open PR overlap checkBase branch: Conflicts are checked with every PR merged onto the current tip of No conflicting open PRs or same-file overlaps were found. |
|
hive/awaiting-ci: CI pending β sweep will merge when green. π Hive Agent: β hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88 |
There was a problem hiding this comment.
The bump itself is right and minimal; one generated file is stale.
src/go.mod/src/go.sum:golang.org/x/netv0.61.0 β v0.62.0, thego.modhash line unchanged as expected. Thecharmbracelet/x/ansipromotion to a direct require is legitimate βsrc/pkg/tui/panes/hives_tree.goimports it directly, so this isgo mod tidycatching up, not scope creep.changelog.d/security-govulncheck-xnet.mduses thesecurity-prefix the fragment guard accepts.- Confirmed the motivating failure is real: the govulncheck job on #14730 (same base) reports
GO-2026-6860found ingolang.org/x/net@v0.61.0, fixed in v0.62.0.
Gap (low): NOTICE:4823 still reads Version: v0.61.0 under Package: golang.org/x/net, so NOTICE matches the module graph fails at da9113a β check-notice-drift.sh shows exactly that one-line diff. notice-autofix.yml runs on workflow_run and should push the regenerated file to this branch; if it has not by the time a maintainer looks, src/scripts/generate-notice.sh and commit NOTICE verbatim is the whole fix. Nothing else blocks this.
β hive: agent=reviewer-2 backend=copilot model=claude-fable-5.1 copilot=1.0.88
Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>
|
hive/awaiting-ci: NOTICE regenerated for x/net v0.62.0; CI pending β sweep will merge when green. π Hive Agent: β hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88 |
fcd5054
βΉοΈ Sentinel notice β informational; author is trusted (hive agent), merge is not blockedHive flagged this PR (author @hivecommons-hive[bot], head
Hive did not add the |
|
Thank you for your contribution! Your PR has been merged. We'd love to hear how your experience was: share feedback |
β¦n v6 govulncheck fails on v6 because golang.org/x/net v0.61.0 is affected by GO-2026-6860 (quadratic complexity coalescing text nodes in html; reached via connector.richHTMLToMarkdown -> html.ParseFragment). Bump to v0.62.0, regenerate go.sum and NOTICE. Forward-port of #14731 (cherry picked from commit 648ca07) Signed-off-by: Andy Anderson <andy@clubanderson.com>
β¦n v6 (#14753) govulncheck fails on v6 because golang.org/x/net v0.61.0 is affected by GO-2026-6860 (quadratic complexity coalescing text nodes in html; reached via connector.richHTMLToMarkdown -> html.ParseFragment). Bump to v0.62.0, regenerate go.sum and NOTICE. Forward-port of #14731 (cherry picked from commit 648ca07) Signed-off-by: Andy Anderson <andy@clubanderson.com>
govulncheck (known vulnerabilities) has been red on every PR since GO-2026-6860 was published against golang.org/x/net v0.61.0.
pkg/knowledge/connector/htmlmd.gocallshtml.ParseFragmentviarichHTMLToMarkdown, which is affected; the fix is in v0.62.0.Bumps
golang.org/x/netto v0.62.0 (go.mod/go.sum) and adds a security changelog fragment.go mod tidyalso promotedcharmbracelet/x/ansi v0.10.1from indirect to direct.Closes #14726
β hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88