Skip to content

[Snyk] Security upgrade axios from 1.4.0 to 1.13.5 - #13

Open
vAHiD55555 wants to merge 1 commit into
2535from
snyk-fix-0962b276a2bef1874b67c306ed958d85
Open

vAHiD55555 wants to merge 1 commit into
2535from
snyk-fix-0962b276a2bef1874b67c306ed958d85

Conversation

@vAHiD55555

Copy link
Copy Markdown
Owner

snyk-top-banner

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

Snyk changed the following file(s):

  • package.json
  • pnpm-lock.yaml

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

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Feb 16, 2026

Copy link
Copy Markdown

Deploying clash-dashboard with  Cloudflare Pages  Cloudflare Pages

Latest commit: 969cd7d
Status: ✅  Deploy successful!
Preview URL: https://2c6f7ca0.clash-dashboard-bf4.pages.dev
Branch Preview URL: https://snyk-fix-0962b276a2bef1874b6.clash-dashboard-bf4.pages.dev

View logs

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@gemini-code-assist

Copy link
Copy Markdown

Summary of Changes

Hello @vAHiD55555, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request primarily focuses on enhancing the project's security posture by upgrading the axios package to address a critical vulnerability. Additionally, it updates several other core dependencies and their transitive counterparts, ensuring compatibility and incorporating the latest features and fixes across the dependency tree. The changes are confined to package configuration files, reflecting a routine maintenance update.

Highlights

  • Security Upgrade: Upgraded the axios package from version 1.4.0 to 1.13.5 to remediate a high-severity Prototype Pollution vulnerability (SNYK-JS-AXIOS-15252993).
  • Dependency Updates: Updated jotai-immer from 0.2.0 to 0.3.0, react-router-dom from 6.14.0 to 6.30.1, and use-immer from 0.9.0 to 0.10.0.
  • Transitive Dependency Changes: Modified various transitive dependencies within pnpm-lock.yaml, including updates to follow-redirects, form-data, @remix-run/router, and the addition of new packages like call-bind-apply-helpers, dunder-proto, es-define-property, es-errors, es-object-atoms, function-bind, get-intrinsic, get-proto, gopd, has-symbols, has-tostringtag, hasown, and math-intrinsics.
  • Deprecation Notices: Added deprecation notices for @babel/plugin-proposal-unicode-property-regex, @jridgewell/source-map, source-map, and workbox-google-analytics within pnpm-lock.yaml.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • package.json
    • Updated axios dependency version from ^1.4.0 to ^1.13.5.
  • pnpm-lock.yaml
    • Updated axios package version from 1.4.0 to 1.13.5.
    • Updated jotai-immer package version from 0.2.0 to 0.3.0.
    • Updated react-router-dom package version from 6.14.0 to 6.30.3.
    • Updated use-immer package version from 0.9.0 to 0.10.0.
    • Updated follow-redirects package version from 1.15.2 to 1.15.11.
    • Updated form-data package version from 4.0.0 to 4.0.5.
    • Updated @remix-run/router package version from 1.7.0 to 1.23.2.
    • Updated react-router package version from 6.14.0 to 6.30.3.
    • Added new dependency call-bind-apply-helpers@1.0.2.
    • Added new dependency dunder-proto@1.0.1.
    • Added new dependency es-define-property@1.0.1.
    • Added new dependency es-errors@1.3.0.
    • Added new dependency es-object-atoms@1.1.1.
    • Added new dependency function-bind@1.1.2.
    • Added new dependency get-intrinsic@1.3.0.
    • Added new dependency get-proto@1.0.1.
    • Added new dependency gopd@1.2.0.
    • Added new dependency has-symbols@1.1.0.
    • Added new dependency has-tostringtag@1.0.2.
    • Added new dependency hasown@2.0.2.
    • Added new dependency math-intrinsics@1.1.0.
    • Added deprecation notice for @babel/plugin-proposal-unicode-property-regex@7.18.6.
    • Added deprecation notice for @jridgewell/source-map@0.3.4.
    • Added deprecation notice for source-map@0.8.0-beta.0.
    • Added deprecation notice for workbox-google-analytics@7.0.0.
Activity
  • Snyk automatically created this pull request to address 1 identified vulnerability in the project's pnpm dependencies.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request, automatically generated by Snyk, correctly upgrades axios from 1.4.0 to 1.13.5 to resolve a high-severity prototype pollution vulnerability. The changes in package.json and pnpm-lock.yaml are appropriate for this upgrade.

During the review, I noticed that the update to pnpm-lock.yaml has surfaced several deprecated dependencies. While these are not directly related to the axios upgrade and don't block this PR, I've added comments on them for future maintenance work. It's good practice to address these to avoid potential issues down the line.

Comment thread pnpm-lock.yaml
/@babel/plugin-proposal-unicode-property-regex@7.18.6(@babel/core@7.22.5):
resolution: {integrity: sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w==}
engines: {node: '>=4'}
deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-unicode-property-regex instead.

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

This Babel plugin is deprecated and no longer maintained. As suggested in the deprecation message, it should be replaced with @babel/plugin-transform-unicode-property-regex. Using deprecated packages can lead to issues in the future as they won't receive updates or security fixes.

Comment thread pnpm-lock.yaml

/@jridgewell/source-map@0.3.4:
resolution: {integrity: sha512-KE/SxsDqNs3rrWwFHcRh15ZLVFrI0YoZtgAdIyIq9k5hUNmiWRXXThPomIxHuL20sLdgzbDFyvkUMna14bvtrw==}
deprecated: the version has a bug with typescript type resolution

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

This version of @jridgewell/source-map is deprecated due to a bug with TypeScript type resolution. It's recommended to update this dependency to a non-deprecated version to avoid potential issues with source maps and TypeScript.

Comment thread pnpm-lock.yaml
/source-map@0.8.0-beta.0:
resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==}
engines: {node: '>= 8'}
deprecated: The work that was done in this beta branch won't be included in future versions

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

This beta version of source-map is deprecated. The deprecation message states that the work in this beta branch won't be included in future versions. It's best to use a stable, non-beta, and non-deprecated version of this package to ensure stability and future compatibility.

Comment thread pnpm-lock.yaml

/workbox-google-analytics@7.0.0:
resolution: {integrity: sha512-MEYM1JTn/qiC3DbpvP2BVhyIH+dV/5BjHk756u9VbwuAhu0QHyKscTnisQuz21lfRpOwiS9z4XdqeVAKol0bzg==}
deprecated: It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained

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

The workbox-google-analytics package is deprecated and no longer maintained. It is not compatible with Google Analytics v4. If you are using or planning to upgrade to GA4, this package will not work. It would be best to find an alternative solution for analytics in your service worker.

@gitar-bot

gitar-bot Bot commented Jul 20, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

Upgrades axios from 1.4.0 to 1.13.5 to mitigate a high-severity prototype pollution vulnerability. No issues found.

Auto-approved and auto-merge armed: No blocking issues found.
Please see Auto-approve Docs for details on setting custom approval criteria. — merges when pipeline and required approvals pass.

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@gitar-bot gitar-bot Bot 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.

Gitar has auto-approved this PR and enabled auto-merge (configure)

@gitar-bot gitar-bot Bot added the gitar-approved Added by Gitar label Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gitar-approved Added by Gitar

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants