Tainted flow: 'headers' from os.environ.get (line 51, credential/environment) → requests.post (network output)
- Category
- Data Flow
- Confidence
- 90% confidence
- Finding
Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.
- Content
python "Content-Type": "application/json" } response = requests.post(url, headers=headers, json=payload) response.raise_for_status() return response.json()
