Skip to content

Replace deprecated vsce to remediate linkify-it vulnerability - #2707

Merged
jainakanksha-msft merged 1 commit into
mainfrom
akkuLinkyVulFix
Aug 5, 2026
Merged

Replace deprecated vsce to remediate linkify-it vulnerability#2707
jainakanksha-msft merged 1 commit into
mainfrom
akkuLinkyVulFix

Conversation

@jainakanksha-msft

Copy link
Copy Markdown
Member

Summary

  • replace the deprecated vsce development dependency with @vscode/vsce 3.9.2
  • update the VS Code packaging dependency graph to resolve linkify-it 5.0.2
  • remediate GHSA-v245-v573-v5vm / CVE-2026-59887 without forcing an unsupported transitive override
  • document the security update in the changelog

Validation

  • npm run test:package-scripts
  • npm explain linkify-it resolves @vscode/vsce@3.9.2 -> markdown-it@14.3.0 -> linkify-it@5.0.2
  • npm audit reports no linkify-it finding
  • npm run vscode:pack -- --out /tmp/azurite-linkify-validation.vsix

Copilot AI lite review requested due to automatic review settings August 5, 2026 10:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the VS Code extension packaging toolchain by replacing the deprecated vsce dependency with @vscode/vsce, primarily to pull in a non-vulnerable linkify-it version and remediate the referenced GHSA/CVE without relying on transitive overrides.

Changes:

  • Replace deprecated vsce devDependency with @vscode/vsce ^3.9.2.
  • Refresh package-lock.json to reflect the new dependency graph, including markdown-it@14.3.0linkify-it@5.0.2.
  • Document the security/tooling update in ChangeLog.md.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
package.json Swaps vsce for @vscode/vsce in devDependencies while keeping vsce CLI scripts intact.
package-lock.json Updates resolved dependency tree to include @vscode/vsce@3.9.2 and linkify-it@5.0.2, removing older vsce-derived packages.
ChangeLog.md Adds a changelog entry describing the dependency migration and security remediation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jainakanksha-msft
jainakanksha-msft merged commit b0c1ef0 into main Aug 5, 2026
45 checks passed
@jainakanksha-msft
jainakanksha-msft deleted the akkuLinkyVulFix branch August 5, 2026 10:42
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