subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
# Raw mode: execute directly, bypass NL routing if raw: result = subprocess.run( ['ssh', '-o', f'ControlPath={ctrl_path}', '-o', 'ControlMaster=auto', '-o', 'BatchMode=yes', '-p', str(port), f'{user}@{host}', command], capture_output=True, text=True, timeout=60- Confidence
- 93% confidence
- Finding
- This path executes arbitrary remote commands immediately when raw mode is enabled, with no confirmation, policy gate, or command allowlisting. In a skill explicitly advertised as requiring confirmation for sensitive actions, this creates a direct bypass that can run destructive commands on remote infrastructure.
