Skip to content

fix(deps): bump zod to 4.6.6+ and body-parser to 2.4.0 - #173

Open
telivity-otaip wants to merge 2 commits into
mainfrom
cursor/fix-zod-body-parser-audit-3134
Open

telivity-otaip wants to merge 2 commits into
mainfrom
cursor/fix-zod-body-parser-audit-3134

Conversation

@telivity-otaip

@telivity-otaip telivity-otaip commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Bumps zod from ^4.3.6 to ^4.6.6 across packages (lock resolves to 4.6.7) to clear GHSA-mrhx-c7xc-m3w5.
  • Raises the body-parser pnpm override from >=2.3.0 to >=2.4.0 so pnpm audit --audit-level=high passes.
  • Regenerates agents.manifest.json — Zod 4.6 emits nullable JSON Schema as type: [T, "null"] instead of anyOf unions.

Why

Dependabot #172 only bumped zod and stayed CI-blocked on the body-parser high advisory. That PR is closed; this supersedes it with both security fixes plus the manifest refresh CI requires.

Test plan

  • pnpm audit --audit-level=high exits 0 (only low/moderate remain)
  • pnpm gen:manifest --check passes after rebuild
  • CI green on this PR
Open in Web Open in Cursor 

Clears the high-severity zod collection DoS advisory (GHSA-mrhx-c7xc-m3w5)
and raises the body-parser override past 2.4.0 so pnpm audit --audit-level=high
passes. Supersedes Dependabot #172, which only bumped zod and stayed blocked
on the body-parser alert.

Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
Zod 4.6 emits nullable JSON Schema as type: [T, "null"] instead of
anyOf unions. Refresh the committed manifest so gen:manifest --check
passes after the zod bump.

Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
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.

2 participants