Tainted flow: 'FEISHU_APP_ID' from os.getenv (line 16, credential/environment) → requests.post (network output)
Critical
- Category
- Data Flow
- Content
def get_tenant_access_token(timeout=30): try: resp = requests.post(TOKEN_URL, json={"app_id": FEISHU_APP_ID, "app_secret": FEISHU_APP_SECRET}, timeout=timeout) except requests.RequestException as e: fail(f"获取 token 请求失败: {e}")- Confidence
- 90% confidence
- Finding
- Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.
