Skip to content

fix(security): bump golang.org/x/crypto to v0.52.0 (clears all 21 critical Dependabot alerts) - #1130

Merged
mdheller merged 1 commit into
mainfrom
fix/dependabot-go-xcrypto-critical
Jul 30, 2026
Merged

fix(security): bump golang.org/x/crypto to v0.52.0 (clears all 21 critical Dependabot alerts)#1130
mdheller merged 1 commit into
mainfrom
fix/dependabot-go-xcrypto-critical

Conversation

@mdheller

Copy link
Copy Markdown
Member

What & why

Bumps golang.org/x/crypto v0.49.0 → v0.52.0 in all three Go modules. This clears every open Dependabot alert against x/crypto — 39 total (21 critical, 6 high, 12 medium) — which is the entire critical surface on prophet-platform.

Modules

  • apps/api/go.mod (indirect → v0.52.0)
  • apps/gateway/go.mod (indirect → v0.52.0)
  • libs/go/tritrpcbridge/go.mod (direct require → v0.52.0)

Also pulls golang.org/x/sys 0.42.0 → 0.45.0 (transitive requirement).

Verification (local, go 1.25 toolchain)

  • go build ./... → rc=0 in all three modules
  • go vet ./... → rc=0 in all three modules
  • go work sync clean
  • diff is go.mod/go.sum only

Plan context

First of the security-remediation tranche (Phase 2, ahead of feature merges so nothing stacks on a vulnerable base). Follow-ups queued: pip (starlette, pypdf, pyjwt, protobuf, sentencepiece) and npm (undici + small deps). Dev-only pytest batched separately.

Clears all 39 open Dependabot alerts against golang.org/x/crypto (21 critical,
6 high, 12 medium) — the entire critical surface on the repo — in apps/api,
apps/gateway, and libs/go/tritrpcbridge. Pulls golang.org/x/sys 0.42.0 -> 0.45.0
as a transitive requirement.

Verified: go build ./... and go vet ./... pass (rc=0) in all three modules;
go work sync clean.
Copilot AI review requested due to automatic review settings July 30, 2026 19:40
@mdheller
mdheller enabled auto-merge (squash) July 30, 2026 19:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Updates Go module dependencies to remediate Dependabot security alerts by bumping golang.org/x/crypto (and transitive golang.org/x/sys) across the repo’s Go modules.

Changes:

  • Bump golang.org/x/crypto from v0.49.0 to v0.52.0 in all three Go modules.
  • Bump golang.org/x/sys from v0.42.0 to v0.45.0 (transitive/indirect).
  • Regenerate corresponding go.sum entries to match the updated module graph.

Reviewed changes

Copilot reviewed 3 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
libs/go/tritrpcbridge/go.mod Updates direct x/crypto requirement and indirect x/sys version.
libs/go/tritrpcbridge/go.sum Aligns checksums with updated x/crypto/x/sys versions.
apps/gateway/go.mod Updates indirect x/crypto/x/sys requirements for the gateway module.
apps/gateway/go.sum Aligns checksums with updated x/crypto/x/sys versions.
apps/api/go.mod Updates indirect x/crypto/x/sys requirements for the API module.
apps/api/go.sum Aligns checksums with updated x/crypto/x/sys versions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mdheller
mdheller merged commit e31e972 into main Jul 30, 2026
78 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants