subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
return 1 print("[2/2] Running silent install...") proc = subprocess.run( [ str(dest_path), "/verysilent",- Confidence
- 98% confidence
- Finding
- The script executes a binary that it just downloaded from the internet, which creates a direct remote-code-execution path on the host. Although `subprocess.run` itself is not unsafe here due to argument-list usage, invoking an externally fetched installer without signature verification, integrity checking, or user approval is dangerous.
