Skip to content
Merged
Show file tree
Hide file tree
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
34 changes: 10 additions & 24 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,10 @@
},
"devDependencies": {
"solc": "^0.8.34"
},
"overrides": {
"tmp": "^0.2.7",
"follow-redirects": "^1.16.0",
"ws": "^8.21.0"
}
Comment on lines +32 to 36

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

security-high high

The overrides in package.json specify minimum versions that are lower than the secure versions resolved in package-lock.json:

  1. ws: The vulnerability fix is in 8.21.0 (as noted in the PR description), but the override allows ^8.20.1 which could resolve to a vulnerable version.
  2. follow-redirects: The fix is in 1.16.0, but the override allows ^1.15.12.
  3. tmp: The resolved version is 0.2.7, but the override allows ^0.2.6.

To ensure that npm always resolves to the secure, tested versions (even during future dependency updates or lockfile regeneration), please update the overrides to match the minimum secure versions.

Suggested change
"overrides": {
"tmp": "^0.2.6",
"follow-redirects": "^1.15.12",
"ws": "^8.20.1"
}
"overrides": {
"tmp": "^0.2.7",
"follow-redirects": "^1.16.0",
"ws": "^8.21.0"
}

}