os.system() or os exec-family call
High
- Category
- Dangerous Code Execution
- Content
from google.auth.transport.requests import Request except ImportError: print("Installing required packages...") os.system(f"{sys.executable} -m pip install google-auth-oauthlib google-auth-httplib2 google-api-python-client -q") from google_auth_oauthlib.flow import InstalledAppFlow from google.auth.transport.requests import Request- Confidence
- 94% confidence
- Finding
- os.system(f"{sys.executable} -m pip install google-auth-oauthlib google-auth-httplib2 google-api-python-client -q")
