os.system() or os exec-family call
High
- Category
- Dangerous Code Execution
- Content
from segment_anything import SamPredictor, sam_model_registry except ImportError: print("正在安装 segment_anything...") os.system("pip install git+https://github.com/facebookresearch/segment-anything.git -q") from segment_anything import SamPredictor, sam_model_registry import torch- Confidence
- 98% confidence
- Finding
- os.system("pip install git+https://github.com/facebookresearch/segment-anything.git -q")
