subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
# 使用 --account main 指定正确的飞书账户 cmd = "openclaw message send --channel feishu --account main --target user:" + FEISHU_USER_ID + " --message \"" + message.replace('"', '\\"') + "\"" result = subprocess.run( cmd, capture_output=True, text=True,- Confidence
- 97% confidence
- Finding
- result = subprocess.run( cmd, capture_output=True, text=True, encoding='utf-8', timeout=60, shell=True )
