So it’s about escaping the sandbox around Lua interpreter, not escaping some sandbox Redis itself is running in?
The Lua interpreter _within_ redis acts as a sandbox, which got a bit mangled here. Most features are not implemented in Lua, though. So this is only used for things like the EVAL command.