Conversation
The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746
There was a problem hiding this comment.
Pull request overview
Adds Snyk Protect configuration to patch a reported Lodash vulnerability in the project’s pnpm dependency tree.
Changes:
- Updates
package.jsonto runsnyk-protectduringprepare, adds asnyk-protectscript, enables Snyk, and introduces@snyk/protect. - Adds a new
.snykpolicy file with patches forSNYK-JS-LODASH-567746across multiple dependency paths.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| package.json | Adds Snyk Protect dependency + wiring (prepare, snyk-protect script, snyk: true) to apply vulnerability patches on install. |
| .snyk | Introduces Snyk policy patch entries for Lodash vulnerability remediation in transitive dependencies. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "wagmi": "2.17.5", | ||
| "zod": "3.24.2" | ||
| "zod": "3.24.2", | ||
| "@snyk/protect": "latest" |
There was a problem hiding this comment.
@snyk/protect is set to "latest", which breaks reproducible installs and conflicts with the repo’s save-exact=true setting. Please pin this to an explicit version (and keep it updated via normal dependency bumps) instead of using latest.
| "prepare": "pnpm run snyk-protect && pnpm exec husky", | ||
| "tolgee": "dotenv -e .env -- tolgee", |
There was a problem hiding this comment.
This PR changes package.json (adds @snyk/protect, scripts, and snyk: true) but does not update pnpm-lock.yaml (the repo has one). Please regenerate and commit the updated lockfile so installs/CI pick up the same dependency graph and the new prepare step doesn’t reference missing binaries.
Snyk has created this PR to fix 1 vulnerabilities in the pnpm dependencies of this project.
Snyk changed the following file(s):
package.jsonImportant
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Prototype Pollution