subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
'--content', content ] result = subprocess.run(cmd, capture_output=True, text=True, timeout=30) if result.returncode == 0: print(f"✅ 已创建飞书文档:{title}")- Confidence
- 80% confidence
- Finding
- The code forwards arbitrary `title` and `content` to an external tool (`mcporter`) that creates a remote Feishu document. Although `subprocess.run` is used safely without a shell, this still enables unreviewed data exfiltration to an external service from a skill whose stated purpose is only documentation guidance, making the capability more dangerous in context.
