subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
system = platform.system() try: if system == "Darwin": subprocess.run(["open", path], check=False) elif system == "Linux": subprocess.run(["xdg-open", path], check=False) except Exception:- Confidence
- 91% confidence
- Finding
- The skill automatically opens a downloaded file on the local system using the OS default handler. Because the filename/content comes from remote artifacts, this creates a local code/handler execution surface and can trigger risky applications or browser handlers without an explicit user confirmation.
