Repository navigation
[CLOV-1903] Fix Dependabot alerts - lodash vulnerable to Code Injection - #4977
Conversation
|
Visit https://backpack.github.io/storybook-prs/4977 to see this build running in a browser. |
There was a problem hiding this comment.
Pull request overview
Note
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
This PR aims to address Dependabot security alerts related to lodash by forcing an updated lodash version via pnpm overrides.
Changes:
- Added a pnpm override to pin/force lodash to a newer version in the workspace.
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| overrides: | ||
| braces: 3.0.3 | ||
| lodash: ^4.18.1 |
There was a problem hiding this comment.
Would it be worth considering updating @figma/code-connect to 1.4.9 instead? That version already depends on [email protected], and our existing ^1.4.3 range should allow the upgrade. This might let us address the vulnerability without adding another workspace-wide override. What do you think?
There was a problem hiding this comment.
Re r3673028759: Great suggestion — @figma/[email protected] does ship [email protected] directly (verified via GitHub API), which would make the workspace override unnecessary.
|
Visit https://backpack.github.io/storybook-prs/4977 to see this build running in a browser. |
What
Addresses Dependabot alert #562 — lodash CVE-2026-4800 (GHSA-r5fr-rjxr-66jc).
@figma/[email protected]ships[email protected]natively, resolving the vulnerability without a workspace override.Changes
package.json— bumped@figma/code-connectfrom^1.4.3to^1.4.9pnpm-lock.yaml— updated lockfile;[email protected]is gone,@figma/code-connectnow resolves[email protected]directlypnpm-workspace.yaml— no override needed; unchanged from main