@mario That's really useful, thanks - https://healeycodes.com/sandboxing-javascript-code looks relevant too
Sandboxing JavaScript Code

An overview of the sandboxing landscape, and some experiments with Deno.

Polyglot Sandboxing

GraalVM compiles your Java applications ahead of time into standalone binaries that start instantly, provide peak performance with no warmup, and use fewer r...

@thadguidry @mario wow that's actually a really interesting option
@simon probably best to engage with them directly and ask your questions.