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

feat: Add support for security alerts on zkSync, Berachain, Scroll and Metachain One on extension #25555

Merged
merged 7 commits into from
Jul 3, 2024

Conversation

jpuri
Copy link
Contributor

@jpuri jpuri commented Jun 27, 2024

Description

Add support for security alerts on zkSync, Berachain, Scroll and Metachain One on extension

Related issues

Fixes: https://github.com/MetaMask/MetaMask-planning/issues/2716

Manual testing steps

  1. Add networks zkSync, Berachain, Scroll and Metachain One to extension
  2. Submit a malicious transaction on test dapp
  3. Ensure it is reported as malicious

Screenshots/Recordings

Screenshot 2024-07-02 at 6 05 02 PM

Pre-merge author checklist

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.

Copy link
Contributor

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.

@jpuri jpuri force-pushed the blockaid_network_support branch from efd3faf to 6a54e82 Compare June 27, 2024 11:57
@metamaskbot metamaskbot added the team-confirmations Push issues to confirmations team label Jun 27, 2024
@jpuri jpuri marked this pull request as ready for review June 28, 2024 16:04
@jpuri jpuri requested a review from a team as a code owner June 28, 2024 16:04
@jpuri jpuri changed the title feat: Blockaid network support feat: Add support for security alerts on zkSync, Berachain, Scroll and Metachain One on extension Jun 28, 2024
@jpuri jpuri marked this pull request as draft June 28, 2024 16:21
@jpuri
Copy link
Contributor Author

jpuri commented Jun 28, 2024

Blockaid validations are not working as expected on these networks hence I add DO_NOT_MERGE to the PR.

@jpuri jpuri marked this pull request as ready for review June 28, 2024 16:22
@jpuri jpuri added the DO-NOT-MERGE Pull requests that should not be merged label Jun 28, 2024
@jpuri jpuri removed the DO-NOT-MERGE Pull requests that should not be merged label Jul 2, 2024
@jpuri jpuri requested a review from a team as a code owner July 2, 2024 12:33
Copy link

socket-security bot commented Jul 2, 2024

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

Package New capabilities Transitives Size Publisher
npm/@blockaid/[email protected] network 0 3.34 MB blockaiduser
npm/@metamask/[email protected] Transitive: environment, filesystem, unsafe +34 4.45 MB metamaskbot

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

View full report↗︎

Copy link

sonarqubecloud bot commented Jul 2, 2024

@metamaskbot
Copy link
Collaborator

Builds ready [0bae4fb]
Page Load Metrics (72 ± 7 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint81133102136
domContentLoaded106030115
load5211072157
domInteractive106030115
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 76 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 346 Bytes (0.01%)

Copy link

codecov bot commented Jul 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.57%. Comparing base (1f74b08) to head (0bae4fb).
Report is 28 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop   #25555   +/-   ##
========================================
  Coverage    69.57%   69.57%           
========================================
  Files         1360     1360           
  Lines        48172    48174    +2     
  Branches     13296    13296           
========================================
+ Hits         33513    33515    +2     
  Misses       14659    14659           

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

@jpuri jpuri merged commit 4d93e69 into develop Jul 3, 2024
72 checks passed
@jpuri jpuri deleted the blockaid_network_support branch July 3, 2024 08:37
@github-actions github-actions bot locked and limited conversation to collaborators Jul 3, 2024
@metamaskbot metamaskbot added the release-12.2.0 Issue or pull request that will be included in release 12.2.0 label Jul 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-12.2.0 Issue or pull request that will be included in release 12.2.0 team-confirmations Push issues to confirmations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants