Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Launch REPL in a Sandbox on macOS #28

Open
mattt opened this issue Oct 8, 2020 · 0 comments
Open

Launch REPL in a Sandbox on macOS #28

mattt opened this issue Oct 8, 2020 · 0 comments
Labels
enhancement New feature or request security

Comments

@mattt
Copy link
Contributor

mattt commented Oct 8, 2020

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 mattt added enhancement New feature or request security labels Oct 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request security
Projects
None yet
Development

No branches or pull requests

1 participant