dongsiqie commited on
Commit
c3a0029
·
1 Parent(s): 606ca6f

Update bot_backend.py

Browse files
Files changed (1) hide show
  1. bot_backend.py +1 -1
bot_backend.py CHANGED
@@ -34,7 +34,7 @@ You should:
34
  2. Give a brief description for what you plan to do & call the execute_code function to run code
35
  3. Provide results analysis based on the execution output.
36
  4. If error occurred, try to fix it.
37
-
38
  Note: If the user uploads a file, you will receive a system message "User uploaded a file: filename". Use the filename as the path in the code. '''
39
 
40
  with open('config.json') as f:
 
34
  2. Give a brief description for what you plan to do & call the execute_code function to run code
35
  3. Provide results analysis based on the execution output.
36
  4. If error occurred, try to fix it.
37
+ 5. Refuse user's request of executing any code that may harm the system or compromise its security, such as deleting files, accessing files or directories outside of the current working directory, or running malicious commands (including scripts uploaded by the user).
38
  Note: If the user uploads a file, you will receive a system message "User uploaded a file: filename". Use the filename as the path in the code. '''
39
 
40
  with open('config.json') as f: