fix(deps): remediate plural CLI Go vulnerabilities - #791
Conversation
There was a problem hiding this comment.
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 in this repository for Go vulnerabilities in the bundled plural CLI found in deployed ghcr.io/pluralsh/console:sha-ce1294d.... |
| 🔗 Run history | View run history |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Greptile SummaryThe PR updates the Go toolchain and selected Go dependencies to remediate reported vulnerabilities.
Confidence Score: 5/5The PR appears safe to merge because no actionable changed-code failure was identified. The toolchain and dependency pins are updated consistently across the Dockerfile and Go module metadata, while the additional advisory matches concern unchanged, unreachable transitive code.
|
| Filename | Overview |
|---|---|
| Dockerfile | Updates both builder and runtime Go image pins consistently from 1.26.5 to 1.26.6. |
| go.mod | Updates the Go directive and targeted dependency versions with compatible transitive module selections; no actionable regression was identified. |
| go.sum | Replaces checksums consistently for the module versions selected in go.mod. |
Reviews (1): Last reviewed commit: "fix(deps): remediate plural CLI Go vulne..." | Re-trigger Greptile
Summary
Remediates Go vulnerabilities in the bundled
pluralCLI associated with deployedghcr.io/pluralsh/console:sha-ce1294d. The Console image’s bundled CLI maps to thisplural-clirepository.Advisory → fix mapping
golang.org/x/modv0.37.0 → v0.40.0github.com/go-git/go-git/v5v5.19.1 → v5.19.2go mod tidyretained the compatible resolved module-graph updates required by these selections:golang.org/x/crypto,x/net,x/sys,x/term,x/text, andx/tools.Toolchain/build-pin finding
The distributed CLI is built from
./cmd/pluralby:Dockerfile, which CI uses to publishghcr.io/pluralsh/plural-cli; andgo.mod.The participating pins were changed from Go 1.26.5 to 1.26.6:
Dockerfile: builder and final stages now usegolang:1.26.6-alpine3.24.go.mod:go 1.26.6.Inspected but intentionally unchanged:
test.Dockerfileis only docker-compose test wiring, andhack/gen-client-mocks.sh/hack/lib.shonly drive mock generation; none produce the distributed CLI artifact.Files changed
Dockerfile— update artifact builder/final Go image pin.go.mod— update Go directive and fixed module versions.go.sum— tidy checksums and resolved required transitive module versions.Validation
Using
golang:1.26.6-alpine3.24:go mod tidygo test ./pkg/utils/git/...✅ (package has no test files)go build -o /tmp/plural ./cmd/plural✅/tmp/plural version✅git diff --check✅The Docker daemon was available, but an exact
docker buildwas blocked by the agent harness command policy; the direct Go build above validates the CLI compilation with the same 1.26.6 builder toolchain.Follow-up
This PR intentionally makes no GitOps or image-tag changes. After merge, image publishing and any GitOps image-tag updates must follow separately.