Skip to content

tools/ide: npm audit clean (minimatch 11 by an override) - #426

Merged
CTalkobt merged 1 commit into
mainfrom
chore/ide-npm-audit
Nov 5, 2026
Merged

CTalkobt merged 1 commit into
mainfrom
chore/ide-npm-audit

Conversation

@CTalkobt

@CTalkobt CTalkobt commented Nov 5, 2026

Copy link
Copy Markdown
Owner

All 10 moderate findings in tools/ide came from one package: minimatch 7.0.0–11.0.0 (GHSA-g3hv-75wg-m249, a denial of service through globparts amplification). It came in through eslint, typescript-eslint, @vscode/vsce and vscode-languageclient. No 10.x release has the fix.

npm audit fix --force would have downgraded ESLint 10 to 9, a breaking change. Instead:

  • "overrides": { "minimatch": "^11.0.1" } in tools/ide/package.json, next to the existing @azure/msal-node override. That resolves to 11.0.4, which has the same CommonJS and ESM exports; its only stated difference is that it needs Node 20 or newer.
  • The lock file is regenerated. With the old lock file, npm didn't apply the override to the workspace packages' own dependencies; a fresh install does. That also updates other development-tool versions within their declared ranges.
  • The dist/ bundles are rebuilt.

Checked: npm audit reports 0 vulnerabilities. npm run build, npm test (30/30), npm run lint and vsce package all pass.

🤖 Generated with Claude Code

All 10 moderate findings were minimatch 7.0.0 - 11.0.0 (GHSA-g3hv-75wg-m249,
DoS via globparts amplification), through eslint, typescript-eslint,
@vscode/vsce and vscode-languageclient; no 10.x release is fixed.
npm audit fix --force would have taken eslint back to 9. Instead:
"overrides": { "minimatch": "^11.0.1" } (11.0.4: the same CommonJS and
ESM exports, Node 20+). The lock file regenerated (the override did not
reach the workspace packages' dependencies with the old one); the
bundles rebuilt.

npm audit: 0 vulnerabilities. npm run build, npm test (30), npm run lint
and vsce package pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@CTalkobt
CTalkobt merged commit 6b75aef into main Nov 5, 2026
13 of 17 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