[Aikido] Fix 4 security issues in axios, lodash, thirdweb and 1 more#388
[Aikido] Fix 4 security issues in axios, lodash, thirdweb and 1 more#388aikido-autofix[bot] wants to merge 1 commit intomainfrom
Conversation
PR SummaryMedium Risk Overview Updates Written by Cursor Bugbot for commit 4a3ebf2. This will update automatically on new commits. Configure here. |
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
| "react": ">=18.3.1", | ||
| "react-dom": ">=18.3.1", | ||
| "thirdweb": "^5.68.0", | ||
| "thirdweb": "5.93.5-nightly-b51157c0ff17e9535029fc8790cfa8538d1c995f-20250326000337", |
There was a problem hiding this comment.
Nightly build pinned as thirdweb devDependency
Medium Severity
The thirdweb devDependency was changed from a stable semver range "^5.68.0" to a specific nightly build "5.93.5-nightly-b51157c0ff17e9535029fc8790cfa8538d1c995f-20250326000337". Nightly builds are inherently unstable, may be removed from the registry, and aren't intended for committed dependencies. Stable thirdweb releases well beyond 5.93.x exist and would be appropriate here. This looks like a testing artifact that was accidentally included in the PR.
| "tmp@<=0.2.3": ">=0.2.4", | ||
| "axios@<=1.13.5": "1.13.5", | ||
| "lodash@<=4.17.23": "4.17.23", | ||
| "js-yaml@<=3.14.2": "3.14.2" |
There was a problem hiding this comment.
Overrides use exact pins instead of >= ranges
Low Severity
All 13 existing pnpm overrides in this file use >= range syntax for the replacement version (e.g., ">=0.2.4"), but the three new overrides for axios, lodash, and js-yaml use exact version pins (e.g., "1.13.5"). This inconsistency means that when a transitive dependency resolves to a vulnerable version, the override will force it to exactly the current fix version rather than allowing resolution to any newer patched release. Using ">=1.13.5", ">=4.17.23", and ">=3.14.2" would match the established pattern and automatically pick up future security patches.


Upgrade axios, lodash, thirdweb, and js-yaml to mitigate critical security vulnerabilities including prototype pollution, DoS, and potential RCE risks.
✅ 4 CVEs resolved by this upgrade
This PR will resolve the following CVEs:
🔗 Related Tasks
PR-Codex overview
This PR focuses on updating various dependencies in the
package.jsonfiles across multiple packages, along with changes to thelint-stagedconfiguration and adjustments in thepnpm-lock.yamlfile.Detailed summary
packageManagertopnpm@9.4.0.lint-stagedconfiguration for better formatting.axios,lodash,js-yaml.lockfileVersioninpnpm-lock.yaml.@babelpackages to version7.29.0.