Skip to content

[Snyk] Fix for 1 vulnerabilities#19

Open
madisonmay wants to merge 1 commit intomainfrom
snyk-fix-b8cf754c02337ac29c68f0441ef8927c
Open

[Snyk] Fix for 1 vulnerabilities#19
madisonmay wants to merge 1 commit intomainfrom
snyk-fix-b8cf754c02337ac29c68f0441ef8927c

Conversation

@madisonmay
Copy link
Copy Markdown
Collaborator

@madisonmay madisonmay commented Apr 9, 2026

snyk-top-banner

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

Snyk changed the following file(s):

  • package.json
  • package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Allocation of Resources Without Limits or Throttling
SNYK-JS-AXIOS-15930944
  803  

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:

🦉 Allocation of Resources Without Limits or Throttling


Note

Medium Risk
Upgrades axios to a newer major version and bumps @azure/ms-rest-js, which can introduce subtle HTTP/client behavior changes at runtime despite being dependency-only updates.

Overview
Updates runtime dependencies to remediate a Snyk-reported vulnerability by upgrading axios from 0.27.x to 1.13.2 and @azure/ms-rest-js from 1.x to 2.0.0.

Refreshes package-lock.json accordingly, pulling in new transitive packages (e.g., proxy-from-env, node-fetch types, and intrinsic helper libs) and removing the older nested axios dependency under @azure/ms-rest-js.

Reviewed by Cursor Bugbot for commit 813a18d. Bugbot is set up for automated code reviews on this repo. Configure here.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 813a18d. Configure here.

Comment thread package.json
},
"dependencies": {
"@azure/ms-rest-js": "^1.5.0",
"@azure/ms-rest-js": "^2.0.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

MapperType runtime value removed in ms-rest-js v2

High Severity

Upgrading @azure/ms-rest-js from v1 to v2 likely breaks the runtime usage of msRest.MapperType.Sequence. In v1, MapperType was exported as a runtime const object, but in v2 it became a TypeScript type alias only, meaning it doesn't exist at runtime. The codebase accesses msRest.MapperType.Sequence as a value in src/blob/generated/utils/serializer.ts, src/queue/generated/utils/serializer.ts, and src/table/generated/utils/serializer.ts, which would either cause a build failure or a runtime TypeError.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 813a18d. Configure here.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 813a18de0f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package.json
"@azure/ms-rest-js": "^2.0.0",
"args": "^5.0.1",
"axios": "^0.27.0",
"axios": "^1.13.2",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Keep axios compatible with the declared Node 10 floor

This upgrade conflicts with the package's declared support for Node >=10.0.0: Azurite imports axios from CommonJS-compiled code (for example in BlobHandler), but axios 1.x ships an ESM entrypoint with conditional exports, and Node 10 does not support package exports resolution. In a Node 10 runtime, require("axios") can resolve to the ESM index.js and fail before the service starts, so this change can break all Node 10 users even though the engines field still advertises that version.

Useful? React with 👍 / 👎.

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.

2 participants