Tainted flow: 'HEADERS' from os.environ.get (line 41, credential/environment) → requests.get (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 if pause: time.sleep(pause) try: r = requests.get(url, headers=HEADERS, timeout=timeout) if r.status_code in (429, 500, 502, 503, 504): last = f"HTTP {r.status_code}" continue
