Skip to content

fix(deps): unblock security checks with patched WebSocket and telemetry - #106

Draft
emranemran wants to merge 1 commit into
mainfrom
fix/ci-security-dependencies-20261124
Draft

emranemran wants to merge 1 commit into
mainfrom
fix/ci-security-dependencies-20261124

Conversation

@emranemran

@emranemran emranemran commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Deferred at Emran’s request. This PR is not part of the current staging CI/CD work. Josh can review it after PTO. Do not merge it as part of this rollout.

Existing security scans reject the current main dependencies for GO-2026-6278 and GO-2026-6974. This blocks otherwise harmless documentation PRs and the normal green-main image publication path.

Update Gorilla WebSocket to the exact upstream crypto/rand fix and keep the OpenTelemetry API modules at the first fixed 1.47.0 release. Run go mod tidy to retain only required module/checksum changes. No application source, SQL, CI workflow, deployment or environment change.

Sources: Go WebSocket advisory, upstream WebSocket fix, OpenTelemetry 1.47.0 release. No scan is disabled or bypassed.

Reproduced by the existing test failure on documentation-only PR #105. Local go mod verify passes. Local govulncheck with CGO disabled reports zero reachable vulnerabilities. Full race/CGO tests could not compile locally because this Mac lacks Xcode command-line tools. The existing Linux CGO/race/fixture/static/security checks must all pass before merge. No local CGO success is claimed. The x/crypto update is required by the resolved module graph.

Staging will consume the normal green-main published image; production stays frozen. The unused documentation-only smoke PR is closed. Existing published images will test the simple-infra consumer path.

Copilot AI balanced review requested due to automatic review settings November 24, 2026 20:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Security-fix effectiveness and dependency compatibility cannot be confirmed without independent upstream verification and the unavailable Linux CGO/race, fixture, static-analysis, and govulncheck results.

No open issues 🎉

What changed in this PR

This dependency-only PR targets the WebSocket and OpenTelemetry vulnerabilities blocking security checks and normal green-main image publication. Application code, workflows, and deployment settings remain unchanged.

Changes:

  • Pins Gorilla WebSocket to the upstream crypto/rand fix.
  • Updates OpenTelemetry API modules to v1.47.0 and adjusts required indirect dependencies.
  • Refreshes module checksums to match the dependency updates.
File Description
go.sum Updates checksums for WebSocket, OpenTelemetry, and x/crypto.
go.mod Pins patched dependencies and adds indirect OpenTelemetry log and x/net requirements.

Review effort: Balanced

@emranemran
emranemran deployed to docker-publish November 24, 2026 20:30 — with GitHub Actions Active
@emranemran
emranemran deployed to docker-publish November 24, 2026 20:31 — with GitHub Actions Active
@emranemran
emranemran deployed to docker-publish November 24, 2026 20:31 — with GitHub Actions Active
@emranemran
emranemran deployed to docker-publish November 24, 2026 20:31 — with GitHub Actions Active
@emranemran
emranemran marked this pull request as draft November 24, 2026 20:42

This branch was successfully deployed

1 active deployment
docker-publish — dcb127bf Deployed Nov 24, 2026 by emranemran via docker-pr / promote #218
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.

2 participants