Tainted flow: 'headers' from os.environ.get (line 170, 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 print(f"Params: {json.dumps(params, ensure_ascii=False)}", file=sys.stderr) try: response = requests.post(base_url, headers=headers, json=params, timeout=60) if debug: print(f"状态码: {response.status_code}", file=sys.stderr)
