Open simbados opened 2 years ago
@simbados thanks for the feedback :) In my testing vanilla Node.js was accessing these files, though blocking them seemed to not break anything. I've whitelisted them for the time being until I've had the chance to dig deeper into this and understand the possible implications of blocking access to these specific files.
(If someone knows more specifically why node is accessing them feel free to chime in)
Thanks for the answer! I might have two more questions:
Have a good week!
Hi!
Thanks for this awesome project, really appreciate the effort to make the node ecosystem more secure. I have one question: Why does the default sandbox need permission to read master.passwd and passwd? (See lines 31 and 32)
https://github.com/berstend/node-safe/blob/6641fb8c73f616c992278665370d25df102b863b/src/sandbox/macos_defaults.sb#L31