Skip to content

fix: override vulnerable zod, glob and minimatch in dev tooling - #489

Merged
pjeweb merged 1 commit into
mainfrom
fix/audit-overrides-zod-glob-minimatch
Nov 20, 2026
Merged

pjeweb merged 1 commit into
mainfrom
fix/audit-overrides-zod-glob-minimatch

Conversation

@pjeweb

@pjeweb pjeweb commented Nov 20, 2026

Copy link
Copy Markdown
Member

Resolves the open Dependabot alerts for zod (GHSA-mrhx-c7xc-m3w5, high), glob (GHSA-3g3m-2fjr-6pw4) and minimatch (GHSA-g3hv-75wg-m249).

All three reach the workspace only through development tooling:

  • zod 3.25 via openapi-zod-client / @zodios/core (codegen for @mapsight/count-aggregator-api). The generator only imports zod for types; regenerating the client with zod 4.6.7 yields byte-identical output. No zod 3.x fix exists, so the existing zod@>=4.0.0 <4.6.6 floor is widened to zod@<4.6.6.
  • glob 13 via cpx2 and replace-in-file, which only use glob / globSync. Both were exercised (cpx copy in lib-redux, vector-style-compiler update-readme).
  • minimatch 9/10 via @trivago/prettier-plugin-sort-imports and ESLint's @eslint/config-array; both use the named minimatch / Minimatch exports.

No published package changes, so no changeset.

pnpm audit: before 1 high + 2 moderate, after none.

Dependabot and pnpm audit flag zod 3.25 (GHSA-mrhx-c7xc-m3w5), glob 13
(GHSA-3g3m-2fjr-6pw4) and minimatch 9/10 (GHSA-g3hv-75wg-m249). All three
only reach the workspace through development tooling:

- zod 3 via openapi-zod-client/@zodios/core, which only uses it for types.
  Regenerating the count-aggregator client produces identical output with
  zod 4.6.7.
- glob 13 via cpx2 and replace-in-file, which only call glob/globSync.
- minimatch 9/10 via the Prettier import-sort plugin and ESLint config-array.

Widen the existing zod floor to all versions below 4.6.6 and add floors
for glob and minimatch. pnpm audit reports no remaining advisories.
@changeset-bot

changeset-bot Bot commented Nov 20, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: b2c0b8f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
github-actions Bot temporarily deployed to preview/pr-489 November 20, 2026 12:25 Destroyed
@pjeweb
pjeweb merged commit ade0ec7 into main Nov 20, 2026
23 checks passed
@pjeweb
pjeweb deleted the fix/audit-overrides-zod-glob-minimatch branch November 20, 2026 12:31
@pjeweb
pjeweb deployed to showcase-previews November 20, 2026 12:31 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
showcase-previews — b2c0b8f7 Deployed Nov 20, 2026 by pjeweb via publish #514
preview/pr-489 — b2c0b8f7 Deployed Nov 20, 2026 by github-actions[bot]
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