Skip to content

fix(deps): override lodash to ^4.18.1 for SNYK-JS-LODASH-15869625 - #1834

Open
Naandalist wants to merge 1 commit into
jsforce:mainfrom
Naandalist:fix/1788-bump-lodash-4.18.1
Open

Naandalist wants to merge 1 commit into
jsforce:mainfrom
Naandalist:fix/1788-bump-lodash-4.18.1

Conversation

@Naandalist

Copy link
Copy Markdown

Closes #1788

Problem

Snyk reports SNYK-JS-LODASH-15869625 (arbitrary code injection) in [email protected], introduced by:

jsforce → [email protected] → [email protected]

Fixed upstream in lodash 4.18.0 / 4.18.1. There is no patched [email protected] release; 8.2.7 is the last CommonJS 8.x line. Bumping to inquirer 12+ would be a breaking ESM change for the jsforce CLI.

Change

Add an npm overrides field so the installed tree resolves to lodash@^4.18.1 without changing the inquirer major.

"overrides": {
  "lodash": "^4.18.1"
}

Copilot AI lite review requested due to automatic review settings September 18, 2026 02:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

This branch has not been deployed

No deployments
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.

[SECURITY] Arbitrary Code Injection in [email protected]

2 participants