跳到正文
Simon Willison·· 6 小时前AI 评分44

llm 0.37.2 发布,修复 API 密钥泄露安全问题

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