LLM Tool Flaw Leaks OpenAI API Keys to Third-Party Endpoints
Simon Willison's LLM CLI tool (version 0.37.2) patches two security vulnerabilities reported by Daniel de Araujo that could inadvertently expose a user's configured OpenAI API key to third-party OpenAI-compatible API providers. The flaws existed in the extra-openai-models.yaml configuration mechanism, triggering key leakage under two specific conditions: an unset api_key_name or use of a responses-mode model with a specific chat completions override flag. Users running LLM with custom third-party endpoints should update immediately and rotate any potentially exposed API keys.