Expected Findings
- System prompt is accessible to anonymous users.
- Fake OpenAI key and vector index metadata ship to the browser.
- Search endpoint leaks internal support and finance notes.
The page boot script immediately loads chat config, exposes a system prompt, and performs a support search that leaks internal notes into the UI.
On load this widget fetches prompt config and a support index.
window.SYSTEM_PROMPT = "Internal support agent rules..."
OPENAI_API_KEY = "sk-fake-openai-key"