Skip to content

Update dependencies to resolve npm audit findings - #99

Merged
dnegstad merged 2 commits into
mainfrom
claude/npm-audit-fixes-lg9fqa
Nov 18, 2026
Merged

dnegstad merged 2 commits into
mainfrom
claude/npm-audit-fixes-lg9fqa

Conversation

@dnegstad

@dnegstad dnegstad commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Requested by David · project thread

Summary

npm audit went from 13 findings (2 high, 11 moderate) to 2 moderate.

  • @azure/msal-node GHSA-xcx6-jx8p-x3h5 (high), now fixed. @azure/identity 4.14.1 depends on @azure/msal-node ^7.1.0, so the lockfile now resolves msal-node 7.2.3. This is the alert that was left open in Bump vitest to resolve vitest/vite security alerts #96.
  • qs GHSA-6pq8-jhm2-2vcw: bumped to 6.17.1 (lockfile only).
  • minimatch GHSA-g3hv-75wg-m249: eslint ^10.15.0 and typescript-eslint ^8.73.0 now pull minimatch 11.0.9.
  • @vscode/vsce ^4.1.1 in both extensions.
  • Test fix, unrelated to the bumps: CI runners are now on Ubuntu 26.04, and its newer OpenSSL prints Subject: CN=localhost where OpenSSL 3.0 printed CN = localhost. That broke an assertion in linuxStore.integration.test.ts. The assertion now accepts both formats.

Still open

@vscode/vsce 4.1.1 (the latest stable) pins minimatch ^10.2.6, and every 10.x minimatch is in the affected range, so the 2 remaining moderate findings are minimatch under vsce. The only fixes are an overrides entry forcing minimatch 11 (a major version) under vsce, or waiting for vsce 4.1.2, which is in prerelease (4.1.2-0) and moves to ^11.0.1. I did not force the override. The npm audit fix --force suggestion to downgrade vsce to 3.9.1 is also not a real fix.

Test plan

Run locally with npm ci under npm 10.9 (lockfile produced with npm 11):

  • npm run lint
  • typecheck for shared, both extensions, and e2e
  • unit tests: ui 294 passed, workspace 113 passed
  • build and vsce package for both extensions
  • build:e2e and check:e2e-load
  • CI green on all jobs

🤖 Generated with Claude Code

https://claude.ai/code/session_01Uyr6RDjTENPMX4MtLJq3Xg

- @azure/identity 4.14.1 now depends on @azure/msal-node ^7.1.0, resolving
  GHSA-xcx6-jx8p-x3h5 (msal-node 7.2.3)
- qs 6.17.1 (GHSA-6pq8-jhm2-2vcw)
- eslint ^10.15.0 and typescript-eslint ^8.73.0 pull minimatch 11.0.9
  (GHSA-g3hv-75wg-m249)
- @vscode/vsce ^4.1.1

Remaining: @vscode/vsce 4.1.1 still pins minimatch ^10.2.6, which has no
patched 10.x release; left open rather than forcing a major override.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uyr6RDjTENPMX4MtLJq3Xg
@dnegstad dnegstad self-assigned this Nov 18, 2026
Ubuntu 26.04 runners ship a newer OpenSSL that prints 'Subject: CN=localhost'
instead of 'CN = localhost', which failed the assertion independent of
the dependency bumps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uyr6RDjTENPMX4MtLJq3Xg
@dnegstad
dnegstad marked this pull request as ready for review November 18, 2026 23:01
@dnegstad
dnegstad merged commit 03de777 into main Nov 18, 2026
9 checks passed
@dnegstad dnegstad mentioned this pull request Nov 19, 2026
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