Skip to content

[Snyk] Security upgrade node-gyp from 8.4.1 to 11.0.0 - #328

Open
codecakes wants to merge 1 commit into
developfrom
snyk-fix-9544308c823fcfc9d56a423c263f8292
Open

codecakes wants to merge 1 commit into
developfrom
snyk-fix-9544308c823fcfc9d56a423c263f8292

Conversation

@codecakes

@codecakes codecakes commented Jan 30, 2026 •

Copy link
Copy Markdown
Contributor

snyk-top-banner

Snyk has created this PR to fix 2 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • package.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Directory Traversal
SNYK-JS-TAR-15032660
  693  
medium severity Directory Traversal
SNYK-JS-TAR-15127355
  596  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

🦉 Directory Traversal


This change is Reviewable

Copilot AI review requested due to automatic review settings January 30, 2026 15:02

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.

Pull request overview

Updates node-gyp to remediate Snyk-reported tar directory traversal vulnerabilities in the project’s npm dependency tree.

Changes:

  • Bump node-gyp from ^8.4.1 to ^11.0.0 in package.json.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json
"@types/react-router-dom": "^5.1.5",
"eslint-plugin-jsx-a11y": "^6.3.1",
"node-gyp": "^8.4.1",
"node-gyp": "^11.0.0",

Copilot AI Jan 30, 2026

Copy link

Choose a reason for hiding this comment

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

Upgrading to node-gyp ^11.0.0 is a major-version jump (Snyk flags this PR as a breaking change). This repo currently pins Node 14.11.0 in Dockerfile and the GitHub Actions matrix runs Node 10/12/14; please verify node-gyp 11 supports the project’s supported Node versions. If not, either (a) bump the supported Node versions (and update CI/Dockerfile/docs accordingly) or (b) choose a node-gyp version that still remediates the tar vuln while remaining compatible.

Copilot uses AI. Check for mistakes.
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.

3 participants