The repository codejailservice manages execution of untrusted code in secure sandboxes. It is designed primarily for Python execution, but can be used for other languages as well. The security is enforced with AppArmor.
The creation of Codejail service affects the way untrusted code is executed, because it runs in a separate container from the one running the platform.
Using with Tutor
Run the instructions from tutor plugin.
Plugin: tutor-contrib-codejail (https://github.com/eduNEXT/tutor-contrib-codejail)
Clone repo
git clone [email protected]:eduNEXT/codejailservice.git
Create a virtual environment
cd codejailservice
virtualenv venv
source venv/bin/activate
Install requirements
make requirements
Run service
make run
Enjoy the service!
Contributions are welcome! See our CONTRIBUTING file for more information – it also contains guidelines for how to maintain high code quality, which will make your contribution more likely to be accepted.
This software is licensed under the terms of the AGPLv3.