Skip to content

Bump dependencies to clear Dependabot security alerts - #35

Open
m-messer wants to merge 1 commit into
mainfrom
security-updates
Open

Bump dependencies to clear Dependabot security alerts#35
m-messer wants to merge 1 commit into
mainfrom
security-updates

Conversation

@m-messer

@m-messer m-messer commented Sep 4, 2026

Copy link
Copy Markdown
Member

Summary

Resolves all 30 open Dependabot alerts (#6#35) across 6 Go modules, including several critical ones (kin-openapi fail-open auth bypass, multiple golang.org/x/crypto SSH advisories).

Module Before After
github.com/getkin/kin-openapi v0.138.0 v0.149.0
golang.org/x/crypto v0.24.0 dropped from build graph
github.com/ethereum/go-ethereum v1.14.5 v1.17.5
golang.org/x/net v0.26.0 v0.58.0
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 v2.4.0
github.com/gorilla/websocket v1.4.2 v1.5.3

Notes:

  • golang.org/x/crypto is gone entirely — go-ethereum v1.17.5 no longer depends on it (uses stdlib crypto/sha3), so it's removed from go.sum. This clears alerts TCP Transport #6, Feature/cases #10–11, Added GitHub Actions release workflow and updated build workflow to t… #18–30.
  • kin-openapi v0.138 → v0.149 was API-compatible; no source changes were needed.
  • Added toolchain go1.25.14 so the build links a patched Go standard library — govulncheck had flagged ~29 reachable stdlib CVEs against the pinned go 1.25.0.
  • Bumped go.opentelemetry.io/otel → v1.42.0 (transitive, GO-2026-5158).
  • govulncheck ./... now reports no vulnerabilities.

Prevention

  • .github/dependabot.yml (new): weekly grouped updates for gomod, github-actions, docker.
  • .github/workflows/build.yml: new govulncheck CI job.

Verification

go build ./..., go vet ./..., go test ./... (204 pass), make build, and govulncheck ./... all pass locally.

Out of scope

runtime/mued_v0_1_1_dev.go / _test.go are untracked local WIP that don't compile (unrelated to this change); not included here. CI is unaffected.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HkBX4NG8v1FmhwoKfRLEuP

Resolves all 30 open Dependabot alerts (numbers 6-35) across 6 Go modules:

  github.com/getkin/kin-openapi        v0.138.0        -> v0.149.0
  github.com/ethereum/go-ethereum      v1.14.5         -> v1.17.5
  golang.org/x/net                     v0.26.0         -> v0.58.0
  github.com/go-viper/mapstructure/v2  v2.0.0-alpha.1  -> v2.4.0
  github.com/gorilla/websocket         v1.4.2          -> v1.5.3
  golang.org/x/crypto                  v0.24.0         -> dropped from build graph
                                                         (go-ethereum v1.17.5 no
                                                         longer pulls it; stdlib
                                                         crypto/sha3 is used)

Also adds `toolchain go1.25.14` so the build uses a patched Go standard
library (clears the stdlib CVEs govulncheck flagged as reachable), and
bumps go.opentelemetry.io/otel to v1.42.0 (transitive, GO-2026-5158).

Preventive measures:
- .github/dependabot.yml: weekly grouped gomod / github-actions / docker updates
- .github/workflows/build.yml: new `govulncheck` job

Verification: `go build ./...`, `go vet ./...`, `go test ./...`, `make build`,
and `govulncheck ./...` (no vulnerabilities found) all pass.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HkBX4NG8v1FmhwoKfRLEuP
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