DeepSeek-Coder/Evaluation/PAL-Math/utils
2025-01-29 12:10:28 +00:00
..
grader.py init project 2023-11-02 22:07:09 +08:00
parser.py init project 2023-11-02 22:07:09 +08:00
python_executor.py 🔒 [Security Fix] Replace exec() with subprocess.run() to prevent arbitrary code execution- Replaced unsafe calls in evaluation scripts to enhance security.- Updated files: - (Line 64) - (Line 64) - (Line 64) - (Line 37)- Implemented for controlled execution.- Added exception handling to catch potential execution errors.- This update mitigates the risk of arbitrary code execution and enhances system security. Recommended: Test all affected evaluation modules to ensure functionality remains intact. 2025-01-29 12:10:28 +00:00