Tainted flow: 'headers' from os.getenv (line 21, 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 } try: response = requests.post(url, headers=headers, json=payload_data, timeout=30) response.raise_for_status() return json.dumps(response.json(), indent=2)
