The flagged text is simply the standard default address for a locally running Ollama program, used when the user has not configured one. It is handed to SillyTavern's own backend so it can reach the user's own local embedding service. Nothing is sent anywhere unexpected, and nothing leaves the user's machine because of this line.
Technical evidence
Scanner reason: JavaScript analysis matched static JavaScript security signal javascript.xray.shady-link. The match applies to this repository.
Contextual assessment: The scanner flagged a network-access literal on the flagged line. In context, that literal is Ollama's default local endpoint address, used only as the final fallback in a provider URL resolution chain: a user-configured alternate endpoint (when enabled and filled), then SillyTavern's stored Ollama text-generation server URL, then any filled alternate URL, then the default local address. The resolved value is placed in the request body's apiUrl field and posted to SillyTavern's own relative vector-insert endpoint using standard ST request headers; the host server, not the extension, contacts the configured embedding backend. This mirrors SillyTavern's native vector-storage behavior, matches the project's stated purpose of user-configurable embedding backends (Local/Transformers, Ollama, vLLM, OpenAI, Cohere, Google, OpenRouter, Mistral), and is disclosed in the README's Vectorization settings documentation. There is no direct client-side fetch to any remote host, no obfuscation, no credential handling, and no data flow beyond the user's configured embedding backend. The flag is a benign heuristic match on a localhost literal, not demonstrated exposure.
Impact: none · Exploitability: unlikely
Developer action: none
- Scanner
- javascript-analysis webcrack-2.16.0_js-x-ray-16.0.0_signatures-1_literals-1_families-1
- Rule
- javascript.xray.shady-link
- File role
- production
- Source
- embed/embedder.js:139