Tainted flow: 'headers' from os.environ.get (line 44, 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 "Content-Type": "application/json", "Agw-Js-Conv": "str", } resp = requests.post(api_url, headers=headers, data=json.dumps(payload).encode("utf-8"), timeout=timeout) raw = resp.text answers = [] lines = raw.split("\n")
