Skip to content

Conversation

georgewrmarshall
Copy link
Contributor

@georgewrmarshall georgewrmarshall commented Mar 6, 2025

Description

This PR addresses critical security vulnerabilities identified by Socket Security scanning tool, particularly focusing on the critical and high issues that aren't supply chain attacks, which we are protected against by lavamoat

Related issues

Fixes: #467

Manual testing steps

  1. Go to the Socket Report
  2. Check that the versions that have been updated in the resolutions section address versions with vulnerabilities

Screenshots/Recordings

Vulnerabilities addressed

Screenshot 2025-03-06 at 2 56 59 PM Screenshot 2025-03-06 at 3 16 05 PM

Pre-merge author checklist

  • I've followed MetaMask Contributor Docs
  • I've completed the PR template to the best of my ability
  • I've included tests if applicable
  • I've documented my code using JSDoc format if applicable
  • I've applied the right labels on the PR (security, dependencies)

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

Would you like me to make any adjustments to this PR description?

@georgewrmarshall georgewrmarshall self-assigned this Mar 6, 2025
Copy link

socket-security bot commented Mar 6, 2025

Updated and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected]2.16.1 None 0 33.5 kB ljharb

🚮 Removed packages: npm/@babel/[email protected], npm/@babel/[email protected]

View full report↗︎

"pre-push": "yarn lint"
},
"resolutions": {
"minimist": "1.2.8",
Copy link
Contributor Author

@georgewrmarshall georgewrmarshall Mar 6, 2025

Choose a reason for hiding this comment

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

},
"resolutions": {
"minimist": "1.2.8",
"plist": "3.0.5",
Copy link
Contributor Author

@georgewrmarshall georgewrmarshall Mar 6, 2025

Choose a reason for hiding this comment

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

"minimist": "1.2.8",
"plist": "3.0.5",
"@xmldom/xmldom": "0.7.7",
"@babel/traverse": "7.25.9",
Copy link
Contributor Author

@georgewrmarshall georgewrmarshall Mar 6, 2025

Choose a reason for hiding this comment

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

"resolutions": {
"minimist": "1.2.8",
"plist": "3.0.5",
"@xmldom/xmldom": "0.7.7",
Copy link
Contributor Author

@georgewrmarshall georgewrmarshall Mar 6, 2025

Choose a reason for hiding this comment

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

"plist": "3.0.5",
"@xmldom/xmldom": "0.7.7",
"@babel/traverse": "7.25.9",
"simple-plist": "1.3.1",
Copy link
Contributor Author

@georgewrmarshall georgewrmarshall Mar 6, 2025

Choose a reason for hiding this comment

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

"@xmldom/xmldom": "0.7.7",
"@babel/traverse": "7.25.9",
"simple-plist": "1.3.1",
"shell-quote": "1.7.3",
Copy link
Contributor Author

@georgewrmarshall georgewrmarshall Mar 6, 2025

Choose a reason for hiding this comment

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

"cross-spawn": "7.0.5",
"ws": "8.17.1",
"node-fetch": "3.1.1",
"json5": "2.2.2",
Copy link
Contributor Author

@georgewrmarshall georgewrmarshall Mar 6, 2025

Choose a reason for hiding this comment

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

"ws": "8.17.1",
"node-fetch": "3.1.1",
"json5": "2.2.2",
"merge": "2.1.1",
Copy link
Contributor Author

@georgewrmarshall georgewrmarshall Mar 6, 2025

Choose a reason for hiding this comment

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

"node-fetch": "3.1.1",
"json5": "2.2.2",
"merge": "2.1.1",
"semver": "7.5.2",
Copy link
Contributor Author

@georgewrmarshall georgewrmarshall Mar 6, 2025

Choose a reason for hiding this comment

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

"json5": "2.2.2",
"merge": "2.1.1",
"semver": "7.5.2",
"braces": "^3.0.3",
Copy link
Contributor Author

@georgewrmarshall georgewrmarshall Mar 6, 2025

Choose a reason for hiding this comment

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

Already fixed: GHSA-grv7-fg5c-xmjg

"shell-quote": "1.7.3",
"cross-spawn": "7.0.5",
"ws": "8.17.1",
"node-fetch": "3.1.1",
Copy link
Contributor Author

@georgewrmarshall georgewrmarshall Mar 6, 2025

Choose a reason for hiding this comment

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

"@babel/traverse": "7.25.9",
"simple-plist": "1.3.1",
"shell-quote": "1.7.3",
"cross-spawn": "7.0.5",
Copy link
Contributor Author

@georgewrmarshall georgewrmarshall Mar 6, 2025

Choose a reason for hiding this comment

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

@georgewrmarshall georgewrmarshall force-pushed the fix/467/socket-vulnerabilities branch from 1d81771 to 41b8ed6 Compare March 6, 2025 22:52
@georgewrmarshall georgewrmarshall marked this pull request as ready for review March 6, 2025 23:20
@georgewrmarshall georgewrmarshall requested a review from a team as a code owner March 6, 2025 23:20
@georgewrmarshall georgewrmarshall merged commit 618c374 into main Mar 11, 2025
30 checks passed
@georgewrmarshall georgewrmarshall deleted the fix/467/socket-vulnerabilities branch March 11, 2025 17:25
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.

Fix socket security vulnerabilities
2 participants