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
- 96% confidence
- Finding
- The script executes a downloaded executable from a temp directory without verifying its signature, checksum, or provenance. Even though subprocess.run is used without shell=True, this still results in direct code execution of untrusted remote content, which is a high-risk supply-chain and remote code execution pattern.
