Skip to content

chore: Remove simple-get resolution#8819

Merged
Gudahtt merged 1 commit into
mainfrom
remove-simple-get-resolution
Mar 4, 2024
Merged

chore: Remove simple-get resolution#8819
Gudahtt merged 1 commit into
mainfrom
remove-simple-get-resolution

Conversation

@Gudahtt

@Gudahtt Gudahtt commented Mar 1, 2024

Copy link
Copy Markdown
Member

Description

This was added in #3658 to address a security advisory, but no advisory is present after removing the resolution. Presumably this was updated or the resolution was updated. It's not entirely clear to me.

Related issues

N/A

Manual testing steps

N/A

Screenshots/Recordings

N/A

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've clearly explained what problem this PR is solving and how it is solved.
  • I've linked related issues
  • I've included manual testing steps
  • I've included screenshots/recordings if applicable
  • 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 (see labeling guidelines). Not required for external contributors.
  • I’ve properly set the pull request status:
    • In case it's not yet "ready for review", I've set it to "draft".
    • In case it's "ready for review", I've changed it from "draft" to "non-draft".

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.

@Gudahtt Gudahtt added needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) team-mobile-platform Mobile Platform team Run Smoke E2E labels Mar 1, 2024
@Gudahtt Gudahtt marked this pull request as ready for review March 1, 2024 22:33
@Gudahtt Gudahtt requested a review from a team as a code owner March 1, 2024 22:33
@github-actions

github-actions Bot commented Mar 1, 2024

Copy link
Copy Markdown
Contributor

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 4bbac9b
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/f40b0a03-2daa-48e1-8654-1d849856ceef

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@socket-security

socket-security Bot commented Mar 1, 2024

Copy link
Copy Markdown

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/simple-get@3.1.1 network +5 35.2 kB linusu

View full report↗︎

@socket-security

socket-security Bot commented Mar 1, 2024

Copy link
Copy Markdown

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package Note
New author npm/simple-get@3.1.1

View full report↗︎

Next steps

What is new author?

A new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.

Scrutinize new collaborator additions to packages because they now have the ability to publish code into your dependency tree. Packages should avoid frequent or unnecessary additions or changes to publishing rights.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/simple-get@3.1.1

@Gudahtt Gudahtt force-pushed the remove-simple-get-resolution branch 2 times, most recently from 683875f to f6caf9e Compare March 4, 2024 14:05
Cal-L
Cal-L previously approved these changes Mar 4, 2024

@Cal-L Cal-L left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@Gudahtt Gudahtt force-pushed the remove-simple-get-resolution branch from f6caf9e to 9fb183b Compare March 4, 2024 17:55
@Gudahtt

Gudahtt commented Mar 4, 2024

Copy link
Copy Markdown
Member Author

Rebased to resolve conflicts

@Gudahtt Gudahtt force-pushed the remove-simple-get-resolution branch from 9fb183b to 8c4745e Compare March 4, 2024 18:02
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 41.61%. Comparing base (7b0956e) to head (9fb183b).
Report is 1 commits behind head on main.

❗ Current head 9fb183b differs from pull request most recent head 8c4745e. Consider uploading reports for the commit 8c4745e to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8819   +/-   ##
=======================================
  Coverage   41.61%   41.61%           
=======================================
  Files        1269     1269           
  Lines       30869    30869           
  Branches     3086     3086           
=======================================
  Hits        12847    12847           
  Misses      17245    17245           
  Partials      777      777           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This was added in #3658 to address a security advisory, but no advisory
is present after removing the resolution. Presumably this was updated
or the resolution was updated. It's not entirely clear to me.
@Gudahtt Gudahtt force-pushed the remove-simple-get-resolution branch from 8c4745e to 920f33a Compare March 4, 2024 18:22
@sonarqubecloud

sonarqubecloud Bot commented Mar 4, 2024

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@Cal-L Cal-L left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@Gudahtt Gudahtt merged commit 247d3ab into main Mar 4, 2024
@Gudahtt Gudahtt deleted the remove-simple-get-resolution branch March 4, 2024 20:48
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 4, 2024
@github-actions github-actions Bot removed the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Mar 4, 2024
@metamaskbot metamaskbot added the release-7.19.0 Issue or pull request that will be included in release 7.19.0 label Mar 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-7.19.0 Issue or pull request that will be included in release 7.19.0 team-mobile-platform Mobile Platform team

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants