Skip to content

fix(deps): security bumps for next, MCP SDK, drizzle-orm (HACK-1394) - #456

Merged
roodboi merged 2 commits into
mainfrom
fix/security-bumps-hack1394
Oct 27, 2026
Merged

roodboi merged 2 commits into
mainfrom
fix/security-bumps-hack1394

Conversation

@roodboi

@roodboi roodboi commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Updates three direct dependencies to patched releases for HACK-1394. These versions cover the 26 currently open Dependabot alerts listed below. Both Bun lockfiles are updated; no application code or tests change.

Versions and alerts

next: 16.2.6 → 16.4.1

Manifest: examples/next-app/package.json.

@modelcontextprotocol/sdk: 1.26.0 → 1.32.0

Manifest: package.json.

  • Alert 54 — GHSA-46jr-4wx8-v453: MCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validation
  • Alert 53 — GHSA-rvq5-wwqv-78pq: MCP TypeScript SDK: Server bearer authentication accepted tokens issued for another service
  • Alert 52 — GHSA-6prh-2h8m-c8cw: MCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodies
  • Alert 51 — GHSA-22jm-h49p-29qw: MCP TypeScript SDK: Experimental tasks were not tied to the session that created them
  • Alert 46 — GHSA-6qxp-vccf-f47h: MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server

drizzle-orm: ^0.44.5 (locked 0.44.7) → 0.45.2

Manifest: packages/db/package.json.

Next 16.4.1 and MCP SDK 1.32.0 are the first patched versions for the newest listed advisories and also cover the older alerts. Drizzle ORM 0.45.2 is the first patched version for its identifier-escaping advisory; it is pinned explicitly.

Validation

  • Both projects: frozen installs and lockfile-only regeneration with Bun 1.3.9; regeneration leaves the committed lockfiles unchanged.
  • Fresh full test gate with Bun 1.3.9, including Turbo child commands: CLI 956 passed, 5 skipped, 0 failed; database 2 passed.
  • Fresh typecheck, quality/privacy checks, and CLI build passed. Built CLI reports 4.2.2.
  • Next example production build with webpack passed, including TypeScript, page-data collection, and static generation. The default Turbopack build is unverified because worker port binding was denied by the execution environment. A diagnostic run forcing Next itself onto Bun hit a Bun CommonJS-wrapper error; the passing build uses Next's normal Node runtime, launched with Bun 1.3.9.
  • The prior 5-second timeout in restart --json preserves E_USAGE for a detached linked worktree did not recur in full branch runs on Bun 1.3.5 or 1.3.9. On an isolated origin/main snapshot at 08e0412a, the unchanged lifecycle tests passed five repetitions on each runtime (45 tests per runtime). The full origin/main suite on Bun 1.3.5 also passed (956 passed, 5 skipped, 0 failed). The timeout could not be reproduced on main, so its pre-existing status is not confirmed; branch reruns establish that the earlier failure was intermittent.
  • No tests or timeouts were weakened. Hosted CI results remain pending.

Release signal: fix(deps) (patch). No database migration or merge is included.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@linear-code

linear-code Bot commented Oct 23, 2026

Copy link
Copy Markdown

HACK-1394

@roodboi

roodboi commented Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-27T17:06:29.964231Z 2f10820 Manual request
🔒 Security Review ⚠️ Failed 2026-10-27T17:05:02.940742Z
We couldn’t complete this review. Comment @codex security review to try again.
2f10820 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

This security review couldn’t start because the paying account has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Breezy!

Reviewed commit: 2f1082078d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@roodboi
roodboi merged commit 739c4e5 into main Oct 27, 2026
6 checks passed
@roodboi
roodboi deleted the fix/security-bumps-hack1394 branch October 27, 2026 17:45
roodboi pushed a commit that referenced this pull request Oct 27, 2026
## [4.2.3](v4.2.2...v4.2.3) (2026-10-27)

### Bug Fixes

* **deps:** security bumps for next, MCP SDK, drizzle-orm (HACK-1394) ([#456](#456)) ([739c4e5](739c4e5))
roodboi added a commit that referenced this pull request Oct 27, 2026
Fixes Dependabot alert #59 (GHSA-mrhx-c7xc-m3w5, high: "Zod can exhaust
memory while validating oversized constrained collections"; affected <
4.6.6, patched 4.6.6). Part of HACK-1394.

## Change
- Root `package.json`: `zod` 4.3.5 → 4.6.7 (latest 4.x; exact pin kept,
matching repo style).
- `bun.lock`: root dependency line and the single hoisted `zod` entry
move to 4.6.7. `packages/db` (`^4.1.12`) dedupes to the same version.
The zod 3.x copies under `@jimp/*` are untouched (not in the affected
range).

## Validation
- Lockfile regenerated with `bun install --lockfile-only
--ignore-scripts` on Bun 1.4.4 (the repo's pinned version); `bun install
--frozen-lockfile --lockfile-only` then passes. Unrelated
workspace-version drift that Bun also wrote into the lockfile was left
out so the diff stays minimal.
- No local test run; relying on CI for the full gate.

Kept separate from #456 so that PR's head stays stable. Not merged;
merges go through Dimitri.

<!-- codesmith:footer -->
---
<a
href="https://app.blacksmith.sh/hack-dance/codesmith/hack/pr/513?autoLogin=true&ref=codesmith_pr_footer"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-light-v3.svg"><img
alt="View with [code]smith"
src="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3-3x.png"
width="162" height="28"></picture></a> <a
href="https://backend.blacksmith.sh/track/enable-autofix?expires=1795713114&installation_model_id=17053&pr_number=513&ref=codesmith_pr_footer&repository=hack-dance%2Fhack&return_to=https%3A%2F%2Fgithub.com%2Fhack-dance%2Fhack%2Fpull%2F513&signature=b9966d79394461d8c0aea775fa40fe863488c0f166054cdece7651fe73a944a5"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-light.svg"><img
alt="Autofix with [code]smith"
src="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png"
width="190" height="28"></picture></a>
<sup>Need help on this PR? Tag <code>@codesmith-bot</code> with what you
need.</sup>

<!-- codesmith:autofix:disabled -->
<!-- /codesmith:footer -->
roodboi pushed a commit that referenced this pull request Oct 27, 2026
## [4.2.4](v4.2.3...v4.2.4) (2026-10-27)

### Bug Fixes

* **deps:** bump zod to 4.6.7 for GHSA-mrhx-c7xc-m3w5 (HACK-1394) ([#513](#513)) ([75225e0](75225e0)), closes [#59](#59) [#456](#456)
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