subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
try: # 启动子进程(忽略 I/O) if sys.platform == "win32": process = subprocess.Popen( [python_exe, str(target_script)], cwd=str(current_dir), creationflags=subprocess.CREATE_NEW_PROCESS_GROUP,- Confidence
- 94% confidence
- Finding
- This tool launches a new local process from within the skill without any runtime consent gate, and it suppresses stdout/stderr, making the action hard for a user or caller to inspect. In an agent-skill context, spawning background services is security-sensitive because it can change local system state and persist behavior beyond the immediate user request.
