Tainted flow: 'discern_url' from os.getenv (line 64, credential/environment) → requests.post (network output)
Critical
- Category
- Data Flow
- Content
try: with open(file_path, 'rb') as f: files = {'file': f} response = requests.post(discern_url, files=files, headers=headers) return response.json() except Exception as e: return {"error": str(e)}- Confidence
- 94% confidence
- Finding
- response = requests.post(discern_url, files=files, headers=headers)
