subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
"Install command must be a direct executable invocation without shell operators: " + ", ".join(sorted(set(bad))) ) return subprocess.run(argv, cwd=str(cwd) if cwd else None, text=True, capture_output=True) def maybe_json(text: str):- Confidence
- 88% confidence
- Finding
- return subprocess.run(argv, cwd=str(cwd) if cwd else None, text=True, capture_output=True)
