Skip to content

chore(deps): bump zod, vitest and undici for security alerts - #721

Merged
kipavy merged 1 commit into
devfrom
chore/deps-security-2026-10-28
Oct 28, 2026
Merged

kipavy merged 1 commit into
devfrom
chore/deps-security-2026-10-28

Conversation

@kipavy

@kipavy kipavy commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Fixes the 5 open Dependabot alerts on the default branch. They close once dev reaches main at the next release.

Alert Package Change Issue
#82, #83 zod (runtime) 4.4.3 → 4.6.6 Memory exhaustion validating oversized constrained collections
#80, #81 @vitest/mocker (dev) vitest ^4.1.11 → ^4.1.12 Mock registration code injection; Windows backslash redirect traversal
#86 undici (dev, via jsdom) 7.30.0 → 7.30.1 DoS via unhandled error on excessive content-encodings

undici is moved in the lockfile only; jsdom already allows ^7.25.0, so no override is added. The lockfile diff is limited to the vitest family, zod and undici (no second @codemirror/state).

Replaces #714 (Dependabot's zod bump, which targets main).

Checked locally: tsc clean; src/plugins + src/mcp suites (all zod tool schemas) pass, 1421 tests.

- zod 4.4.3 -> 4.6.6: memory exhaustion validating oversized
  constrained collections (alerts #82, #83).
- vitest ^4.1.11 -> ^4.1.12, which brings @vitest/mocker 4.1.12: mock
  registration code injection and Windows redirect traversal (#80, #81).
- undici 7.30.0 -> 7.30.1 (lockfile only, via jsdom ^7.25.0): DoS on
  excessive content-encodings (#86).

Lockfile kept minimal: only the vitest family, zod and undici move.
Replaces Dependabot #714, which targets main.
@kipavy
kipavy merged commit baf4f41 into dev Oct 28, 2026
5 checks passed
@kipavy
kipavy deleted the chore/deps-security-2026-10-28 branch October 28, 2026 14:12
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