1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +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 Dark Mode: Create Theme-friendly top left logo component (#13897) 2022-03-11 10:45:13 -06:00
fonts
images HoldToRevealButton component (#13785) 2022-04-18 09:32:16 -02:30
manifest [GridPlus] Updates Lattice dependencies (#13834) 2022-03-08 15:54:29 -03:30
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 Lavamoat build system integration for WebApp (#12242) 2021-10-05 12:06:31 -10:00
home.html Lavamoat build system integration for WebApp (#12242) 2021-10-05 12:06:31 -10:00
loading.html
notification.html Lavamoat build system integration for WebApp (#12242) 2021-10-05 12:06:31 -10:00
phishing.html Fix/14302 about fox logo (#14308) 2022-04-01 07:00:33 -07:00
popup.html Lavamoat build system integration for WebApp (#12242) 2021-10-05 12:06:31 -10:00
trezor-usb-permissions.html