Skip to content

fix(deps): bump zod to 4.6.7 for GHSA-mrhx-c7xc-m3w5 (HACK-1394) - #513

Merged
roodboi merged 3 commits into
mainfrom
fix/zod-ghsa-mrhx-hack1394
Oct 27, 2026
Merged

roodboi merged 3 commits into
mainfrom
fix/zod-ghsa-mrhx-hack1394

Conversation

@roodboi

@roodboi roodboi commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

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.


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

Root package.json pinned zod 4.3.5, which is affected by GHSA-mrhx-c7xc-m3w5
(Dependabot alert #59, fixed in 4.6.6). Pin 4.6.7 (latest 4.x) and update bun.lock.
packages/db's ^4.1.12 range dedupes to the same zod@4.6.7.
@linear-code

linear-code Bot commented Oct 27, 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:55:00.560889Z 1537ebf Manual request
🔒 Security Review ⚠️ Failed 2026-10-27T17:53:25.585623Z
We couldn’t complete this review. Comment @codex security review to try again.
1537ebf 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. Delightful!

Reviewed commit: 06897f70c1

ℹ️ 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 commented Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@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. Swish!

Reviewed commit: 22d936f869

ℹ️ 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 commented Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@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. 👍

Reviewed commit: 1537ebf740

ℹ️ 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 75225e0 into main Oct 27, 2026
6 checks passed
@roodboi
roodboi deleted the fix/zod-ghsa-mrhx-hack1394 branch October 27, 2026 17:57
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