跳到正文
Simon Willison·· 21 天前AI 评分38

llm 0.37.2 修复 API key 泄露安全问题

llm 0.37.2

AI 导读

Simon Willison 的 llm 发布 0.37.2,修复 Daniel de Araujo 通过 GHSA-v9h7-jj4g-f862 和 GHSA-r639-rr7r-x72w 报告的安全问题。

正文

Fixes a security issue reported by Daniel de Araujo in GHSA-v9h7-jj4g-f862 and GHSA-r639-rr7r-x72w.

LLM has a mechanism called extra-openai-models.yaml - now managed by the new-in-0.37 llm openai endpoint add command - for using LLM with OpenAI-compatible API endpoints from other providers.

Daniel reported two ways this could accidentally send your configured OpenAI API key to one of those providers: if the key named by api_key_name had never been stored, or if a responses: true model was run with -o chat_completions 1.

来源:Simon Willison · simonwillison.net