Repository navigation
fix: security - bump zod to 4.6.7 (GHSA-mrhx-c7xc-m3w5) - #258
Merged
Merged
Conversation
Resolve the transitive zod dependency used by docula, writr, and the @ai-sdk packages from 4.5.4 to 4.6.7. Parent ranges already allow it. Co-authored-by: Jared Wray <me@jaredwray.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #258 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 44 44
Lines 1868 1868
Branches 412 412
=========================================
Hits 1868 1868 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Security fix. Lockfile-only dependency bump.
Packages
zod is not a direct dependency.
docula(devDependency) brings it in throughwritr(zod: ^4.4.3) and the@ai-sdk/*/aipeer range (^3.25.76 || ^4.1.8). Those ranges already allow 4.6.7, so this updates the lockfile resolution only. No override.MockHTTP does not parse untrusted input with zod. There is no
zodimport and no zod schema in this repository. The 4.6.6 change checks a declared.max(),.length(), or.size()bound before parsing array, set, and map elements. There are no application schemas to bound.Left unchanged:
minimumReleaseAge(7 days) did not block 4.6.7.Verification
pnpm install --frozen-lockfilepnpm lintpnpm buildpnpm test— 577 passed, 1 skipped, 100% line coverageNo application source changed, so no new tests were added. The existing suite still passes.