Tainted flow: 'LLM_API_URL' from os.getenv (line 28, credential/environment) → requests.post (network output)
Critical
- Category
- Data Flow
- Content
retries = int(os.getenv("LLM_MAX_RETRIES", "3")) for i in range(retries + 1): try: r = requests.post( LLM_API_URL, headers={"Authorization": f"Bearer {LLM_API_KEY}", "Content-Type": "application/json"}, json=payload,- Confidence
- 91% confidence
- Finding
- The script sends repository diffs to an externally configurable LLM endpoint via LLM_API_URL with no allowlist, trust validation, or data-classification gate. In this skill context, code under review may contain proprietary logic, secrets, or sensitive changes, so a malicious or misconfigured endpoint could exfiltrate source code and review metadata.
