MetaMask / metamask-mobile

Mobile web browser providing access to websites that use the Ethereum blockchain
https://metamask.io
Other
2.04k stars 1.06k forks source link

Temp/notification integration sdk fixes 2 #10147

Closed Prithpal-Sooriya closed 5 days ago

Prithpal-Sooriya commented 5 days ago

Description

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

github-actions[bot] commented 5 days ago

CLA Signature Action:

Thank you for your submission, we really appreciate it. We ask that you all read and sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just by adding a comment to this pull request with this exact sentence:

I have read the CLA Document and I hereby sign the CLA

By commenting with the above message you are agreeing to the terms of the CLA. Your account will be recorded as agreeing to our CLA so you don't need to sign it again for future contributions to this repository.

1 out of 2 committers have signed the CLA. :white_check_mark: @Jonathansoufer :x: @Prithpal-Sooriya

socket-security[bot] commented 5 days ago

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

Package New capabilities Transitives Size Publisher
npm/@metamask-previews/notification-services-controller@0.1.0-preview-4ca72848 network Transitive: environment, filesystem +121 123 MB metamaskbot
npm/@metamask-previews/profile-sync-controller@0.1.0-preview-4ca72848 network Transitive: environment +24 17.6 MB metamaskbot

🚮 Removed packages: npm/@metamask/notification-services-controller@0.1.0

View full report↗︎

socket-security[bot] commented 5 days ago

🚨 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 NoteSourceCI
Network access npm/@metamask-previews/notification-services-controller@0.1.0-preview-4ca72848 🚫
Network access npm/@metamask-previews/profile-sync-controller@0.1.0-preview-4ca72848 🚫

View full report↗︎

Next steps

What is network access?

This module accesses the network.

Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

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/@metamask-previews/notification-services-controller@0.1.0-preview-4ca72848
  • @SocketSecurity ignore npm/@metamask-previews/profile-sync-controller@0.1.0-preview-4ca72848
sonarcloud[bot] commented 5 days ago

Quality Gate Passed Quality Gate passed

Issues
6 New issues
0 Accepted issues

Measures
0 Security Hotspots
44.2% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud