Tainted flow: 'files' from open (line 14, file read) → requests.post (network output)
High
- Category
- Data Flow
- Content
headers["Authorization"] = f"Bearer {final_token}" try: response = requests.post(url, headers=headers, files=files) response.raise_for_status() data = response.json()- Confidence
- 95% confidence
- Finding
- The script reads an arbitrary local file path and transmits its contents to an external server via HTTP request. In the context of an agent skill, this creates a real exfiltration risk because the code provides no validation, allowlist, consent checkpoint, or restriction on what local files may be uploaded.
