Tainted flow: 'img_data' from requests.get (line 82, network input) → requests.post (network output)
Medium
- Category
- Data Flow
- Content
} content_type = content_type_map.get(ext, "image/jpeg") resp = requests.post( "https://open.feishu.cn/open-apis/im/v1/images", headers={"Authorization": f"Bearer {token}"}, data={"image_type": "message"},- Confidence
- 93% confidence
- Finding
- The script accepts an arbitrary HTTP(S) URL, downloads attacker-controlled bytes, and then re-uploads them to Feishu using the user's tenant credentials. This creates a network pivot/data relay capability that can be abused for unintended external content transfer and makes the agent perform external fetches on behalf of a caller without meaningful restriction.
