fix(deps): upgrade tap to ^18.8.0 to remove form-data 2.3.3 — CVE-2025-7783 (predictable multipart boundary) - #273
Open
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
CVE-2025-7783) Snyk-recommended remediation path (tap@18). Removes the tap>coveralls>request>form-data chain and the tap>nyc>istanbul-lib-instrument>babel-traverse chain (CVE-2023-45133). Co-Authored-By: sumit.shatwara <sumitshatwara@gmail.com>
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.
Summary
Remediates Predictable Value Range from Previous Values in
form-data@2.3.3(SNYK-JS-FORMDATA-10841150/ CVE-2025-7783, severity Critical, CVSS 9.4):form-datausedMath.random()for multipart boundaries, allowing parameter/boundary injection. It is reachable only throughtap@11.1.5 > coveralls@3.0.9 > request@2.88.0 > form-data@2.3.3(requestis deprecated and pinsform-data ~2.3.2, so no in-range update exists). Snyk's remediation for this path istap@18.0.0; this PR takes that path.form-data< 2.5.4 / 3.0.0–3.0.3 / 4.0.0–4.0.3 — Fixed in:2.5.4,3.0.4,4.0.4. After this changeform-data,request,coverallsandnycare no longer in the dependency graph at all.tap > nyc > istanbul-lib-instrument > babel-traverse@6.26.0path (CVE-2023-45133, Critical 9.3, no in-range fix) and the dev-onlynyc > istanbul-reports > handlebars@4.0.11copy.tapis declared independenciesbut is notrequire()d anywhere in the app;tap@18.8.0(engines.node: 16>=16.17 || 18>=18.6 || >=20) is compatible with the Dockerfile'snode:18.13.0and the local Node 20.Files changed:
package.json,package-lock.json(large diff: tap 11→18 swaps its whole subtree — 372 added / 397 removed packages).Verification:
npm ciclean;require('tap')loads; 30/30 end-to-end regression checks pass (todo CRUD, login/session, HBS/EJS/Dust views, CSV+ZIP import,/chat,/usersvia MySQL). Post-change Snyk SCA at critical threshold:form-dataandbabel-traversefindings gone, no new critical findings introduced (16 remaining, all pre-existing on other paths).Scan reference: Snyk MCP
snyk_sca_scan(org9e26acce-22c7-4efc-b470-21d9587f49fe) onmain@d240896, 2026-09-10.Devin-Org: engineering
Link to Devin session: https://app.devin.ai/sessions/0b602fbece0246d2a263a9d20b275733
Open in Devin Desktop: https://app.devin.ai/desktop/session/0b602fbece0246d2a263a9d20b275733?variant=devin
Requested by: @sumitshatwara