Skip to content

fix(deps): address Zod and Vitest security advisories - #548

Merged
jsgrrchg merged 2 commits into
mainfrom
fix/security-dependency-updates
Oct 26, 2026
Merged

jsgrrchg merged 2 commits into
mainfrom
fix/security-dependency-updates

Conversation

@jsgrrchg

Copy link
Copy Markdown
Owner

Summary

  • Override Zod to 4.6.6 in the bundled Pi runtime adapter to fix GHSA-mrhx-c7xc-m3w5 (memory exhaustion on oversized collections), since upstream pi-acp has not yet released a fix.
  • Bump vitest to 4.1.12 in desktop and web-clipper, pulling in @vitest/mocker 4.1.12, to fix GHSA-xp26-3454-mjgp (Windows path traversal) and GHSA-qxg6-89mg-rqv8 (mock-based code injection).

Test plan

  • node --test scripts/pi-runtime.test.mjs passes with the Zod override, including the oversized-collection and malformed-request cases.
  • npm audit shows zero vulnerabilities for the Pi runtime after the override.
  • npm ci / pnpm install --frozen-lockfile succeed with the regenerated lockfiles.
  • npx tsc -b and the existing desktop/web-clipper test suites pass with vitest 4.1.12.

@jsgrrchg
jsgrrchg merged commit 1cce2ed into main Oct 26, 2026
20 of 21 checks passed
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