Skip to content
This repository was archived by the owner on Aug 5, 2026. It is now read-only.

[CLOV-1903] Fix Dependabot alerts - lodash vulnerable to Code Injection - #4977

Merged
Ezreal Yang (Supremeyh) merged 2 commits into
mainfrom
cl/clov-1903_lodash_vulnerable
Jul 30, 2026
Merged

Ezreal Yang (Supremeyh) merged 2 commits into
mainfrom
cl/clov-1903_lodash_vulnerable

Conversation

@Supremeyh

@Supremeyh Ezreal Yang (Supremeyh) commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

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-connect from ^1.4.3 to ^1.4.9
  • pnpm-lock.yaml — updated lockfile; [email protected] is gone, @figma/code-connect now resolves [email protected] directly
  • pnpm-workspace.yaml — no override needed; unchanged from main

Copilot AI review requested due to automatic review settings July 29, 2026 08:23
@Supremeyh Ezreal Yang (Supremeyh) added the patch Patch production bug label Jul 29, 2026
@skyscanner-backpack-bot

Copy link
Copy Markdown
Contributor

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

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.

Comment thread pnpm-lock.yaml Outdated

overrides:
braces: 3.0.3
lodash: ^4.18.1

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.

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?

@Supremeyh Ezreal Yang (Supremeyh) left a comment •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Re r3673028759: Great suggestion — @figma/[email protected] does ship [email protected] directly (verified via GitHub API), which would make the workspace override unnecessary.

@skyscanner-backpack-bot

Copy link
Copy Markdown
Contributor

@Supremeyh
Ezreal Yang (Supremeyh) merged commit 594b74d into main Jul 30, 2026
17 checks passed
@Supremeyh
Ezreal Yang (Supremeyh) deleted the cl/clov-1903_lodash_vulnerable branch July 30, 2026 09:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

patch Patch production bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants