vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. Securely!
github.com/n8n-io/vm2
n8n-io/vm2