Skip to content

fix(deps): remediate Console Go findings - #840

Open
plural-copilot[bot] wants to merge 1 commit into
mainfrom
agent/fix-go-console-cves-1794510512757
Open

plural-copilot[bot] wants to merge 1 commit into
mainfrom
agent/fix-go-console-cves-1794510512757

Conversation

@plural-copilot

Copy link
Copy Markdown
Contributor

Summary

This repository builds the plural CLI binary embedded in Console. Update its Go dependency/runtime inputs to remediate the Console scanner findings:

  • golang.org/x/crypto → v0.58.1-0.20261009181718-2f1f834330b2 for GO-2026-5932
  • Go directive and production builder/final stages → Go 1.27.4 for CVE-2026-97054
  • Align the maintained test and mock-generation Go images to 1.27.4

Changed files

  • go.mod, go.sum: crypto remediation plus required golang.org/x/crypto/openpgp indirect metadata.
  • Dockerfile: production builder and final Go base stages.
  • test.Dockerfile, hack/gen-client-mocks.sh, hack/lib.sh: maintained Go image alignment.

Tests

  • go mod verify (Go 1.27.4 container)
  • go test ./pkg/scm ./pkg/utils/git (passed; packages contain no test files)
  • Resolved golang:1.27.4-alpine3.24 and golang:1.27.4-bookworm manifests
  • git diff --check
  • Attempted full go build ./cmd/plural -buildvcs=false; stopped after the bounded five-minute container limit.

Risks / follow-up

No Console Helm/GitOps tags or unrelated dependencies changed. This does not claim to remediate Alpine OS-package CVEs. A downstream Console rebuild and promotion consuming this CLI is still required, followed by a final deployed Console-image rescan to validate these findings are gone.

@plural-copilot plural-copilot 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.

This PR was generated by the codex Plural Agent Runtime. Here's some useful information you might want to know to evaluate the ai's perfomance:

Name Details
💬 Prompt Create one focused remediation PR for Console image Go findings owned by plural-cli. The deployed Console scanner showed GO-2026-5932 in golang.org/x/crypto v0.58.0 and CVE-2026-97054 in Go stdlib v1.27.3. Static analysis established the exact minimal change:...
🔗 Run history View run history

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgolang.org/​x/​crypto@​v0.58.0 ⏵ v0.58.1-0.20261009181718-2f1f834330b273100100100100

View full report

@greptile-apps

greptile-apps Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable defect was established.

Summary

Updates the CLI’s Go and crypto dependencies:

  • Git SSH and key operations now use the updated crypto dependency.
  • The CLI build and image now use Go 1.27.4.
  • Test and mock-generation containers now use Go 1.27.4.

No actionable issue was established. This review did not run a build or tests.

Reviews (1) · Last reviewed commit: "fix(deps): remediate Console Go findings" · Reviewed by Greptile

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.

1 participant