Skip to content

build(deps): resolve open Dependabot security alerts - #636

Merged
fforootd merged 2 commits into
mainfrom
claude/dependabot-security-alerts-19eb76
Jul 27, 2026
Merged

build(deps): resolve open Dependabot security alerts#636
fforootd merged 2 commits into
mainfrom
claude/dependabot-security-alerts-19eb76

Conversation

@fforootd

Copy link
Copy Markdown
Member

Summary

Clears every open Dependabot security alert on zitadel/nextgen (11 at time of writing) and folds in the one open Dependabot dependency PR, #616, so this can land as a single change.

Alerts Package Change Advisory
#172#180 (4 high, 5 moderate) next 16.2.416.2.12 in apps/demo-next + packages/sdk-next patched in 16.2.11
#159 (moderate) @hono/node-server 1.19.141.19.17 via root pnpm.overrides GHSA-frvp-7c67-39w9
#71 (low) esbuild 0.27.70.28.1 via root pnpm.overrides GHSA-g7r4-m6w7-qqqr

Notes on the two transitive ones:

  • @hono/node-server — reached via @fumapress/ai@modelcontextprotocol/sdk (docs tooling only; the advisory is a Windows-only serve-static path traversal). The GHSA records 2.0.5 as the first patched release, but upstream backported the same serve-static guard to the 1.x line in 1.19.15 — so this pins ^1.19.17 rather than forcing a cross-major bump on a transitive we do not control. The existing >=2.0.0 <2.0.10 override is untouched.
  • esbuild — reached via orval, tsup, tsx and vite@7. vite@8 already resolved 0.28.1, so forcing ^0.28.1 mostly just dedupes the tree (net ~360 fewer lockfile lines, 26 platform packages dropped).

Validation

  • pnpm install
  • pnpm check --only node — pass (moon ci :lint :typecheck :build :test)
  • pnpm exec moon run demo-next:build sdk-next:build sdk-next:test --force — pass, to confirm the next bump and the forced esbuild version specifically
  • Lockfile audited by hand: no next@16.2.4, no @hono/node-server@1.19.14, no esbuild@0.27.7 remain

Release notes / changeset

No changeset required — no shipped behavior changed. The next bumps are a devDependency in packages/sdk-next (peer range stays >=14) and a dependency of the non-published apps/demo-next; the overrides only affect dev/build tooling.

Notes

Covers every open Dependabot alert on the repo, and supersedes the open
Dependabot PR #616.

- next 16.2.4 -> 16.2.12 in apps/demo-next and packages/sdk-next
  (alerts #172-#180, patched in 16.2.11). This is what #616 did.
- @hono/node-server 1.19.14 -> 1.19.17 via override (alert #159,
  GHSA-frvp-7c67-39w9). Pulled in transitively by
  @modelcontextprotocol/sdk <- @fumapress/ai. The advisory records
  2.0.5 as the first patched release, but the fix was backported to the
  1.x line in 1.19.15, so we stay on 1.x instead of forcing a major on
  a transitive we do not control.
- esbuild 0.27.7 -> 0.28.1 via override (alert #71,
  GHSA-g7r4-m6w7-qqqr). Reached through orval, tsup, tsx and vite 7;
  vite 8 already resolved 0.28.1, so this only dedupes the tree.
Copilot AI review requested due to automatic review settings July 27, 2026 07:29
@vercel

vercel Bot commented Jul 27, 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 27, 2026 8:32am
nextgen-docs Ready Ready Preview, Comment Jul 27, 2026 8:32am
nextgen-mock-zitadel Ready Ready Preview, Comment Jul 27, 2026 8:32am

Request Review

@github-actions

github-actions Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

⚠️ No Changeset found

Latest commit: adde3d6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

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

Resolves outstanding Dependabot security alerts by bumping vulnerable dependency versions (direct and transitive) and updating the workspace lockfile accordingly.

Changes:

  • Bump next to ^16.2.11 (resolving to 16.2.12 in the lockfile) for apps/demo-next and as a devDependency for packages/sdk-next.
  • Add pnpm.overrides pins for @hono/node-server (^1.19.17 for the affected 1.x range) and esbuild (^0.28.1 for the affected range).
  • Update pnpm-lock.yaml to reflect the new resolved versions and deduping.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
package.json Adds pnpm.overrides entries to force patched @hono/node-server and esbuild versions.
apps/demo-next/package.json Updates next dependency range to pick up patched releases.
packages/sdk-next/package.json Updates next devDependency range used for SDK development/build/test.
pnpm-lock.yaml Lockfile refresh reflecting updated next, @hono/node-server, esbuild, and related transitive resolution changes.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

"eslint-plugin-testing-library": "^7.0.0",
"jsdom": "catalog:",
"next": "^16.2.4",
"next": "^16.2.11",
@fforootd
fforootd enabled auto-merge (squash) July 27, 2026 08:32
@fforootd
fforootd merged commit 1c2992c into main Jul 27, 2026
14 checks passed
@fforootd
fforootd deleted the claude/dependabot-security-alerts-19eb76 branch July 27, 2026 08:42
@github-project-automation github-project-automation Bot moved this from Inbox to Done in Engineering Kanban Jul 27, 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.

3 participants