chore(SEC-10491): upgrade axios to 1.15.1#37
chore(SEC-10491): upgrade axios to 1.15.1#37phantom-autopilot[bot] wants to merge 1 commit intodevfrom
Conversation
Resolves GHSA-pmwg-cvhr-8vh7 (CVE-2026-42043, HIGH) — incomplete fix for CVE-2025-62718 where axios's NO_PROXY check missed RFC 1122 loopback subnet 127.0.0.0/8, allowing proxy bypass for non-127.0.0.1 loopback addresses. Vulnerable range: >=1.0.0,<1.15.1. - Bump direct dependency `axios` from ^1.4.0 to ^1.15.1. - Add `axios: 1.15.1` to `resolutions` to override the exact 1.2.2 pin from `etherscan-api@10.3.0` (no newer etherscan-api release loosens this constraint). - Lockfile now resolves a single axios entry at 1.15.1; the previous 1.2.2 and 1.7.7 versions are removed.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe ChangesAxios Dependency Upgrade
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Pushed commit git push -u origin autopilot2/sec-10491_high-upgrade-axios-in-github-com-phantom-synpress-to-1-15-1 PR opened by agent gh pr create --draft --base dev --title "chore(SEC-10491): upgrade axios to 1.15.1" ... #37 Error encountered Error: Exit code 1 Task completed SEC-10491 is complete. Summary:
|
Summary
Upgrades
axiosfrom 1.7.7 to 1.15.1 to resolve GHSA-pmwg-cvhr-8vh7 (CVE-2026-42043, HIGH) — an incomplete fix for CVE-2025-62718 in which axios'sNO_PROXYprotection skipped only127.0.0.1instead of the full RFC 1122 loopback subnet127.0.0.0/8, allowing proxy bypass for other loopback addresses (127.0.0.2…127.255.255.254).Vulnerable range:
>=1.0.0,<1.15.1— the workspace previously resolvedaxios@1.7.7(direct dep) andaxios@1.2.2(transitive viaetherscan-api).Changes
package.json: bump direct depaxiosfrom^1.4.0→^1.15.1.package.json: addaxios: 1.15.1toresolutionsto override the exact1.2.2pin inetherscan-api@10.3.0(no neweretherscan-apirelease relaxes this constraint).yarn.lock: regenerated. Lockfile now contains a singleaxios@1.15.1entry; the prior1.2.2and1.7.7entries are gone.Linear: SEC-10491
Test plan
yarn installresolves cleanly with no new peer-dependency conflicts beyond those already present ondev.axios@npm:entry at 1.15.1 (grep "axios@npm" yarn.lock).helpers.jsis the only file usingaxiosand only callsaxios.get()with options unchanged across the 1.7.7 → 1.15.1 range.Notes
Pre-existing lint/prettier failures on
dev(inhelpers.js,plugins/index.js,support/index.js,pages/metamask/first-time-flow-page.js) are unrelated to this upgrade and are intentionally not touched.🤖 Generated with Claude Code
Summary by CodeRabbit
axiosdependency to version1.15.1.