Tainted flow: 'msg_req' from open (line 82, file read) → urllib.request.urlopen (network output)
High
- Category
- Data Flow
- Content
msg_req.add_header('Content-Type', 'application/json') msg_req.add_header('Authorization', f'Bearer {access_token}') with urllib.request.urlopen(msg_req, timeout=10) as resp: msg_result = json.loads(resp.read().decode('utf-8')) if msg_result.get('code') == 0:- Confidence
- 80% confidence
- Finding
- with urllib.request.urlopen(msg_req, timeout=10) as resp:
