fix(security): bump golang.org/x/crypto to v0.52.0 (clears all 21 critical Dependabot alerts) - #1130
Merged
Merged
Conversation
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.
mdheller
enabled auto-merge (squash)
July 30, 2026 19:45
Contributor
There was a problem hiding this comment.
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/cryptofromv0.49.0tov0.52.0in all three Go modules. - Bump
golang.org/x/sysfromv0.42.0tov0.45.0(transitive/indirect). - Regenerate corresponding
go.sumentries 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.
This was referenced Jul 31, 2026
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.
What & why
Bumps
golang.org/x/cryptov0.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/sys0.42.0 → 0.45.0 (transitive requirement).Verification (local, go 1.25 toolchain)
go build ./...→ rc=0 in all three modulesgo vet ./...→ rc=0 in all three modulesgo work synccleanPlan 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
pytestbatched separately.