Tainted flow: 'headers' from os.environ.get (line 191, 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 } } r = requests.post(API_URL, headers=headers, json=payload, timeout=300) resp = r.json() status = resp.get('base_resp', {}).get('status_code', 'N/A') msg = resp.get('base_resp', {}).get('status_msg', 'N/A')
