subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
if _run_command(["pgrep", "-x", "transmission-daemon"]).returncode != 0: os.makedirs(os.path.expanduser("~/.transmission"), exist_ok=True) subprocess.Popen( [ "transmission-daemon", "--config-dir",- Confidence
- 83% confidence
- Finding
- The workflow can silently start a background transmission-daemon process and point it at a download directory without explicit runtime confirmation. In an agent skill, spawning long-lived background processes increases risk because a natural-language request can lead to persistent local side effects beyond a simple search operation.
