subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
try: if platform.system() == 'Windows': subprocess.Popen( ttyd_args, creationflags=subprocess.CREATE_NO_WINDOW, stdout=subprocess.DEVNULL,- Confidence
- 88% confidence
- Finding
- This launches ttyd with a command ultimately derived from configuration or CLI input, exposing a remotely accessible shell/tool session. In the context of a remote-console skill, that is especially sensitive: if an attacker can influence the configured command, ttyd options, or the network exposure of the service, they can obtain or facilitate remote code execution on the host through an intentionally exposed terminal.
