Please sign in to comment.
Require request_insecure_environment to be called from the mod's main…
… scope Previously you could steal a secure environment from a trusted mod by wrapping request_insecure_environment with some code like this: local rie_cp = minetest.request_insecure_environment local stolen_ie function minetest.request_insecure_environment() local ie = rie_cp() stolen_ie = stolen_ie or ie return ie end
- Loading branch information...
Showing with 28 additions and 6 deletions.