Context Leakage
- Category
- Data Exfiltration
- Confidence
- 85% confidence
- Finding
Code or instructions that leak agent conversation context to external services, potentially exposing sensitive user interactions.
- Content
md - For OpenAI-style code, use the gateway at base URL `https://llm.wiro.ai/v1`: `POST /chat/completions` and `POST /responses`. Anthropic SDKs use the origin `https://llm.wiro.ai` (`/v1/messages`). - Auth: `Authorization: Bearer YOUR_API_KEY` for API Key Only, `Bearer YOUR_API_KEY:YOUR_API_SECRET` for Signature. - Model ids are lowercase `owner/model`. `GET /v1/models` lists the gateway models; check `capabilities.endpoints` and `supported_parameters` before you rely on a feature. LLMs missing from that list still run through Run. - Send the conversation history in `messages` on every request. Output is text only; make images, video and audio through Run. - `max_completion_tokens` also covers reasoning tokens, so keep it at 512 or more. - The billed amount is in `usage.cost`.
