os.system() or os exec-family call
High
- Category
- Dangerous Code Execution
- Content
pass log(" [OCR] 正在安装 Tesseract...") os.system("sudo apt-get update -qq && sudo apt-get install -y -qq tesseract-ocr tesseract-ocr-chi-sim") return True def clean_text_for_comparison(text):- Confidence
- 98% confidence
- Finding
- The script executes a privileged shell command via os.system to run 'sudo apt-get update' and install packages at runtime. Even though the command string is static, invoking package installation from a content-generation skill expands the trust boundary, can alter the host system unexpectedly, and may trigger privileged execution paths that are unnecessary for normal slide generation.
