Tainted flow: 'req' from os.environ.get (line 148, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
data=json.dumps(data, ensure_ascii=False).encode('utf-8'), headers={'Content-Type': 'application/json'} ) with urllib.request.urlopen(req) as resp: print(f"已发送企业微信通知: {resp.read().decode('utf-8')}", file=sys.stderr) except Exception as e: print(f"发送企业微信通知失败: {e}", file=sys.stderr)- Confidence
- 96% confidence
- Finding
- with urllib.request.urlopen(req) as resp:
