fix: address Codacy security findings - #108
Conversation
rasifr
commented
Apr 13, 2026
- Bump Go toolchain directive to 1.25.9 and update goreleaser-cross image to v1.25.9 so released binaries are built with a patched stdlib, resolving all golang/stdlib CVEs (CVE-2025-68121, CVE-2025-61726–61730, CVE-2026-27139/27142/25679/32281/32288/32289)
- Upgrade github.com/moby/buildkit v0.27.1 → v0.28.1 (CVE-2026-33747, CVE-2026-33748)
- Upgrade go.opentelemetry.io/otel/sdk and exporters v1.38/1.41 → v1.43.0 (CVE-2026-39882, CVE-2026-39883)
- Upgrade google.golang.org/grpc v1.79.1 → v1.80.0 (CVE-2026-33186)
- Add explicit USER nonroot to Dockerfile (base image already runs as UID 65532 but Codacy requires an explicit instruction)
- Pin docker/* GitHub Actions to full commit SHAs to prevent supply-chain attacks via mutable version tags
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthroughThe pull request pins Docker-related GitHub Actions to specific commit SHAs in the release workflow, updates the GoReleaser cross-compilation image tag, adds Changes
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Duplication | 0 |
TIP This summary will be updated as you push new changes. Give us feedback
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/workflows/release.yaml:
- Line 34: Replace the non-existent Docker image tag
"goreleaser/goreleaser-cross:v1.25.9" with the valid tag
"goreleaser/goreleaser-cross:v1.25.8" in the workflow so the release job can
pull the image; if you intentionally need a newer Go toolchain, verify
compatibility and optionally use "goreleaser/goreleaser-cross:v1.26.0" or
"v1.27.0" instead, updating the single occurrence of the image reference
accordingly.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 02a1155d-9a73-4b90-9fc3-aa44f7696da7
⛔ Files ignored due to path filters (1)
go.sumis excluded by!**/*.sum
📒 Files selected for processing (3)
.github/workflows/release.yamlDockerfilego.mod
- Bump Go toolchain directive to 1.26.0 and update goreleaser-cross image to v1.26.0 so released binaries are built with a patched stdlib, resolving all golang/stdlib CVEs (CVE-2025-68121, CVE-2025-61726–61730, CVE-2026-27139/27142/25679/32281/32288/32289) - Upgrade github.com/moby/buildkit v0.27.1 → v0.28.1 (CVE-2026-33747, CVE-2026-33748) - Upgrade go.opentelemetry.io/otel/sdk and exporters v1.38/1.41 → v1.43.0 (CVE-2026-39882, CVE-2026-39883) - Upgrade google.golang.org/grpc v1.79.1 → v1.80.0 (CVE-2026-33186) - Add explicit USER nonroot to Dockerfile (base image already runs as UID 65532 but Codacy requires an explicit instruction) - Pin docker/* GitHub Actions to full commit SHAs to prevent supply-chain attacks via mutable version tags Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fc08de4 to
ccd65ca
Compare