subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
capture_output=True) # 上传到飞书 upload = subprocess.run( ["lark-cli", "api", "POST", "/open-apis/im/v1/files", "--file", f"file={ogg_path}", "--data", json.dumps({"file_type": "opus", "file_name": f"{voice}.ogg"})],- Confidence
- 84% confidence
- Finding
- This subprocess call uploads generated audio files to Feishu, creating an external data exfiltration/channel that exceeds the core TTS generation purpose of the skill. Even though the command itself is not shell-injectable, it transfers files off-host through a messaging platform and can expose generated content or metadata to third-party systems without explicit in-code safeguards.
