fix: resolve 7 of 8 high-severity dependency vulnerabilities#9
Open
devin-ai-integration[bot] wants to merge 1 commit intomainfrom
Open
fix: resolve 7 of 8 high-severity dependency vulnerabilities#9devin-ai-integration[bot] wants to merge 1 commit intomainfrom
devin-ai-integration[bot] wants to merge 1 commit intomainfrom
Conversation
- Bump express ^4.18.2 → ^4.22.0 (fixes qs DoS via express's own dep) - Bump axios ^1.12.0 → ^1.13.5 (fixes axios DoS via __proto__) - Add pnpm overrides for transitive deps: - jws >=4.0.1 (HMAC signature verification) - fast-xml-parser >=5.3.4 (RangeError DoS) - preact >=10.28.2 (JSON VNode injection) - h3 >=1.15.5 (request smuggling) - qs >=6.14.1 (arrayLimit DoS) Remaining unfixable: bigint-buffer (no patch exists, via @coinbase/x402) Co-Authored-By: Penelope <penelope@paella.dev>
Author
Original prompt from Penelope |
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
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.
fix: resolve 7 of 8 high-severity dependency vulnerabilities
Summary
Addresses 7 of 8 high-severity Dependabot alerts by bumping direct dependencies and adding
pnpm.overridesfor transitive ones.Direct dependency bumps (
server/package.json):express^4.18.2 → ^4.22.0 (fixes qs DoS)axios^1.12.0 → ^1.13.5 (fixes prototype pollution DoS)pnpm overrides (root
package.json) for transitive deps:jws>=4.0.1 — HMAC signature verification bypassfast-xml-parser>=5.3.4 — RangeError DoSpreact>=10.28.2 — JSON VNode injectionh3>=1.15.5 — request smuggling (TE.TE)qs>=6.14.1 — arrayLimit DoS via memory exhaustionRemaining (unfixable):
bigint-buffer— no patched version exists (via@coinbase/x402 > @coinbase/cdp-sdk > @solana/spl-token). Fixing this would require a major version bump of@coinbase/x402(0.6 → 2.x) which has breaking API changes.Result: High-severity alerts reduced from 8 → 1.
Review & Testing Checklist for Human
fast-xml-parseroverride forces a major version jump for@langchain/anthropic(4.5.3 → 5.3.5). Verify that the agent's Anthropic/LangChain integration still works correctly (XML parsing behavior may have changed between v4 and v5)express4.21.2 → 4.22.1: Smoke test the server endpoints (/health, any payment routes) to confirm no regressions in request handling or query string parsing (qs 6.13 → 6.14)axios1.12.0 → 1.13.5: Verify outbound HTTP calls from the server (Crossmint API, Coinbase API) still work as expectedpnpm.overridesapproach is acceptable for this repo vs. waiting for upstream packages to update their own depsRecommended test plan: Run the agent and server locally, exercise the main payment/purchase flow end-to-end, and confirm no runtime errors from the overridden packages.
Notes