bumblebee icon indicating copy to clipboard operation
bumblebee copied to clipboard

[Security] Pin govulncheck version in ci.yml to prevent supply chain risks

Open rphipps75 opened this issue 6 months ago • 1 comments

Problem

The Go vulnerability checker configured in .github/workflows/ci.yml currently targets the @latest tag.

Using @latest introduces significant risk to the build environment (similar to recent Trivy supply chain incidents). Automatically pulling unpinned, upstream code increases the vulnerability to supply chain attacks if the source repository is ever compromised.

code reference

go install golang.org/x/vuln/cmd/govulncheck@latest

Proposed change

Locking the installation version ensures the development environments and deployment pipelines remain stable, predictable, and secure. Change @latest to a pinned release version, such as @v1.3.0.

e.g.

go install golang.org/x/vuln/cmd/[email protected]

rphipps75 avatar May 25 '26 11:05 rphipps75

thanks for raising this, @rphipps75 🙏

adel-pplx avatar May 28 '26 16:05 adel-pplx