1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app
Erik Marks cef95f8733
Stop storing request and response objects in the permission activity log (#14485)
We currently store the JSON-RPC request and response objects in the permission activity log. The utility of doing this was always rather dubious, but never problematic. Until now.

In Flask, as the restricted methods have expanded in number, user secrets may be included on JSON-RPC message objects. This PR removes these properties from the permission activity log, and adds a migration which does the same to existing log objects. We don't interact with the log objects anywhere in our codebase, but we don't want unexpected properties to cause errors in the future should any log objects be retained.

This PR also updates relevant tests and test data. It makes a minor functional change to how a request is designated as a success or failure, but this should not change any behavior in practice.
2022-04-21 08:44:15 -07:00
..
_locales Modify import SRP page (#14425) 2022-04-18 15:12:16 -05:00
build-types
fonts
images HoldToRevealButton component (#13785) 2022-04-18 09:32:16 -02:30
manifest
scripts Stop storing request and response objects in the permission activity log (#14485) 2022-04-21 08:44:15 -07:00
vendor/trezor
background.html
home.html
loading.html
notification.html
phishing.html Fix/14302 about fox logo (#14308) 2022-04-01 07:00:33 -07:00
popup.html
trezor-usb-permissions.html