Skip to content

build(deps): resolve open Dependabot security alerts (npm + Go) - #593

Merged
fforootd merged 5 commits into
mainfrom
claude/security-issues-fixes-082474
Jul 22, 2026
Merged

build(deps): resolve open Dependabot security alerts (npm + Go)#593
fforootd merged 5 commits into
mainfrom
claude/security-issues-fixes-082474

Conversation

@fforootd

@fforootd fforootd commented Jul 22, 2026

Copy link
Copy Markdown
Member

Summary

Resolves the actionable Dependabot alerts without overriding dependency compatibility contracts.

  • Updates DOMPurify, Hono, Sharp, gRPC, and the affected transitive npm dependencies.
  • Uses vulnerable-range-only pnpm overrides with exact safe replacements for @hono/node-server, immutable, and tar.
  • Removes the global Sharp override: the direct workspace dependency is upgraded to sharp@0.35.3, while Next.js 16.2.4 and Fumapress retain their declared compatible sharp@0.34.5 dependency.
  • Regenerates the pnpm lockfile and Go module metadata.

Intentionally constrained

  • The legacy @hono/node-server@1.19.x path remains until its parent dependency accepts the 2.x line.
  • The lockfile retains sharp@0.34.5 for Next.js/Fumapress because Sharp 0.35 is a breaking release and those packages currently declare ^0.34.x.
  • The existing esbuild advisory remains constrained by its current parent dependency.

Validation

  • corepack pnpm install --frozen-lockfile
  • corepack pnpm exec changeset status --since origin/main
  • moon run workspace:check -- --only release

Release notes / changeset

.changeset/security-dependency-bumps.md explicitly records patch releases for both @zitadel/components and @zitadel/server.

Notes

  • Follow-up dependency upgrades can remove each vulnerable-range override once the relevant parent package moves to the safe line.
  • CI is rerunning against the updated PR head.

Bump catalog entries dompurify ^3.4.12, hono ^4.12.31, sharp ^0.35.3
(supersedes dependabot PR #587), add vulnerable-range-scoped pnpm
overrides for transitive fixes (tar, js-yaml, brace-expansion,
immutable, linkify-it, fast-uri, svgo, @hono/node-server 2.x, sharp),
and bump google.golang.org/grpc to v1.82.1.
Copilot AI review requested due to automatic review settings July 22, 2026 12:16
@vercel

vercel Bot commented Jul 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nextgen Ready Ready Preview, Comment Jul 22, 2026 12:46pm
nextgen-docs Ready Ready Preview, Comment Jul 22, 2026 12:46pm
nextgen-mock-zitadel Ready Ready Preview, Comment Jul 22, 2026 12:46pm

Request Review

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

🦋 Changeset detected

Latest commit: 89913da

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 19 packages
Name Type
@zitadel/components Patch
@zitadel/server Patch
@zitadel/sdk-angular Patch
@zitadel/sdk-next Patch
@zitadel/sdk-nuxt Patch
@zitadel/sdk-qwik Patch
@zitadel/sdk-react Patch
@zitadel/sdk-solid Patch
@zitadel/sdk-svelte Patch
@zitadel/sdk-vue Patch
@zitadel/cli Patch
@zitadel/server-linux-x64 Patch
@zitadel/server-linux-arm64 Patch
@zitadel/server-darwin-x64 Patch
@zitadel/server-darwin-arm64 Patch
@zitadel/server-win32-x64 Patch
@zitadel/api Patch
@zitadel/config Patch
@zitadel/sdk-core Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@fforootd fforootd changed the title fix(deps): resolve open Dependabot security alerts (npm + Go) build(deps): resolve open Dependabot security alerts (npm + Go) Jul 22, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates dependency constraints to address the majority of open Dependabot security alerts across the TypeScript (pnpm) workspace and the Go module graph.

Changes:

  • Bumps selected workspace catalog dependencies (dompurify, hono, sharp) in pnpm-workspace.yaml.
  • Adds pnpm overrides in the root package.json to force patched transitive versions for multiple advisories.
  • Updates Go dependencies, including a google.golang.org/grpc bump, with corresponding go.sum updates.

Reviewed changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated 4 comments.

File Description
pnpm-workspace.yaml Catalog bumps for vulnerable direct dependencies (dompurify/hono/sharp).
package.json Adds security-focused pnpm overrides for vulnerable transitive dependency ranges.
go.mod Bumps gRPC and related Go dependencies (and drops an unused direct requirement).
go.sum Updates Go module checksums to match the updated module graph.

Comment thread package.json Outdated
Comment thread package.json Outdated
Comment thread package.json Outdated
Comment thread package.json Outdated
@fforootd
fforootd enabled auto-merge (squash) July 22, 2026 12:51
@fforootd
fforootd merged commit 6394228 into main Jul 22, 2026
14 checks passed
@fforootd
fforootd deleted the claude/security-issues-fixes-082474 branch July 22, 2026 12:52
@github-project-automation github-project-automation Bot moved this from Inbox to Done in Engineering Kanban Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants