Tainted flow: 'put_url' from os.environ.get (line 257, credential/environment) → requests.put (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 for attempt in range(max_retries): try: with open(filepath, "rb") as f: resp = requests.put( put_url, data=f, headers={"Content-Type": content_type}, timeout=120,
