Skip to content

Conversation

matthiasgeihs
Copy link
Contributor

@matthiasgeihs matthiasgeihs commented Aug 11, 2025

Description

This PR ensures that several sensitive items are removed from the flat state that is made available to the frontend.

Changelog

CHANGELOG entry: tbd

Related issues

Fixes: no issue logged so far

Manual testing steps

  1. Open extension settings.
  2. Go to "Advanced" and click "Download state logs".
  3. Check whether sensitive fields have been sanitized.

Screenshots/Recordings

Before

After

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.

Open in GitHub Codespaces

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.

@matthiasgeihs matthiasgeihs added the team-web3auth Web3Auth team label Aug 11, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [6f64c26]
UI Startup Metrics (1188 ± 90 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1188101915709012541337
load101387213428410821147
domContentLoaded100686713218310761139
domInteractive17134151727
firstPaint655126133240610191131
backgroundConnect2172052498221232
firstReactRender19143342226
getState11589101227
initialActions30143311
loadScripts796661110981863928
setupStore74273812
WebpackHomeuiStartup22901705279420724082644
load17101245202618017871965
domContentLoaded17031240200917917821957
domInteractive191297161573
firstPaint1806441262212314
backgroundConnect281694133059
firstReactRender2079540099311390
getState3743188114280
initialActions62264714
loadScripts16991237199617817801945
setupStore2573015616177
FirefoxBrowserifyHomeuiStartup14451234196312514941717
load1238107415078412921377
domContentLoaded1238107315068412921377
domInteractive1103633254118239
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect3421136183663
firstReactRender26226252731
getState8317719619
initialActions6018920320
loadScripts1214105514788212721354
setupStore11322023736
WebpackHomeuiStartup16161404214214416971865
load13371146163510714041557
domContentLoaded13371145163510714041557
domInteractive94322724796255
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect3420126183685
firstReactRender57427686368
getState1048011929
initialActions7022025417
loadScripts13121122156710413831514
setupStore1047110924
Benchmark value 218 exceeds gate value 10 for chrome browserify home mean backgroundConnect
Benchmark value 3 exceeds gate value 1 for chrome browserify home mean initialActions
Benchmark value 232 exceeds gate value 18 for chrome browserify home p95 backgroundConnect
Benchmark value 11 exceeds gate value 1.2 for chrome browserify home p95 initialActions
Benchmark value 2291 exceeds gate value 2192 for chrome webpack home mean uiStartup
Benchmark value 38 exceeds gate value 29 for chrome webpack home mean getState
Benchmark value 2644 exceeds gate value 2454 for chrome webpack home p95 uiStartup
Benchmark value 73 exceeds gate value 57 for chrome webpack home p95 domInteractive
Benchmark value 390 exceeds gate value 370 for chrome webpack home p95 firstReactRender
Benchmark value 280 exceeds gate value 195 for chrome webpack home p95 getState
Benchmark value 14 exceeds gate value 7 for chrome webpack home p95 initialActions
Benchmark value 177 exceeds gate value 65 for chrome webpack home p95 setupStore
Benchmark value 1446 exceeds gate value 1405 for firefox browserify home mean uiStartup
Benchmark value 34 exceeds gate value 25 for firefox browserify home mean backgroundConnect
Benchmark value 26 exceeds gate value 25 for firefox browserify home mean firstReactRender
Benchmark value 6 exceeds gate value 1 for firefox browserify home mean initialActions
Benchmark value 11 exceeds gate value 9 for firefox browserify home mean setupStore
Benchmark value 1717 exceeds gate value 1660 for firefox browserify home p95 uiStartup
Benchmark value 239 exceeds gate value 195 for firefox browserify home p95 domInteractive
Benchmark value 20 exceeds gate value 2 for firefox browserify home p95 initialActions
Benchmark value 36 exceeds gate value 27 for firefox browserify home p95 setupStore
Benchmark value 1617 exceeds gate value 1615 for firefox webpack home mean uiStartup
Benchmark value 35 exceeds gate value 26 for firefox webpack home mean backgroundConnect
Benchmark value 57 exceeds gate value 38 for firefox webpack home mean firstReactRender
Benchmark value 7 exceeds gate value 1 for firefox webpack home mean initialActions
Benchmark value 255 exceeds gate value 156 for firefox webpack home p95 domInteractive
Benchmark value 85 exceeds gate value 49 for firefox webpack home p95 backgroundConnect
Benchmark value 68 exceeds gate value 50 for firefox webpack home p95 firstReactRender
Benchmark value 17 exceeds gate value 2 for firefox webpack home p95 initialActions
Sum of mean exceeds: 412ms | Sum of p95 exceeds: 949.8ms
Sum of all benchmark exceeds: 1361.8ms

Bundle size diffs [🚀 Bundle size reduced!]
  • background: 236 Bytes (0%)
  • ui: 1.77 KiB (0.03%)
  • common: -71.04 KiB (-0.94%)

@matthiasgeihs matthiasgeihs force-pushed the mg/sanitize-sensitive-items branch 2 times, most recently from 75b2bd9 to 8256aa4 Compare August 12, 2025 13:39
@metamaskbot
Copy link
Collaborator

Builds ready [8256aa4]
UI Startup Metrics (1172 ± 66 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1172105513706612181282
load99688211326310491103
domContentLoaded98987011286310411089
domInteractive16133541631
firstPaint70483111638710211091
backgroundConnect2152042447218231
firstReactRender20125462134
getState12486121328
initialActions30507212
loadScripts78166489962834882
setupStore74242811
WebpackHomeuiStartup22401663268421623552538
load16861194199516917701913
domContentLoaded16791190197116617631899
domInteractive171180131447
firstPaint1756446466212286
backgroundConnect3613346473383
firstReactRender20591416111337393
getState3043077113283
initialActions5213269
loadScripts16741188195816517571890
setupStore176289321526
FirefoxBrowserifyHomeuiStartup1322113717369313731476
load114299713637511941273
domContentLoaded114199713637511941272
domInteractive993327546103219
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect291691133159
firstReactRender24205572350
getState62458529
initialActions30526211
loadScripts112198313407411741242
setupStore83539631
WebpackHomeuiStartup16331399208814017001904
load13611157164311414351598
domContentLoaded13601157164311414341597
domInteractive96352994598249
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect3219116143762
firstReactRender55427266065
getState944871025
initialActions41224315
loadScripts13361134162211314111576
setupStore11518419928
Benchmark value 216 exceeds gate value 10 for chrome browserify home mean backgroundConnect
Benchmark value 4 exceeds gate value 1 for chrome browserify home mean initialActions
Benchmark value 231 exceeds gate value 18 for chrome browserify home p95 backgroundConnect
Benchmark value 12 exceeds gate value 1.2 for chrome browserify home p95 initialActions
Benchmark value 2240 exceeds gate value 2192 for chrome webpack home mean uiStartup
Benchmark value 31 exceeds gate value 29 for chrome webpack home mean getState
Benchmark value 2538 exceeds gate value 2454 for chrome webpack home p95 uiStartup
Benchmark value 393 exceeds gate value 370 for chrome webpack home p95 firstReactRender
Benchmark value 283 exceeds gate value 195 for chrome webpack home p95 getState
Benchmark value 9 exceeds gate value 7 for chrome webpack home p95 initialActions
Benchmark value 29 exceeds gate value 25 for firefox browserify home mean backgroundConnect
Benchmark value 3 exceeds gate value 1 for firefox browserify home mean initialActions
Benchmark value 219 exceeds gate value 195 for firefox browserify home p95 domInteractive
Benchmark value 29 exceeds gate value 24 for firefox browserify home p95 getState
Benchmark value 11 exceeds gate value 2 for firefox browserify home p95 initialActions
Benchmark value 31 exceeds gate value 27 for firefox browserify home p95 setupStore
Benchmark value 1634 exceeds gate value 1615 for firefox webpack home mean uiStartup
Benchmark value 33 exceeds gate value 26 for firefox webpack home mean backgroundConnect
Benchmark value 56 exceeds gate value 38 for firefox webpack home mean firstReactRender
Benchmark value 4 exceeds gate value 1 for firefox webpack home mean initialActions
Benchmark value 249 exceeds gate value 156 for firefox webpack home p95 domInteractive
Benchmark value 62 exceeds gate value 49 for firefox webpack home p95 backgroundConnect
Benchmark value 65 exceeds gate value 50 for firefox webpack home p95 firstReactRender
Benchmark value 15 exceeds gate value 2 for firefox webpack home p95 initialActions
Sum of mean exceeds: 312ms | Sum of p95 exceeds: 596.8ms
Sum of all benchmark exceeds: 908.8ms

Bundle size diffs [🚀 Bundle size reduced!]
  • background: -1 KiB (-0.02%)
  • ui: 1.78 KiB (0.03%)
  • common: -68.68 KiB (-0.91%)

@matthiasgeihs matthiasgeihs force-pushed the mg/sanitize-sensitive-items branch 3 times, most recently from 621c9da to ee2a368 Compare August 12, 2025 15:39
@matthiasgeihs matthiasgeihs changed the title Sanitize sensitive items from state fix: sanitize sensitive items from state Aug 12, 2025
@matthiasgeihs matthiasgeihs changed the title fix: sanitize sensitive items from state fix: sanitize sensitive items from UI state Aug 12, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [ee2a368]
UI Startup Metrics (1171 ± 68 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1171104514376811981314
load99189112025810251099
domContentLoaded98487911935810161093
domInteractive18134261732
firstPaint62782120139510021080
backgroundConnect2182052508224234
firstReactRender20144052131
getState1157381226
initialActions40537314
loadScripts77266597458806882
setupStore74242811
WebpackHomeuiStartup22181691270122423562583
load16651226202618317941928
domContentLoaded16581222202218117771919
domInteractive171193121436
firstPaint1696237756201286
backgroundConnect3014349342865
firstReactRender19493401101181395
getState4043128412280
initialActions7217017612
loadScripts16541220201718017751911
setupStore217303481528
FirefoxBrowserifyHomeuiStartup13281110178010213971493
load114396813288112111271
domContentLoaded114396813288112111270
domInteractive983527341106204
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect3216362363158
firstReactRender24195262338
getState726410532
initialActions30416215
loadScripts112295413128211911250
setupStore939513644
WebpackHomeuiStartup16331420210615217011954
load13491158163610914151563
domContentLoaded13491157163510914151563
domInteractive983227150100256
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect3720133213894
firstReactRender55449175868
getState124104151141
initialActions8020625323
loadScripts13211133161211113961514
setupStore12511215937
Benchmark value 219 exceeds gate value 10 for chrome browserify home mean backgroundConnect
Benchmark value 4 exceeds gate value 1 for chrome browserify home mean initialActions
Benchmark value 235 exceeds gate value 18 for chrome browserify home p95 backgroundConnect
Benchmark value 14 exceeds gate value 1.2 for chrome browserify home p95 initialActions
Benchmark value 2219 exceeds gate value 2192 for chrome webpack home mean uiStartup
Benchmark value 40 exceeds gate value 29 for chrome webpack home mean getState
Benchmark value 2583 exceeds gate value 2454 for chrome webpack home p95 uiStartup
Benchmark value 395 exceeds gate value 370 for chrome webpack home p95 firstReactRender
Benchmark value 280 exceeds gate value 195 for chrome webpack home p95 getState
Benchmark value 12 exceeds gate value 7 for chrome webpack home p95 initialActions
Benchmark value 32 exceeds gate value 25 for firefox browserify home mean backgroundConnect
Benchmark value 4 exceeds gate value 1 for firefox browserify home mean initialActions
Benchmark value 10 exceeds gate value 9 for firefox browserify home mean setupStore
Benchmark value 204 exceeds gate value 195 for firefox browserify home p95 domInteractive
Benchmark value 32 exceeds gate value 24 for firefox browserify home p95 getState
Benchmark value 15 exceeds gate value 2 for firefox browserify home p95 initialActions
Benchmark value 44 exceeds gate value 27 for firefox browserify home p95 setupStore
Benchmark value 1633 exceeds gate value 1615 for firefox webpack home mean uiStartup
Benchmark value 37 exceeds gate value 26 for firefox webpack home mean backgroundConnect
Benchmark value 55 exceeds gate value 38 for firefox webpack home mean firstReactRender
Benchmark value 8 exceeds gate value 1 for firefox webpack home mean initialActions
Benchmark value 1954 exceeds gate value 1935 for firefox webpack home p95 uiStartup
Benchmark value 256 exceeds gate value 156 for firefox webpack home p95 domInteractive
Benchmark value 94 exceeds gate value 49 for firefox webpack home p95 backgroundConnect
Benchmark value 68 exceeds gate value 50 for firefox webpack home p95 firstReactRender
Benchmark value 41 exceeds gate value 32 for firefox webpack home p95 getState
Benchmark value 23 exceeds gate value 2 for firefox webpack home p95 initialActions
Benchmark value 37 exceeds gate value 28 for firefox webpack home p95 setupStore
Sum of mean exceeds: 314ms | Sum of p95 exceeds: 741.8ms
Sum of all benchmark exceeds: 1055.8ms

Bundle size diffs [🚀 Bundle size reduced!]
  • background: -876 Bytes (-0.02%)
  • ui: 1.78 KiB (0.03%)
  • common: -68.68 KiB (-0.91%)

@matthiasgeihs matthiasgeihs force-pushed the mg/sanitize-sensitive-items branch from ee2a368 to 936c5ac Compare August 13, 2025 07:03
@matthiasgeihs matthiasgeihs force-pushed the mg/sanitize-sensitive-items branch 2 times, most recently from cb9d0b8 to 3ffe32b Compare August 13, 2025 07:29
@metamaskbot
Copy link
Collaborator

Builds ready [3ffe32b]
UI Startup Metrics (1142 ± 64 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1142104012706411941265
load96987110995810161072
domContentLoaded96085310825810071064
domInteractive17134771741
firstPaint6427910933879881069
backgroundConnect2101952368213226
firstReactRender18143741931
getState1052851321
initialActions407910315
loadScripts75965488059803862
setupStore85223814
WebpackHomeuiStartup21981622270023023242570
load16431190202518017451914
domContentLoaded16351178200017717401899
domInteractive191297191475
firstPaint1746554070209288
backgroundConnect3212331333267
firstReactRender19885411108322383
getState2542966012268
initialActions7218318610
loadScripts16311175198717617361887
setupStore3163057015297
FirefoxBrowserifyHomeuiStartup14251208200611614781619
load1224105615419212851385
domContentLoaded1224105615409212851384
domInteractive1083228548119222
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect311983123363
firstReactRender24205942529
getState72699619
initialActions30436213
loadScripts1202103815219212621361
setupStore11319222647
WebpackHomeuiStartup15371358204413616101803
load12801125161112013621543
domContentLoaded12801125161112013621543
domInteractive94292605194241
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect2919142133242
firstReactRender51396365461
getState94598823
initialActions4014314311
loadScripts12581107159211713431492
setupStore10416618825
Benchmark value 210 exceeds gate value 10 for chrome browserify home mean backgroundConnect
Benchmark value 4 exceeds gate value 1 for chrome browserify home mean initialActions
Benchmark value 227 exceeds gate value 18 for chrome browserify home p95 backgroundConnect
Benchmark value 15 exceeds gate value 1.2 for chrome browserify home p95 initialActions
Benchmark value 2198 exceeds gate value 2192 for chrome webpack home mean uiStartup
Benchmark value 2571 exceeds gate value 2454 for chrome webpack home p95 uiStartup
Benchmark value 75 exceeds gate value 57 for chrome webpack home p95 domInteractive
Benchmark value 383 exceeds gate value 370 for chrome webpack home p95 firstReactRender
Benchmark value 268 exceeds gate value 195 for chrome webpack home p95 getState
Benchmark value 10 exceeds gate value 7 for chrome webpack home p95 initialActions
Benchmark value 297 exceeds gate value 65 for chrome webpack home p95 setupStore
Benchmark value 1426 exceeds gate value 1405 for firefox browserify home mean uiStartup
Benchmark value 32 exceeds gate value 25 for firefox browserify home mean backgroundConnect
Benchmark value 4 exceeds gate value 1 for firefox browserify home mean initialActions
Benchmark value 11 exceeds gate value 9 for firefox browserify home mean setupStore
Benchmark value 222 exceeds gate value 195 for firefox browserify home p95 domInteractive
Benchmark value 13 exceeds gate value 2 for firefox browserify home p95 initialActions
Benchmark value 47 exceeds gate value 27 for firefox browserify home p95 setupStore
Benchmark value 30 exceeds gate value 26 for firefox webpack home mean backgroundConnect
Benchmark value 51 exceeds gate value 38 for firefox webpack home mean firstReactRender
Benchmark value 5 exceeds gate value 1 for firefox webpack home mean initialActions
Benchmark value 241 exceeds gate value 156 for firefox webpack home p95 domInteractive
Benchmark value 61 exceeds gate value 50 for firefox webpack home p95 firstReactRender
Benchmark value 11 exceeds gate value 2 for firefox webpack home p95 initialActions
Sum of mean exceeds: 263ms | Sum of p95 exceeds: 841.8ms
Sum of all benchmark exceeds: 1104.8ms

Bundle size diffs [🚀 Bundle size reduced!]
  • background: -804 Bytes (-0.02%)
  • ui: -725 Bytes (-0.01%)
  • common: -68.67 KiB (-0.91%)

@matthiasgeihs matthiasgeihs marked this pull request as ready for review August 13, 2025 07:57
cursor[bot]

This comment was marked as outdated.

@matthiasgeihs matthiasgeihs force-pushed the mg/sanitize-sensitive-items branch from 627ac12 to d0328a7 Compare August 13, 2025 09:42
cursor[bot]

This comment was marked as outdated.

@metamaskbot
Copy link
Collaborator

Builds ready [d0328a7]
UI Startup Metrics (1153 ± 71 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1153103214357111891283
load98087612356710111104
domContentLoaded97286912286710051097
domInteractive16133941625
firstPaint6808811693829911081
backgroundConnect2132012417217227
firstReactRender19153742029
getState1053371126
initialActions40748313
loadScripts76666599566801896
setupStore85283812
WebpackHomeuiStartup21901723258718622922513
load16541248192715317281879
domContentLoaded16481244191315117241871
domInteractive171190141563
firstPaint1666246671203291
backgroundConnect251279112754
firstReactRender19184386106313382
getState2743126811282
initialActions5212259
loadScripts16431241189915017211858
setupStore236305571431
FirefoxBrowserifyHomeuiStartup1342115116609114001509
load1161100614748512101347
domContentLoaded1161100614738512101346
domInteractive1003526343106212
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect291892123160
firstReactRender23205242430
getState62395616
initialActions40376217
loadScripts113999214058411921328
setupStore73478632
WebpackHomeuiStartup16001399194813816941881
load13311166166711114071553
domContentLoaded13301165166611114071553
domInteractive94342774797243
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect30197583544
firstReactRender53418075765
getState94426825
initialActions5010915314
loadScripts13081142164411113831533
setupStore125124161151
Benchmark value 214 exceeds gate value 10 for chrome browserify home mean backgroundConnect
Benchmark value 4 exceeds gate value 1 for chrome browserify home mean initialActions
Benchmark value 228 exceeds gate value 18 for chrome browserify home p95 backgroundConnect
Benchmark value 13 exceeds gate value 1.2 for chrome browserify home p95 initialActions
Benchmark value 2513 exceeds gate value 2454 for chrome webpack home p95 uiStartup
Benchmark value 64 exceeds gate value 57 for chrome webpack home p95 domInteractive
Benchmark value 382 exceeds gate value 370 for chrome webpack home p95 firstReactRender
Benchmark value 282 exceeds gate value 195 for chrome webpack home p95 getState
Benchmark value 9 exceeds gate value 7 for chrome webpack home p95 initialActions
Benchmark value 29 exceeds gate value 25 for firefox browserify home mean backgroundConnect
Benchmark value 4 exceeds gate value 1 for firefox browserify home mean initialActions
Benchmark value 212 exceeds gate value 195 for firefox browserify home p95 domInteractive
Benchmark value 17 exceeds gate value 2 for firefox browserify home p95 initialActions
Benchmark value 32 exceeds gate value 27 for firefox browserify home p95 setupStore
Benchmark value 30 exceeds gate value 26 for firefox webpack home mean backgroundConnect
Benchmark value 53 exceeds gate value 38 for firefox webpack home mean firstReactRender
Benchmark value 5 exceeds gate value 1 for firefox webpack home mean initialActions
Benchmark value 243 exceeds gate value 156 for firefox webpack home p95 domInteractive
Benchmark value 65 exceeds gate value 50 for firefox webpack home p95 firstReactRender
Benchmark value 14 exceeds gate value 2 for firefox webpack home p95 initialActions
Benchmark value 51 exceeds gate value 28 for firefox webpack home p95 setupStore
Sum of mean exceeds: 237ms | Sum of p95 exceeds: 562.8ms
Sum of all benchmark exceeds: 799.8ms

Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 628 Bytes (0.01%)
  • ui: 0 Bytes (0%)
  • common: 10 Bytes (0%)

@matthiasgeihs matthiasgeihs force-pushed the mg/sanitize-sensitive-items branch from d0328a7 to cd1410a Compare August 13, 2025 11:22
cursor[bot]

This comment was marked as outdated.

@matthiasgeihs matthiasgeihs added the Sev1-high High severity; partial loss of service with severe impact upon users, with no workaround. label Aug 13, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [cd1410a]
UI Startup Metrics (1171 ± 75 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1171103514787512141292
load99487012957110361106
domContentLoaded98786512927110291099
domInteractive17134361738
firstPaint63585119240710081104
backgroundConnect21419534015217226
firstReactRender20144752133
getState1053361224
initialActions3053628
loadScripts78066395565825890
setupStore84253812
WebpackHomeuiStartup21991656259918222822530
load16711224197815917521908
domContentLoaded16651220197415817451897
domInteractive181195181476
firstPaint188651689166201318
backgroundConnect2813316312846
firstReactRender1788851689161390
getState2642946411263
initialActions5218359
loadScripts16611215196415717431892
setupStore1163141217
FirefoxBrowserifyHomeuiStartup13701191177210314231566
load1180104014888112291316
domContentLoaded1179104014888112291315
domInteractive1033334855102230
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect301990123360
firstReactRender24206262432
getState62517620
initialActions30355312
loadScripts1157102614698112071296
setupStore936311636
WebpackHomeuiStartup16841444212715217871947
load14071176172311914871638
domContentLoaded14071175172211914871638
domInteractive983127546101250
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect3319117133656
firstReactRender55428486067
getState12413516927
initialActions40768314
loadScripts13821153170111714601578
setupStore10514115824
Benchmark value 214 exceeds gate value 10 for chrome browserify home mean backgroundConnect
Benchmark value 3 exceeds gate value 1 for chrome browserify home mean initialActions
Benchmark value 227 exceeds gate value 18 for chrome browserify home p95 backgroundConnect
Benchmark value 8 exceeds gate value 1.2 for chrome browserify home p95 initialActions
Benchmark value 2199 exceeds gate value 2192 for chrome webpack home mean uiStartup
Benchmark value 2531 exceeds gate value 2454 for chrome webpack home p95 uiStartup
Benchmark value 76 exceeds gate value 57 for chrome webpack home p95 domInteractive
Benchmark value 390 exceeds gate value 370 for chrome webpack home p95 firstReactRender
Benchmark value 263 exceeds gate value 195 for chrome webpack home p95 getState
Benchmark value 9 exceeds gate value 7 for chrome webpack home p95 initialActions
Benchmark value 31 exceeds gate value 25 for firefox browserify home mean backgroundConnect
Benchmark value 4 exceeds gate value 1 for firefox browserify home mean initialActions
Benchmark value 10 exceeds gate value 9 for firefox browserify home mean setupStore
Benchmark value 230 exceeds gate value 195 for firefox browserify home p95 domInteractive
Benchmark value 12 exceeds gate value 2 for firefox browserify home p95 initialActions
Benchmark value 36 exceeds gate value 27 for firefox browserify home p95 setupStore
Benchmark value 1684 exceeds gate value 1615 for firefox webpack home mean uiStartup
Benchmark value 1408 exceeds gate value 1380 for firefox webpack home mean load
Benchmark value 1407 exceeds gate value 1380 for firefox webpack home mean domContentLoaded
Benchmark value 33 exceeds gate value 26 for firefox webpack home mean backgroundConnect
Benchmark value 55 exceeds gate value 38 for firefox webpack home mean firstReactRender
Benchmark value 4 exceeds gate value 1 for firefox webpack home mean initialActions
Benchmark value 1383 exceeds gate value 1360 for firefox webpack home mean loadScripts
Benchmark value 1947 exceeds gate value 1935 for firefox webpack home p95 uiStartup
Benchmark value 250 exceeds gate value 156 for firefox webpack home p95 domInteractive
Benchmark value 56 exceeds gate value 49 for firefox webpack home p95 backgroundConnect
Benchmark value 67 exceeds gate value 50 for firefox webpack home p95 firstReactRender
Benchmark value 14 exceeds gate value 2 for firefox webpack home p95 initialActions
Sum of mean exceeds: 397ms | Sum of p95 exceeds: 597.8ms
Sum of all benchmark exceeds: 994.8ms

Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 709 Bytes (0.01%)
  • ui: 0 Bytes (0%)
  • common: 10 Bytes (0%)

Gudahtt
Gudahtt previously approved these changes Aug 13, 2025
Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@lwin-kyaw lwin-kyaw left a comment

Choose a reason for hiding this comment

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

LGTM!

@matthiasgeihs matthiasgeihs force-pushed the mg/sanitize-sensitive-items branch from 10c0533 to 631c7dd Compare August 13, 2025 16:49
@matthiasgeihs matthiasgeihs force-pushed the mg/sanitize-sensitive-items branch from 631c7dd to 0dd48d5 Compare August 13, 2025 16:57
@metamaskbot
Copy link
Collaborator

Builds ready [0dd48d5]
UI Startup Metrics (1190 ± 71 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1190106514327112391309
load100688211796510541120
domContentLoaded99787711716610511109
domInteractive18144761733
firstPaint64182117840510181096
backgroundConnect21620226510219235
firstReactRender21145772232
getState1146581226
initialActions30486211
loadScripts78967695865842893
setupStore84172811
WebpackHomeuiStartup22611696270723324152613
load16961252204520418381967
domContentLoaded16891246203020218281961
domInteractive1812101151557
firstPaint1807938761214314
backgroundConnect281571103352
firstReactRender19489415103190394
getState3252907312274
initialActions823053079
loadScripts16841244201720118241952
setupStore176311411322
FirefoxBrowserifyHomeuiStartup12941113168410813531503
load110897012887511731257
domContentLoaded110896912887511731257
domInteractive92332593899189
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect281672123058
firstReactRender23205152232
getState828312632
initialActions5016817214
loadScripts108895612727411491237
setupStore937412634
WebpackHomeuiStartup15581364200612416051833
load12951124156810113661493
domContentLoaded12941124156810113651492
domInteractive93312824895242
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect30208993343
firstReactRender53417275868
getState11416417826
initialActions40215315
loadScripts12721106155110013441472
setupStore95437827
Benchmark value 216 exceeds gate value 10 for chrome browserify home mean backgroundConnect
Benchmark value 4 exceeds gate value 1 for chrome browserify home mean initialActions
Benchmark value 235 exceeds gate value 18 for chrome browserify home p95 backgroundConnect
Benchmark value 11 exceeds gate value 1.2 for chrome browserify home p95 initialActions
Benchmark value 2262 exceeds gate value 2192 for chrome webpack home mean uiStartup
Benchmark value 32 exceeds gate value 29 for chrome webpack home mean getState
Benchmark value 9 exceeds gate value 7 for chrome webpack home mean initialActions
Benchmark value 2613 exceeds gate value 2454 for chrome webpack home p95 uiStartup
Benchmark value 58 exceeds gate value 57 for chrome webpack home p95 domInteractive
Benchmark value 394 exceeds gate value 370 for chrome webpack home p95 firstReactRender
Benchmark value 274 exceeds gate value 195 for chrome webpack home p95 getState
Benchmark value 9 exceeds gate value 7 for chrome webpack home p95 initialActions
Benchmark value 29 exceeds gate value 25 for firefox browserify home mean backgroundConnect
Benchmark value 5 exceeds gate value 1 for firefox browserify home mean initialActions
Benchmark value 10 exceeds gate value 9 for firefox browserify home mean setupStore
Benchmark value 32 exceeds gate value 24 for firefox browserify home p95 getState
Benchmark value 14 exceeds gate value 2 for firefox browserify home p95 initialActions
Benchmark value 34 exceeds gate value 27 for firefox browserify home p95 setupStore
Benchmark value 30 exceeds gate value 26 for firefox webpack home mean backgroundConnect
Benchmark value 54 exceeds gate value 38 for firefox webpack home mean firstReactRender
Benchmark value 4 exceeds gate value 1 for firefox webpack home mean initialActions
Benchmark value 242 exceeds gate value 156 for firefox webpack home p95 domInteractive
Benchmark value 68 exceeds gate value 50 for firefox webpack home p95 firstReactRender
Benchmark value 15 exceeds gate value 2 for firefox webpack home p95 initialActions
Sum of mean exceeds: 316ms | Sum of p95 exceeds: 635.8ms
Sum of all benchmark exceeds: 951.8ms

@matthiasgeihs matthiasgeihs added this pull request to the merge queue Aug 13, 2025
Merged via the queue into main with commit 5e642ca Aug 13, 2025
272 of 274 checks passed
@matthiasgeihs matthiasgeihs deleted the mg/sanitize-sensitive-items branch August 13, 2025 17:58
@github-actions github-actions bot locked and limited conversation to collaborators Aug 13, 2025
@metamaskbot metamaskbot added the release-13.2.0 Issue or pull request that will be included in release 13.2.0 label Aug 13, 2025
@seaona
Copy link
Contributor

seaona commented Aug 14, 2025

✔️ I verified the fix on the RC and it looks good.
Both keys are now removed from the State Logs: 'encryptionKey', 'encryptionSalt'

Screenshot from 2025-08-14 09-58-53 Screenshot from 2025-08-14 09-58-46

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-13.2.0 Issue or pull request that will be included in release 13.2.0 Sev1-high High severity; partial loss of service with severe impact upon users, with no workaround. size-M team-web3auth Web3Auth team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants