Tainted flow: 'headers' from os.environ.get (line 76, 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 last_err = None for attempt in range(MAX_RETRIES): try: response = requests.get(API_URL, headers=headers, timeout=10) response.raise_for_status() data = response.json()
