Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ patch:
patched: '2025-05-01T15:35:55.372Z'
id: SNYK-JS-LODASH-567746
path: ethlint > lodash
- truffle > ganache > async-eventemitter > async > lodash:
patched: '2025-11-28T19:58:41.676Z'
id: SNYK-JS-LODASH-567746
path: truffle > ganache > async-eventemitter > async > lodash
Comment on lines +15 to +18
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

While this patch addresses the immediate vulnerability (SNYK-JS-LODASH-567746), it's a temporary solution. A more robust, long-term fix would be to ensure no vulnerable versions of lodash are present in your dependency tree.

My analysis of the provided yarn.lock file suggests that lodash is resolved to version 4.17.15, which is not vulnerable. However, Snyk's scanner has detected a vulnerable path, and the PR description indicates a failure to update yarn.lock. This could mean the yarn.lock file in your branch is out of sync.

I recommend taking the following steps:

  1. Run yarn locally to regenerate yarn.lock. This should provide a consistent state for your dependencies.
  2. After regenerating the lockfile, run snyk test again to verify if the vulnerability is still present.
  3. If the vulnerability persists, consider upgrading parent packages like truffle to their latest stable versions to pull in a non-vulnerable version of lodash.

This approach is preferable to patching, as it avoids reliance on snyk protect and ensures your project uses up-to-date dependencies.

Loading