os.system() or os exec-family call
High
- Category
- Dangerous Code Execution
- Content
from PIL import Image except ImportError: print("Installing Pillow...", file=sys.stderr) os.system(f"{sys.executable} -m pip install Pillow requests -q") from PIL import Image try:- Confidence
- 94% confidence
- Finding
- os.system(f"{sys.executable} -m pip install Pillow requests -q")
