Tainted flow: 'OLLAMA' from os.environ.get (line 37, credential/environment) → httpx.post (network output)
Critical
- Category
- Data Flow
- Content
def _ollama_generate(model: str, prompt: str, timeout: int = 120) -> str: r = httpx.post(f"{OLLAMA}/api/generate", json={"model": model, "prompt": prompt, "stream": False, "options": {"temperature": 0}}, timeout=timeout)- Confidence
- 96% confidence
- Finding
- r = httpx.post(f"{OLLAMA}/api/generate", json={"model": model, "prompt": prompt, "stream": False, "options": {"temperature": 0}}, tim
