Skip to content

fix(security): remediate dependency vulnerabilities via upgrades and overrides#71

Open
Shriram96 wants to merge 2 commits intoexcalidraw:mainfrom
Shriram96:fix/security-dependency-audit-remediation
Open

fix(security): remediate dependency vulnerabilities via upgrades and overrides#71
Shriram96 wants to merge 2 commits intoexcalidraw:mainfrom
Shriram96:fix/security-dependency-audit-remediation

Conversation

@Shriram96
Copy link
Copy Markdown

Summary

  • updates security-sensitive direct dependencies to patched versions
  • adds targeted pnpm.overrides to force patched transitive resolutions where upstream ranges lag
  • refreshes lockfile to capture the remediated dependency graph

Changes

  • upgraded direct dependencies:
    • @modelcontextprotocol/sdk -> 1.29.0
    • mcp-handler -> 1.1.0
    • @excalidraw/excalidraw -> ^0.18.1
    • express -> ^5.2.1
    • vite -> ^6.4.2
  • added/updated pnpm.overrides for vulnerable transitive packages (path-to-regexp, lodash-es, nanoid, uuid)
  • updated pnpm-lock.yaml with patched transitive versions

Verification

  • pnpm audit -> No known vulnerabilities found
  • pnpm run build -> successful (BUILD_OK)

No functional code-path changes were introduced; this is a dependency security remediation only.

Copilot AI review requested due to automatic review settings May 2, 2026 06:36
@vercel
Copy link
Copy Markdown

vercel Bot commented May 2, 2026

@Shriram96 is attempting to deploy a commit to the Excalidraw Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR focuses on dependency-security remediation by upgrading direct dependencies, forcing patched transitive resolutions via pnpm.overrides, and refreshing the pnpm lockfile to reflect the remediated graph.

Changes:

  • Upgraded direct dependencies (notably @modelcontextprotocol/sdk, mcp-handler, @excalidraw/excalidraw, express, vite)
  • Added pnpm.overrides to force patched transitive versions (path-to-regexp, lodash-es, nanoid, uuid)
  • Regenerated pnpm-lock.yaml to capture updated resolutions

Reviewed changes

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

File Description
package.json Bumps direct dependency versions and adds pnpm.overrides configuration for vulnerable transitive deps.
pnpm-lock.yaml Reflects the upgraded dependency graph plus override-enforced transitive resolutions.

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

Comment thread pnpm-lock.yaml
Comment thread package.json Outdated
Comment thread package.json Outdated
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