Tainted flow: 'files' from open (line 17, file read) → requests.post (network output)
High
- Category
- Data Flow
- Content
} try: response = requests.post(url, headers=headers, files=files, data=data) response.raise_for_status() result = response.json() if "error" in result or ("Error" in result and "Message" in result["Error"]):- Confidence
- 97% confidence
- Finding
- The script reads an arbitrary local video file and sends its contents to a third-party remote API. While this is the feature's intended behavior, it is still a real data-exfiltration risk because there is no validation, minimization, consent prompt, or restriction on what local file can be transmitted, so sensitive local media could be uploaded unintentionally or by a caller wrapping this skill.
