subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
] try: result = subprocess.run(command, capture_output=True, text=True, check=True) # Parse output between markers output = result.stdout if "---ANALYSIS_START---" in output and "---ANALYSIS_END---" in output:- Confidence
- 93% confidence
- Finding
- The function invokes the external Blender binary on a user-supplied .blend file, which is a risky file format because opening Blender project files can trigger embedded Python, drivers, or other content processed by Blender. Although shell injection is avoided by passing an argument list, this still creates an unsafe execution boundary where attacker-controlled files may cause code execution or other harmful side effects inside the Blender process.
