subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
if not script.is_file(): die(f"install.sh is missing from {SKILL_SCRIPTS}") try: proc = subprocess.run(["bash", str(script), "--home", str(home)], capture_output=True, text=True, timeout=900) except (OSError, subprocess.SubprocessError) as exc: die(f"could not run install.sh: {exc}")- Confidence
- 88% confidence
- Finding
- proc = subprocess.run(["bash", str(script), "--home", str(home)], capture_output=True, text=True, timeout=900)
