subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
) try: result = subprocess.run( ["git", "clone", repo_url, str(target_dir)], capture_output=True, text=True,- Confidence
- 95% confidence
- Finding
- This code clones an attacker-controlled repository URL directly into ComfyUI's custom_nodes directory, then treats the result as an installed extension. In the context of a skill designed to import and execute third-party workflows and dependencies, this creates a direct supply-chain path to untrusted code execution once the node is loaded or used.
