MetaMask / metamask-snaps-beta

Fork of MetaMask that supports plugins! Read the Wiki!
https://github.com/MetaMask/metamask-snaps-beta/wiki
MIT License
144 stars 57 forks source link

Remove as many global endowments as possible #161

Closed danfinlay closed 2 years ago

danfinlay commented 4 years ago

In particular setTimeout and setInterval are themselves evaluators, and so can lead to sandbox escapes, and so we should not expose them without attenuating them into a new form.

We could also provide proxies of those functions that:

rekmarks commented 2 years ago

No longer relevant.