Tainted flow: 'req' from os.environ.get (line 92, credential/environment) → urllib.request.build_opener.open (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 def _open(req, timeout: int): """经安全 opener 发起请求(跨域重定向被拦截)。""" return _OPENER.open(req, timeout=timeout) def load_json_arg(arg: str) -> dict:
