Repository navigation
fix(deps): bump zod to 4.6.7 in the vite and nextjs sandboxes - #264
Merged
Merged
Conversation
Aikido issue group 28547249 (zod, high) still reports hub because dev/vite and dev/nextjs lock zod 4.3.6. The published package already resolves 4.6.7. Raise the range floor to ^4.6.6 to match the rsbuild and vite-react19 sandboxes. Refs SEC-399 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Guillaume Lebedel <10488548+glebedel@users.noreply.github.com>
There was a problem hiding this comment.
No issues found across 4 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Auto-approved: Bumps zod in the vite and nextjs dev sandboxes from 4.3.6 to 4.6.7, updating the declared range and lockfiles; no published or deployed code changes, so the change is bounded and clearly beneficial.
View guided diff | Turn on auto-fix | Re-trigger cubic
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.
Why
Aikido issue group 28547249 (zod, high, score 82) still lists
hub. The published@stackone/hubpackage already resolves zod 4.6.7 (#238), but two dev sandboxes still lock zod 4.3.6, below the fixed 4.6.6. The advisory covers excessive memory use when validating oversized collections. The sandboxes are local dev apps, not published or deployed, so runtime exposure is nil; the bump clears the last vulnerable copies in the repo. Tracked in SEC-399.Zero Wire: https://radar.cloudflare.com/zero-wire/cves/CVE-2023-54404 (MITRE lists this CVE as rejected; Aikido still reports its own intel ids for the group)
What changed
dev/viteanddev/nextjs: zod range^4.1.12to^4.6.6, matchingdev/rsbuildanddev/vite-react19node_modules/zod4.3.6 to 4.6.7 (same resolved URL and sha512 as the root lockfile)^4.1.12left alone: raising a peer floor is a consumer-facing change and does not affect this findingProof
Lockfile line before:
"version": "4.3.6", "resolved": ".../zod-4.3.6.tgz"; after:"version": "4.6.7", "resolved": ".../zod-4.6.7.tgz".npm ci, build, verify:build, lintnpm ci+vite buildnpm ci+next buildGET /Reviews: Codex review (no bugs), Codex adversarial review (no actionable findings, integrity matches the npm registry), independent Opus review (approve). Forge and eng-review were not run: no source code in the diff.
Risk and rollback
Dev sandboxes only; nothing published or deployed changes. Rollback is a revert of this commit.
What we will watch after deploy
Nothing ships, so no Datadog query applies. After merge, the Aikido rescan should drop
hubfrom group 28547249.Opened by Security Autopilot (s2d2) for Guillaume Lebedel from Aikido issue 28547249, under the automatic Aikido fix approval of 2026-11-01.
🤖 Generated with Claude Code
Summary by cubic
Fixes the zod security finding in the vite and nextjs dev sandboxes by bumping zod from 4.3.6 to 4.6.7, the version
@stackone/hubalready publishes and resolves.Written for commit 7fe3e89. Summary will update on new commits.