Skip to content

[Snyk] Security upgrade axios from 0.24.0 to 1.13.5#114

Open
TimCrooker wants to merge 1 commit intomasterfrom
snyk-fix-37019a15ce0302a94091c4e74bee03c6
Open

[Snyk] Security upgrade axios from 0.24.0 to 1.13.5#114
TimCrooker wants to merge 1 commit intomasterfrom
snyk-fix-37019a15ce0302a94091c4e74bee03c6

Conversation

@TimCrooker
Copy link
Copy Markdown
Owner

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.

Snyk changed the following file(s):

  • packages/env/package.json

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠️ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Prototype Pollution
SNYK-JS-AXIOS-15252993
  828  

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:

🦉 Prototype Pollution

Copilot AI review requested due to automatic review settings February 15, 2026 15:30
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR attempts to upgrade axios from version 0.24.0 to 1.13.5 to fix a high-severity prototype pollution vulnerability (SNYK-JS-AXIOS-15252993) in the gritenv package. However, the PR has several critical issues that prevent it from successfully addressing the security vulnerability.

Changes:

  • Updates axios dependency from ^0.24.0 to ^1.13.5 in packages/env/package.json

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

},
"dependencies": {
"axios": "^0.24.0",
"axios": "^1.13.5",
Copy link

Copilot AI Feb 15, 2026

Choose a reason for hiding this comment

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

This security upgrade is incomplete. The monorepo has multiple packages that depend on axios 0.24.0, including packages/cli and packages/youtill. Both of these packages need to be upgraded to the same axios version to fix the security vulnerability consistently across the codebase. Additionally, packages/cli depends on gritenv (this package), which will create a dependency conflict: cli will require both axios@^0.24.0 (its direct dependency) and axios@^1.13.5 (via gritenv). All packages using axios should be upgraded together in this PR.

Suggested change
"axios": "^1.13.5",
"axios": "^0.24.0",

Copilot uses AI. Check for mistakes.
},
"dependencies": {
"axios": "^0.24.0",
"axios": "^1.13.5",
Copy link

Copilot AI Feb 15, 2026

Choose a reason for hiding this comment

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

The PR description indicates that the yarn.lock file was not updated successfully. This means the lockfile still references axios 0.24.0, and the security vulnerability will not actually be fixed until the lockfile is updated. The yarn.lock must be successfully updated and included in this PR for the security fix to take effect. Run 'yarn install' to update the lockfile before merging.

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