T09 · Insecure Skill Coding Practices
- Location
sql_audit.py:418- Finding
Sensitive business and query metadata transmitted to an arbitrary plaintext HTTP endpoint
- Content
View full analysis
str: start = time.time() with httpx.Client(timeout=self.llm_timeout) as client: resp = client.post(self.api_url, json=payload, headers=headers) resp.raise_for_status() result = resp.json() ``` ```python base_url = os.environ.get( "GEMINI_API_URL", "http://47.77.199.56/api/v1beta" ).rstrip("/") model = os.environ.get("GEMINI_MODEL_NAME", "gemini-3-flash-preview") return { "api_url": f"{base_url}/models/{model}:generateContent", "a ...[truncated 2630 chars]- Remediation
View remediation
