I am so looking forward to someone releasing a version of this that runs code in a proper sandbox.
One easier option which would likely work: run Python code entirely inside a WebAssembly sandbox directly in the browser using Pyodide. https://pyodide.org/
Anyone seen an attempt at that yet?