T09 · Insecure Skill Coding Practices
- Location
scripts/memory_system.py:47- Finding
Configurable Ollama Endpoint Can Disclose Stored Memory Content
- Content
View full analysis
List[float]: """Generate embedding""" try: payload = {"model": self.model, "prompt": text} response = requests.post(self.api_url, json=payload, timeout=30) result = response.json() ``` ### Technical Analysis The `ollama_url` configuration value is accepted without validating the URL scheme, hostname, resolved address, port, or redirect behavior. Although the default value points to localhost, callers can configure any HTTP or HTTPS endpoint. When semantic search is enabled, the implementation retrieves up to 1,000 memories and sends each complete title ...[truncated 2435 chars]- Remediation
View remediation
