subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
if not launch_steps: raise RuntimeError("No launch command is defined for this candidate.") expanded = [expand_env(part) for part in launch_steps] process = subprocess.Popen( expanded, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL,- Confidence
- 95% confidence
- Finding
- The skill can launch arbitrary binaries derived from catalog metadata, dynamic package-manager search results, or guessed package names via subprocess.Popen. Because the skill is explicitly designed to install and run desktop apps, this creates a direct code-execution path on the host, and unreviewed or guessed launch commands increase the chance of running an unexpected program.
