os.system() or os exec-family call
High
- Category
- Dangerous Code Execution
- Content
return True except ImportError: print("正在安装依赖...") os.system("pip install ChatTTS torch torchaudio -q") try: import ChatTTS return True- Confidence
- 96% confidence
- Finding
- The script invokes a shell command to install packages at runtime via os.system("pip install ..."). This introduces command-execution and supply-chain risk because execution now depends on external package indexes, network state, and whatever package versions resolve at runtime, which is especially dangerous for a skill advertised as local/offline TTS.
