You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 3, 2022. It is now read-only.
If a permission's description is changed, those previous permissions should be invalidated, because it may imply that the previous permission was worded deceptively and consent was maybe given illegitimately.
Additionally, permissions objects are easy to forge for anyone who has disk access.
If we incorporated a signature of granted permissions into the grant flow (and maybe app keys for delegations), and we validated those signatures during permission traversal, we would gain a few benefits:
Capabilities would be much harder to spoof, even with disk access (as MetaMask never stores private keys to disk)
The wording of a permission would be bound with the consent given, and so analysis of why a person granted permission could always include analysis of the exact terms they consented to.