[P2] VS Code extension dependency audit reports three moderate advisories

Open
#3,479 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
csharp, node.js, vscode
Domain
devtools, security

Research direction

Start with the lockfile in extensions/vscode-sharpts and reproduce the report using npm ci --prefix extensions/vscode-sharpts followed by npm audit --prefix extensions/vscode-sharpts --json. Review supported dependency versions and compatibility for @vscode/vsce and vscode-languageclient; the issue calls out extension tests, packaging, production dependencies, LSP, and both debugger profiles as verification points. Done means the locked tree addresses the three advisories and those checks pass.

Written by the indexing model from the issue text.

Description

bug priority: P2

The existing VS Code extension lockfile reports seven moderate affected-package findings after a clean locked dependency install. The findings correspond to three distinct advisories; no high/critical findings were reported.

Reproduce:

npm ci --prefix extensions/vscode-sharpts
npm audit --prefix extensions/vscode-sharpts --json

Affected package names: @azure/identity, @azure/msal-node, @vscode/vsce, glob, minimatch, uuid, vscode-languageclient. The direct dependencies are @vscode/vsce 3.9.2 and vscode-languageclient 9.x.

Advisories:

The audit recommends a major vsce upgrade and, for languageclient, a major downgrade. These suggestions require API/toolchain compatibility review; do not blindly run npm audit fix --force or override minimatch across incompatible export shapes. Update the locked tree through supported versions and verify extension tests, packaging, production dependency contents, LSP and both debugger profiles. This report establishes affected versions from npm's current advisory database, not a demonstrated SharpTS exploit.

Found during P3 debugger packaging verification. The unchanged locked install and full audit JSON are retained at artifacts/p3-work/extension-{npm-compact-path.log,audit.json} in the P3 worktree. Searches across all issue states for the extension audit/minimatch advisory found no focused duplicate.

Dominant language
C#
Stars
156
Forks
4
Avg merge
14h 45m
Merged PRs (30d)
40

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nickna/SharpTS

All issues in nickna/SharpTS

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.