Skip to content

πŸ› fix(deps): bump golang.org/x/net to v0.62.0 to clear GO-2026-6860 - #14731

Merged
hivecommons-hive[bot] merged 2 commits into
v5from
scanner/fix-govulncheck-xnet
Oct 27, 2026
Merged

hivecommons-hive[bot] merged 2 commits into
v5from
scanner/fix-govulncheck-xnet

Conversation

@hivecommons-hive

Copy link
Copy Markdown
Contributor

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.go calls html.ParseFragment via richHTMLToMarkdown, which is affected; the fix is in v0.62.0.

Bumps golang.org/x/net to v0.62.0 (go.mod/go.sum) and adds a security changelog fragment. go mod tidy also promoted charmbracelet/x/ansi v0.10.1 from indirect to direct.

Closes #14726

β€” hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>
@kubestellar-prow kubestellar-prow Bot added the dco-signoff: yes Indicates the PR's author has signed the DCO. label Oct 27, 2026
@kubestellar-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign nicholasjackson for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubestellar-prow kubestellar-prow Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 27, 2026
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author
da9113a

ℹ️ Sentinel notice β€” informational; author is trusted (hive agent), merge is not blocked

Hive flagged this PR (author @hivecommons-hive[bot], head da9113aa32f4) because it matches behaviors that can override security controls, escalate privileges or damage the codebase. This is a heuristic, not an accusation β€” a maintainer should confirm the change is intended before it merges.

  • sensitive_path β€” changes 1 sensitive path(s) (Touches a sensitive path (OWNERS, workflows, policies, hive config, security docs, …))
    • src/go.mod

Hive did not add the sentinel-alert label because this author is trusted. The finding remains recorded for audit and the dashboard Security tab; set sentinel.trusted_authors_block: true to require the blocking label for trusted authors too.

@github-actions

Copy link
Copy Markdown
Contributor

Open PR overlap check

Base branch: v5

Conflicts are checked with every PR merged onto the current tip of v5, so a PR that only needs a rebase is not reported as conflicting with its siblings.

No conflicting open PRs or same-file overlaps were found.

@hivecommons-hive

Copy link
Copy Markdown
Contributor Author

hive/awaiting-ci: CI pending β€” sweep will merge when green.


🐝 Hive Agent: scanner | Instance: hosted-available-oke-11-placeholder-r05x | SHA: unknown

β€” hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive hivecommons-hive Bot added author/hive This repository's own hive (the App or one of its agent lanes) authored this PR dco All commits are DCO signed-off role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/070-fixing Hive-authored PR: CI red, changes requested or needs rebase; a hive agent is fixing it labels Oct 27, 2026

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bump itself is right and minimal; one generated file is stale.

  • src/go.mod / src/go.sum: golang.org/x/net v0.61.0 β†’ v0.62.0, the go.mod hash line unchanged as expected. The charmbracelet/x/ansi promotion to a direct require is legitimate β€” src/pkg/tui/panes/hives_tree.go imports it directly, so this is go mod tidy catching up, not scope creep.
  • changelog.d/security-govulncheck-xnet.md uses the security- prefix the fragment guard accepts.
  • Confirmed the motivating failure is real: the govulncheck job on #14730 (same base) reports GO-2026-6860 found in golang.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>
@kubestellar-prow kubestellar-prow Bot removed the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 27, 2026
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author

hive/awaiting-ci: NOTICE regenerated for x/net v0.62.0; CI pending β€” sweep will merge when green.


🐝 Hive Agent: scanner | Instance: hosted-available-oke-11-placeholder-r05x | SHA: fcd5054ef

β€” hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88

@kubestellar-prow kubestellar-prow Bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Oct 27, 2026
@hivecommons-hive hivecommons-hive Bot added stage/050-review-pending Review swarm requested; awaiting a verdict for the current head and removed stage/070-fixing Hive-authored PR: CI red, changes requested or needs rebase; a hive agent is fixing it labels Oct 27, 2026

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed β€” no findings from this perspective.

β€” hive: agent=ci-maintainer backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed β€” no findings from this perspective.

β€” hive: agent=adjudicator backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed β€” no findings from this perspective.

β€” hive: agent=reviewer backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive

Copy link
Copy Markdown
Contributor Author
fcd5054

ℹ️ Sentinel notice β€” informational; author is trusted (hive agent), merge is not blocked

Hive flagged this PR (author @hivecommons-hive[bot], head fcd5054ef5a1) because it matches behaviors that can override security controls, escalate privileges or damage the codebase. This is a heuristic, not an accusation β€” a maintainer should confirm the change is intended before it merges.

  • sensitive_path β€” changes 1 sensitive path(s) (Touches a sensitive path (OWNERS, workflows, policies, hive config, security docs, …))
    • src/go.mod

Hive did not add the sentinel-alert label because this author is trusted. The finding remains recorded for audit and the dashboard Security tab; set sentinel.trusted_authors_block: true to require the blocking label for trusted authors too.

@hivecommons-hive
hivecommons-hive Bot merged commit 648ca07 into v5 Oct 27, 2026
76 of 79 checks passed
@kubestellar-prow
kubestellar-prow Bot deleted the scanner/fix-govulncheck-xnet branch October 27, 2026 23:14
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author
Evidence bundle `#14731fcd5054` sha256:8363e1c38aa8581f9b6e2aa66ee3cba562fbff13c7a16fab4e05e8b39f59e72f β€” download from the dashboard or `hivectl review evidence #14731`.

@github-actions

Copy link
Copy Markdown
Contributor

Thank you for your contribution! Your PR has been merged.

We'd love to hear how your experience was: share feedback

@hivecommons-hive hivecommons-hive Bot removed role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Oct 27, 2026
clubanderson added a commit that referenced this pull request Oct 28, 2026
…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>
hivecommons-hive Bot pushed a commit that referenced this pull request Oct 28, 2026
…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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author/hive This repository's own hive (the App or one of its agent lanes) authored this PR copilot dco All commits are DCO signed-off dco-signoff: yes Indicates the PR's author has signed the DCO. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[shared-ci] govulncheck (known vulnerabilities) failing across hivecommons/hive

0 participants