Skip to content

fix: upgrade dependencies with security advisories - #84

Merged
GRACENOBLE merged 4 commits into
mainfrom
fix/security-alerts
Oct 30, 2026
Merged

GRACENOBLE merged 4 commits into
mainfrom
fix/security-alerts

Conversation

@GRACENOBLE

Copy link
Copy Markdown
Member

What

Clears the open Dependabot alerts: 181 across web/package.json, web/pnpm-lock.yaml and backend/go.mod.

Web

  • Direct upgrades: next and eslint-config-next 16.2.9 → 16.4.3 (the RCE advisories), next-auth beta.31 → beta.32, @sentry/nextjs → 10.78 (tunnel bypass), vitest → 4.1.12, zod → 4.6.7. All stay within their current major versions; no Sentry 11 or Vitest 5.
  • Transitive packages: updated in the lockfile within their ranges, including proxy-addr, sharp, undici, postcss, @modelcontextprotocol/sdk, fast-xml-parser, source-map-js, nanoid and hono.
  • gRPC override: Firestore pins @grpc/grpc-js ~1.9, so an override in pnpm-workspace.yaml lifts its copy to ^1.13.7. Drop it once firebase ships a fix.
  • Remaining: pnpm audit now reports only deepmerge, which is low severity and has no fixed release.
  • Test type errors: Next 16.4's build now type-checks test files. Three tests had type errors (vitest globals, and the overloaded auth() mock), and they are fixed.

Backend

  • Dependabot: grpc 1.83.1, go-jose 4.1.6, klauspost/compress 1.18.7, moby/go-archive 0.3.0, moby/sys/user 0.4.1, otel/sdk 1.45.0.
  • govulncheck: x/net 0.60.0 and x/text 0.42.0. govulncheck showed our code calls the vulnerable functions, though Dependabot hadn't flagged them.
  • Go 1.26: x/net 0.60 requires it. go.mod is now go 1.26.0, and CI, the README, CONTRIBUTING, CLAUDE.md, the RUNBOOK and the backend agent say 1.26. ADR 0001 is unchanged, as a record of the original decision.
  • Remaining govulncheck finding: crypto/x509 in the Go standard library. It's fixed by building with the latest Go patch release, not by go.mod.

Checks

  • Web: pnpm test (101 passed), pnpm lint (no errors), pnpm build and tsc --noEmit all pass.
  • Backend: go vet and make test pass, including the Testcontainers tests.

🤖 Generated with Claude Code

GRACENOBLE and others added 4 commits October 30, 2026 06:42
Import it/expect from vitest instead of relying on globals, and type the
mocked auth() as the session getter.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
next and eslint-config-next 16.4.3, next-auth 5.0.0-beta.32,
@sentry/nextjs 10.78, vitest 4.1.12 and zod 4.6.7, plus in-range lockfile
updates for transitive packages (proxy-addr, sharp, undici, postcss,
@modelcontextprotocol/sdk, fast-xml-parser and others). Firestore pins
@grpc/grpc-js ~1.9, so an override lifts it to ^1.13.7. Only deepmerge
(low, no fixed release) remains in pnpm audit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
grpc 1.83.1, go-jose 4.1.6, klauspost/compress 1.18.7, moby/go-archive
0.3.0, moby/sys/user 0.4.1 and otel/sdk 1.45.0 (Dependabot), and x/net
0.60.0 and x/text 0.42.0, which govulncheck shows our code calls. x/net
0.60 needs Go 1.26, so go.mod moves to go 1.26.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added area: backend Go REST API area: web Next.js web app area: infra CI/CD, infrastructure, deployment, and DevOps type: chore Cleanup or maintenance tasks labels Oct 30, 2026
@GRACENOBLE
GRACENOBLE merged commit ae1636c into main Oct 30, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: backend Go REST API area: infra CI/CD, infrastructure, deployment, and DevOps area: web Next.js web app type: chore Cleanup or maintenance tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant