Skip to content

fix: refresh vulnerable dependency overrides and force vite off 8.0.10 - #231

Merged
louisdussarps merged 1 commit into
mainfrom
fix/secu
Jul 9, 2026
Merged

fix: refresh vulnerable dependency overrides and force vite off 8.0.10#231
louisdussarps merged 1 commit into
mainfrom
fix/secu

Conversation

@louisdussarps

@louisdussarps louisdussarps commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Change description

Security hardening of the dependency graph.

  • Refreshed the pnpm.overrides security block in the root package.json:
    • vite override range moved to >=8.0.0 <=8.0.15>=8.0.16
    • qs>=6.15.2, brace-expansion>=5.0.6
    • added ws@>=8.0.0 <8.20.1>=8.20.1 and @grpc/grpc-js@>=1.14.0 <1.14.4>=1.14.4
  • Added an explicit "vite": "^8.0.16" devDependency to packages/eslint-plugin (and bumped vitest to ^4.1.10).

Why the extra devDependency was needed: vite was present only as an auto-installed peer of vitest/@vitest/mocker, so the overrides entry alone did not re-resolve it — the lockfile stayed pinned to the vulnerable vite@8.0.10. Declaring vite as a direct dependency creates a real edge that auto-install-peers resolves, forcing it to 8.1.4. No 8.0.10 remains in pnpm-lock.yaml.

Type of change

  • Bug fix (fixes an issue)
  • New feature (adds functionality)

Related issues

npm-@grpc/grpc-js >= 1.14.0, < 1.14.4/CVE-2026-48069
npm-@grpc/grpc-js >= 1.14.0, < 1.14.4/CVE-2026-48068
npm-@grpc/grpc-js >= 1.14.0, < 1.14.4/CVE-2026-48068
npm-@grpc/grpc-js >= 1.14.0, < 1.14.4/CVE-2026-48069

Checklists

Development

  • Lint rules pass locally
  • Application changes have been tested thoroughly
  • Automated tests covering modified code pass

Security

  • Security impact of change has been considered
  • Code follows company security practices and guidelines

Code review

  • Pull request has a descriptive title and context useful to a reviewer. Screenshots or screencasts are attached as necessary
  • reviewers assigned

🤖 Generated with Claude Code

Bump the pnpm.overrides security block (qs, brace-expansion, vite range,
add ws and @grpc/grpc-js) and add an explicit vite ^8.0.16 devDependency
to the eslint-plugin package. vite was only an auto-installed peer of
vitest, so the override alone did not re-resolve it; the direct edge
forces it off the vulnerable 8.0.10 (now 8.1.4).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@louisdussarps
louisdussarps merged commit 140dac6 into main Jul 9, 2026
3 checks passed
@louisdussarps
louisdussarps deleted the fix/secu branch July 9, 2026 09:15
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