Skip to content

fix(deps): raise axios minimum to ^1.20.0 - #264

Merged
cschetan77 merged 1 commit into
masterfrom
fix/axios-min-1.20.0
Nov 16, 2026
Merged

cschetan77 merged 1 commit into
masterfrom
fix/axios-min-1.20.0

Conversation

@arpit-jn

Copy link
Copy Markdown
Contributor

Description

Raises the minimum axios version from ^1.7.4 to ^1.20.0.

axios versions before 1.20.0 have known vulnerabilities (SSRF, prototype pollution, and others). package-lock.json already pinned 1.20.0, but the declared range still let consumers of this package resolve a vulnerable version. No source changes and no breaking API changes.

Testing

  • npm ci installs axios@1.20.0, and npm audit reports no axios findings.

  • npm test: 80 passing on Node 18 and Node 22.

  • axios is used only in the deprecated _getAccessToken. Its proxy behavior is unchanged from 1.18.0, checked by intercepting sockets.

  • Not tested: a real proxy handshake. _getAccessToken has no automated test.

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not the default branch

🤖 Generated with Claude Code

@arpit-jn
arpit-jn requested a review from a team as a code owner November 13, 2026 12:09
Resolves the Snyk findings on axios@1.18.0 (fixed in 1.20.0). The lockfile
already pinned 1.20.0; this raises the declared range so consumers of the
published package can no longer resolve a vulnerable axios.

Co-Authored-By: Claude <noreply@anthropic.com>
@arpit-jn
arpit-jn force-pushed the fix/axios-min-1.20.0 branch from 1fd0dcf to a34e8c4 Compare November 13, 2026 12:10
@cschetan77
cschetan77 merged commit 9cf77f5 into master Nov 16, 2026
10 checks passed
@cschetan77
cschetan77 deleted the fix/axios-min-1.20.0 branch November 16, 2026 08:28
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