Skip to content
This repository was archived by the owner on May 25, 2026. It is now read-only.

Pin axios to 1.14.0 to avoid compromised version - #338

Merged
mustafa-poly merged 2 commits into
mainfrom
mustafa-poly/pin-axios-version
Mar 31, 2026
Merged

Pin axios to 1.14.0 to avoid compromised version#338
mustafa-poly merged 2 commits into
mainfrom
mustafa-poly/pin-axios-version

Conversation

@mustafa-poly

@mustafa-poly mustafa-poly commented Mar 31, 2026

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • Verify pnpm install resolves axios to exactly 1.14.0
  • Confirm no plain-crypto-js in node_modules
  • Run existing tests to ensure no regressions

🤖 Generated with Claude Code


Note

Low Risk
Low risk dependency change that only affects the resolved axios (and its lockfile transitive proxy-from-env) versions; runtime behavior should be effectively unchanged aside from any patch-level axios differences.

Overview
Prevents installs from floating to newer axios releases by changing the dependency range from ^1.0.0 to an exact 1.14.0.

Updates pnpm-lock.yaml to lock axios@1.14.0 (including the related transitive bump to proxy-from-env@2.1.0) and aligns the @polymarket/builder-signing-sdk dependency tree to the same axios version.

Written by Cursor Bugbot for commit 918fd5b. This will update automatically on new commits. Configure here.

axios 1.14.1 was published on March 30, 2026 via a hijacked maintainer
account and contains a malicious dependency (plain-crypto-js) that
deploys a cross-platform RAT. Removing the caret pin prevents
auto-upgrading to the compromised version.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mustafa-poly
mustafa-poly requested a review from a team as a code owner March 31, 2026 17:52
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mustafa-poly
mustafa-poly enabled auto-merge March 31, 2026 17:55
@mustafa-poly
mustafa-poly merged commit 8c03354 into main Mar 31, 2026
5 checks passed
@mustafa-poly
mustafa-poly deleted the mustafa-poly/pin-axios-version branch March 31, 2026 18:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants