subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
import openpyxl except ImportError: import subprocess subprocess.check_call([sys.executable, '-m', 'pip', 'install', 'openpyxl', '-q']) import openpyxl # 复用 parse_excel 的逻辑- Confidence
- 94% confidence
- Finding
- The script executes `pip install openpyxl` automatically at runtime via a subprocess. This introduces unreviewed network-dependent code execution and mutates the host environment without consent, which is risky in an agent skill that may run on shared or sensitive systems.
