Can Lupa be used to run untrusted lua code in python?
问题 Let's say I create LuaRuntime with register_eval=False and an attribute_filter that prevents access to anything except a few python functions. Is it safe to assume that lua code won't be able to do os.system("rm -rf *") or something like that? 回答1: From looking at the Lupa doc: Restricting Lua access to Python objects Lupa provides a simple mechanism to control access to Python objects. Each attribute access can be passed through a filter function as follows... It doesn't say anything about