Tainted flow: 'HEADERS' from os.environ.get (line 11, 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 "visibility": "public", } resp = requests.post(f"{BASE_URL}/products", headers=HEADERS, json=payload, timeout=15) if resp.status_code not in (200, 201): print(f" ❌ {p['name']}: {resp.text[:200]}") return None
