Skip to content

fix(deps): add form-data resolution to fix SNYK-JS-FORMDATA-10841150#608

Open
devin-ai-integration[bot] wants to merge 1 commit intomainfrom
devin/1777470478-fix-form-data-cve
Open

fix(deps): add form-data resolution to fix SNYK-JS-FORMDATA-10841150#608
devin-ai-integration[bot] wants to merge 1 commit intomainfrom
devin/1777470478-fix-form-data-cve

Conversation

@devin-ai-integration
Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot commented Apr 29, 2026

Summary

Adds a yarn resolution for **/form-data to ^4.0.1 to fix critical vulnerability SNYK-JS-FORMDATA-10841150 (Predictable Value Range, CVSS 9.8).

The vulnerable form-data@4.0.0 was introduced transitively via appium-adb (a dev/test dependency). This is a patch version bump (4.0.0 → 4.0.1), very low risk.

Changes:

  • package.json: Added "**/form-data": "^4.0.1" to the existing resolutions field (now 45 resolutions total)
  • yarn.lock: Consolidated all form-data version entries to resolve to 4.0.1, removing the vulnerable 4.0.0 entry

Review & Testing Checklist for Human

  • Verify form-data no longer resolves to 4.0.0 in yarn.lock (search for version "4.0.0" near form-data)
  • Run yarn install locally to confirm lockfile integrity (note: CI may also validate this)
  • Confirm Snyk scan no longer flags SNYK-JS-FORMDATA-10841150

Notes

  • yarn install could not be run in the Devin environment due to a pre-existing broken dependency (react-native-tcp GitHub tarball returns 404). The yarn.lock was updated manually to match what yarn would produce with the resolution applied.
  • The resolution consolidates all form-data specifiers (4.0.0, ^4.0.0, ^3.0.1, ~2.3.2) to resolve to 4.0.1, consistent with how yarn v1 resolutions work.

Link to Devin session: https://app.devin.ai/sessions/6b78d6f120a0491ea1387cdbe751009b
Requested by: @abhay-codeium


Devin Review

Status Commit
⚪ Not started

💡 Connect your GitHub account to enable automatic code reviews.

Open in Devin Review (Staging)
Open in Devin Review

Add yarn resolution for **/form-data to ^4.0.1, fixing CVE
SNYK-JS-FORMDATA-10841150 (Predictable Value Range, CVSS 9.8).

The vulnerable form-data@4.0.0 was introduced transitively via
appium-adb (dev/test dependency). This patch version bump
consolidates all form-data versions to 4.0.1.

Co-Authored-By: Abhay Aggarwal <abhay.aggarwal@codeium.com>
@devin-ai-integration
Copy link
Copy Markdown
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link
Copy Markdown
Author

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant