Skip to content
A library for elisp sandboxed evaluation
Emacs Lisp Shell
Pull request Compare This branch is 3 commits ahead, 20 commits behind joelmccracken:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
spec
vendor
.gitignore
.gitmodules
README
README.creole
sandbox.el
test.sh

README.creole

Sandbox: run Elisp in a jail

Erbot runs the #emacs robot. He has a jail inside him for running arbitary elisp safely.

The code is here: git:git.sv.gnu.org/erbot.git

Also on GitHub here.

How to use it

First install sandbox and then:

(sandbox '(setq x 100))

=>

(emacs-sandbox-setq emacs-sandbox-x 100)

and:

(sandbox '(defun nic-test-2 () 100))

=>

(emacs-sandbox-defun emacs-sandbox-nic-test-2 nil 100)

Gaps

We need a way to evaluate stuff coming out of the sandbox.

Potential problems

bad fn calls? infinite loops? any other kind of DOS?

Something went wrong with that request. Please try again.