Context-Inappropriate Capability
Medium
- Confidence
- 95% confidence
- Finding
- The script silently checks whether it is running under an MSYS2 Python and, if so, re-executes itself via `C:/Python314/python.exe` using `subprocess.run(...)`. That introduces an unexpected execution path and trusts a hard-coded interpreter path without validation, which can lead to execution under a different environment than the user intended and may run attacker-controlled binaries if that path is replaced or hijacked.
