Tainted flow: 'content' from requests.get (line 397, network input) → requests.post (network output)
Medium
- Category
- Data Flow
- Content
content = json_mod.dumps({"text": message}) # 3. 直接用 open_id 发送消息 msg_resp = requests.post(f'https://open.feishu.cn/open-apis/im/v1/messages?receive_id_type=open_id', headers={ 'Authorization': f'Bearer {token}', 'Content-Type': 'application/json' }, json={- Confidence
- 89% confidence
- Finding
- This code forwards message content to Feishu private messages, and that content may originate from external network responses or other untrusted sources. In this skill, that creates an exfiltration path where fetched remote data or attacker-controlled content can be relayed to an external messaging platform, which is more dangerous because messaging is outside the declared stock-query scope.
