codejail
codejail copied to clipboard
Secure code execution
See https://github.com/openedx/codejail/pull/138, which I opened from my personal fork of codejail. When trying to run tests, GHA shows: ``` Error: Credentials could not be loaded, please check your action inputs:...
Note: sometimes running the update script causes an extraneous parenthesis to show up. To fix, you should just manually remove the character and commit to the branch. Additional information from...
Hello, I would like to execute this python code (containing a print statement and a sleep call for 1 second for each iteration of the `range(5)`). The idea was to...
Hi, I'm trying to install codejail. I followed all the instructions but when i run this code ``` import codejail.jail_code codejail.jail_code.configure('python', '/home/jail/env/sandenv/bin/python', 'sandbox') import codejail.safe_exec codejail.safe_exec.safe_exec("import os\nos.system('ls /etc')", {}) ```...
I have following error. Please help me to solve this problem. > Staff debug info: Traceback (most recent call last): File "/opt/bitnami/apps/edx/edx-platform/common/lib/xmodule/xmodule/capa_base.py", line 1151, in submit_problem correct_map = self.lcp.grade_answers(answers) File...
`not_safe_exec` is for running tests that use CodeJail but don't want to require an actual CodeJail configured. Now, it runs the code directly in the current process. This is bad...
It would be really interesting if the README in the github wiki would list the software projects that are using CodeJail, to get example of uses and references for integration.
This ticket is to track the analysis of feasibility of supporting CodeJail as a Debian Package, that could endup being included by Debian, Ubuntu and other Deb based distributions. Many...
Hi, I'm trying to follow the [installation guide](https://github.com/edx/codejail#installation) but when I tried to run the [using codejail](https://github.com/edx/codejail#using-codejail) code on **xserver devstack vangrat server**: ``` python import codejail.jail_code codejail.jail_code.configure('python', '/bin/python') import...