Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: cherry-pick #10695 #10759

Merged
merged 1 commit into from
Aug 26, 2024
Merged

chore: cherry-pick #10695 #10759

merged 1 commit into from
Aug 26, 2024

Conversation

github-actions[bot]
Copy link
Contributor

This PR cherry-picks #10695

## **Description**

- Full async key exchange implementation for SDK with update of comm
layer.

![image](https://github.com/user-attachments/assets/a9a465d0-4e42-4ed2-bf52-2a0bf0d3e1a8)
- Full documentation at
https://www.notion.so/metamask-consensys/e3cb7482a492445fb0665334e53a1795?v=34d0d322d99f493aaf7b1ac58ed1c87b&p=2c95933da20e465fa0eeeed48adb9e68&pm=s

## **Related issues**

Fixes: #10315

## **Manual testing steps**

1. Go to this page...
2.
3.

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**

<!-- [screenshots/recordings] -->

### **After**

<!-- [screenshots/recordings] -->

## **Pre-merge author checklist**

- [x] I’ve followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile
Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **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.

---------

Co-authored-by: Christopher Ferreira <104831203+christopherferreira9@users.noreply.github.com>
Copy link

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

Package New capabilities Transitives Size Publisher
npm/@metamask/sdk-communication-layer@0.28.1 None 0 3.16 MB danfinlay, gudahtt, kumavis, ...8 more
npm/utf-8-validate@5.0.10 None 0 403 kB lpinca

🚮 Removed packages: npm/@metamask/sdk-communication-layer@0.20.2), npm/utf-8-validate@6.0.3)

View full report↗︎

Copy link

🚨 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
Native code npm/utf-8-validate@5.0.10 🚫

View full report↗︎

Next steps

What's wrong with native code?

Contains native code which could be a vector to obscure malicious code, and generally decrease the likelihood of reproducible or reliable installs.

Ensure that native code bindings are expected. Consumers may consider pure JS and functionally similar alternatives to avoid the challenges and risks associated with native code bindings.

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/utf-8-validate@5.0.10

Copy link
Contributor Author

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@sethkfman sethkfman added team-sdk SDK team No QA Needed Apply this label when your PR does not need any QA effort. labels Aug 26, 2024
@sethkfman sethkfman marked this pull request as ready for review August 26, 2024 17:08
@sethkfman sethkfman requested review from a team as code owners August 26, 2024 17:08
Copy link
Contributor

@sethkfman sethkfman left a comment

Choose a reason for hiding this comment

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

LGTM

@sethkfman sethkfman merged commit 4a06df0 into release/7.30.0 Aug 26, 2024
7 of 9 checks passed
@sethkfman sethkfman deleted the chore/cherry-pick-10695 branch August 26, 2024 17:13
@github-actions github-actions bot locked and limited conversation to collaborators Aug 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
No QA Needed Apply this label when your PR does not need any QA effort. rc-cherry-picked team-sdk SDK team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants