Skip to content

fix: pin axios to version 1.14.0 to prevent installation of compromised version 1.14.1 - #185

Merged
Alejandbel merged 3 commits into
ton-org:mainfrom
Alejandbel:security/axios
Mar 31, 2026
Merged

fix: pin axios to version 1.14.0 to prevent installation of compromised version 1.14.1#185
Alejandbel merged 3 commits into
ton-org:mainfrom
Alejandbel:security/axios

Conversation

@Alejandbel

@Alejandbel Alejandbel commented Mar 31, 2026

Copy link
Copy Markdown
Collaborator

axios 1.14.1 and 0.30.4 have been identified as compromised npm packages containing a remote access trojan (RAT). See axios/axios#10604 and https://www.stepsecurity.io/blog/axios-compromised-on-npm-malicious-versions-drop-remote-access-trojan for details.

Summary by CodeRabbit

  • Bug Fixes
    • Updated axios dependency to a pinned version to ensure installation of a stable release and prevent exposure to compromised versions.

@coderabbitai

coderabbitai Bot commented Mar 31, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 13ca645a-3ade-4475-b082-a2027df5298d

📥 Commits

Reviewing files that changed from the base of the PR and between e56398f and d8cb6bd.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (2)
  • CHANGELOG.md
  • package.json

📝 Walkthrough

Walkthrough

The axios runtime dependency is pinned to version 1.14.0 in package.json to prevent installation of a compromised 1.14.1 release. A corresponding changelog entry documents this fix in the Unreleased section.

Changes

Cohort / File(s) Summary
Dependency Pinning
package.json
Changed axios dependency constraint from semver range ^1.6.7 to fixed version 1.14.0.
Changelog Documentation
CHANGELOG.md
Added entry under [Unreleased]Fixed section noting axios pinning to avoid compromised 1.14.1 release.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A hop, skip, and pinned dependency!
We lock axios down at one-four-zero,
No compromised releases for this hero,
Security first, with a changelog so clear,
The rabbits approve—stability's here! 🛡️✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: pinning axios to 1.14.0 to prevent installation of a compromised 1.14.1 version. It is clear, specific, and directly reflects the primary objective of the pull request.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@blink141 blink141 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thank you, Looks good

@Alejandbel
Alejandbel merged commit 72811dc into ton-org:main Mar 31, 2026
3 checks passed
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