LeastAuthority / metamask-plugin-beta

MIT License
1 stars 4 forks source link

Is it possible for another script to trick this into not using SES by setting `global.process.env.IN_TEST`? #4

Open 44203 opened 4 years ago

44203 commented 4 years ago

Is it possible for another script to trick this into not using SES by setting global.process.env.IN_TEST?

Originally posted by @emeryrose in https://github.com/LeastAuthority/metamask-plugin-beta/pull/1

44203 commented 4 years ago

Use Object.freeze(process.env) to make sure