2 ms·
You can run nodejs through `sandbox-exec` which is part of macos. I've never tried any of them but there's also a few wrappers specifically to do that, such as
by tredre3 1y ago
You can run nodejs through `sandbox-exec` which is part of macos.
I've never tried any of them but there's also a few wrappers specifically to do that, such as: https://github.com/berstend/node-safe https://github.com/berstend/node-safe
Otherwise you're down to docker or virtualisation or creating one system user per project...