DocTest icon indicating copy to clipboard operation
DocTest copied to clipboard

Launch REPL in a Sandbox on macOS

Open mattt opened this issue 5 years ago • 0 comments

As a general rule, you shouldn't run untrusted code. However, it would be helpful to either document or provide built-in functionality to run everything through sandbox-exec(1) on macOS. For example, a user could pass the following sandbox profile to prevent the evaluated code from accessing the network:

(version 1)
(allow default)
(deny network*)

mattt avatar Oct 08 '20 18:10 mattt