subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
print("📦 sigui-sdk not found. Installing automatically...", file=sys.stderr) try: subprocess.check_call( [sys.executable, "-m", "pip", "install", "sigui-sdk>=0.3.1", "--quiet"], timeout=120, )- Confidence
- 96% confidence
- Finding
- This code automatically runs pip install at import/runtime, which mutates the execution environment and fetches code from external package sources before performing the security evaluation. In a security-analysis skill, this is especially dangerous because a compromised package, dependency confusion event, or untrusted index configuration could lead to arbitrary code execution and undermine the integrity of all subsequent verdicts.
