os.system() or os exec-family call
High
- Category
- Dangerous Code Execution
- Content
from reportlab.lib.units import inch except ImportError: print("Warning: reportlab not installed. Installing required package...") os.system(f"{sys.executable} -m pip install reportlab -q") from reportlab.lib import colors from reportlab.lib.pagesizes import letter from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle- Confidence
- 98% confidence
- Finding
- os.system(f"{sys.executable} -m pip install reportlab -q")
