Remove unused axios dependency with multiple CVEs#9
Open
Copilot wants to merge 2 commits intodependabot/npm_and_yarn/hono/node-server-1.19.11from
Open
Remove unused axios dependency with multiple CVEs#9Copilot wants to merge 2 commits intodependabot/npm_and_yarn/hono/node-server-1.19.11from
Copilot wants to merge 2 commits intodependabot/npm_and_yarn/hono/node-server-1.19.11from
Conversation
Co-authored-by: sfosss <147890625+sfosss@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix denial of service vulnerability in Axios mergeConfig
Remove unused axios dependency with multiple CVEs
Mar 2, 2026
sfosss
approved these changes
May 2, 2026
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR removes the unused axios runtime dependency (and its transitive tree with known CVEs) from the root and perplexity-ask package manifests, updating the lockfile accordingly so that all HTTP traffic continues to rely solely on Node’s native fetch API. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
axioswas declared as a dependency but never imported or used — all HTTP calls go through Node's nativefetch. The unused package carried multiple unpatched CVEs (SSRF via absolute URL, credential leakage, DoS via__proto__and unbounded response size).Changes
package.json/perplexity-ask/package.json: Removeaxiosfromdependenciespackage-lock.json: Updated to reflect removal🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.
Summary by Sourcery
Remove an unused axios dependency from the project to reduce attack surface and align dependencies with actual runtime usage.
Enhancements:
Build: