Sandbox v0.3.0 provides restricted, isolated scripting environments for Elixir through the use of embedded Lua.
This project is powered by Robert Virding’s amazing Luerl, an Erlang library that lets one run Lua scripts on the BEAM.
Luerl executes Lua code without running a Lua VM as a separate application! Rather, the state of the VM is used as a data structure that can be externally manipulated and processed.
The :luerl_sandbox
module is utilized wherever possible. This limits access to dangerous core libraries. It also permits Lua scripts to be run with enforced CPU reduction limits.