Tainted flow: 'data' from os.environ.get (line 56, credential/environment) → requests.post (network output)
Critical
- Category
- Data Flow
- Content
"app_secret": app_secret } response = requests.post(url, headers=headers, json=data) result = response.json() if result.get("code") != 0:- Confidence
- 98% confidence
- Finding
- This request transmits app_id and app_secret obtained from arguments or environment variables to Feishu's token endpoint. Sending credentials to the legitimate service endpoint is expected for this integration, but it is still a real secret transmission primitive: if the endpoint, network path, or logging/monitoring around the request is compromised, the secret could be exposed.
