That’s one of the reasons I suggested compiling Lua to C. Compiled C code is quite good against hacking.