Tainted flow: 'gateway_url' from os.environ.get (line 1048, credential/environment) → requests.post (network output)
Critical
- Category
- Data Flow
- Content
gateway_url = gateway_url or "http://127.0.0.1:18790" try: resp = requests.post( f"{gateway_url.rstrip('/')}/v1/messages/send", json={'channel': channel_type, 'to': target, 'text': message}, headers={'Authorization': f'Bearer {gateway_token}'},- Confidence
- 92% confidence
- Finding
- resp = requests.post( f"{gateway_url.rstrip('/')}/v1/messages/send", json={'channel': channel_type, 'to': target, 'text': message}, headers=
