berstend / node-safe

🤠 Make using Node.js safe again with Deno-like permissions

Home Page:https://node-safe.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature idea] linux support

OmgImAlexis opened this issue · comments

Would love to see linux support.

Definitely! I mentioned the findings of my initial Linux research in the readme.

We basically need to find a suitable sandbox implementation that we want to instrument with node-safe on Linux. In the readme I listed our minimum sandbox requirements further down as well.

It's a shame AppArmor dropped their --file option support a few years back, would've been perfect for our use-case 😄

Using AppArmor might still be possible by adding node-safe to the sudoers file, but I haven't checked yet how quick profile loading actually is (we generate dynamic sandbox profiles each invocation).

If anyone has an idea which Linux sandbox implementation would be the most suitable for us or does some further research please report your findings here :)

and windows support