Tainted flow: 'LOCAL_OPENAI_COMPLETIONS_URL' from os.getenv (line 31, credential/environment) → requests.post (network output)
Critical
- Category
- Data Flow
- Content
# 直接透传请求体和 Authorization header 到后端 auth_header = request.headers.get("Authorization", "") try: r = requests.post( LOCAL_OPENAI_COMPLETIONS_URL, json=request.get_json(silent=True), headers={- Confidence
- 97% confidence
- Finding
- r = requests.post( LOCAL_OPENAI_COMPLETIONS_URL, json=request.get_json(silent=True), headers={ "Authorization": auth_header,
