Infrastructure

LLM 0.37.2 Fixes a Potential Credential Leak and Adds Endpoint Management

The release fixes two paths by which an OpenAI API key could reach another provider and adds an endpoint command. Review the security conditions and the new workflow as separate checks.

LLM 0.37.2 fixes a security issue in which a configured OpenAI API key could accidentally be sent to another provider under either of two conditions. The release also adds llm openai endpoint add, a command for managing OpenAI-compatible API endpoints from other providers. These are distinct changes, so teams may want to evaluate the security fix and endpoint workflow separately. 1

Simon Willison published the release note on November 11, 2026. It identifies the issue under GHSA-v9h7-jj4g-f862 and GHSA-r639-rr7r-x72w and credits reporter Daniel de Araujo. 1 The excerpt describes two possible leak conditions but does not say how many installations were affected or confirm that a key was exposed in a particular deployment. 1

For background on the earlier release, see our coverage of llm 0.37 and its endpoint command.

LLM 0.37.2: two changes, one version bump

The new command manages extra-openai-models.yaml, which LLM uses for OpenAI-compatible API endpoints from other providers. The security fix addresses the possibility of a configured OpenAI API key being sent to one of those providers under particular conditions. 1

The excerpt presents these as separate changes. It does not say the endpoint command is required to receive the security fix. Teams can treat them as separate acceptance checks: review the relevant configurations and test the endpoint workflow if they use it. 1

What the LLM security update says about the leak

The release note describes two conditions under which a configured OpenAI API key could be sent to the wrong provider. 1

First, the key named by api_key_name had never been stored. Second, a model with responses: true was run with -o chat_completions 1. 1

These are possible paths to exposure, not confirmation that a particular request leaked a key. The excerpt does not describe the underlying code change, so it does not establish which specific safeguard the fix uses. 1 As an operational check, search configurations for api_key_name and responses: true, and check scripts, notebooks, or CI jobs for -o chat_completions 1.

What the new OpenAI-compatible endpoints command does, and what the excerpt leaves open

The release note says llm openai endpoint add manages extra-openai-models.yaml, the mechanism for using LLM with OpenAI-compatible API endpoints from other providers. 1 The command may offer a more direct workflow than editing the file by hand; that is an operational interpretation, not a behavior documented in the excerpt.

The excerpt does not describe the command's full syntax, accepted fields, validation behavior, or how it handles existing entries. 1 Before using it on a shared configuration, consult the installed command's help and check what it writes. Backing up extra-openai-models.yaml first is a prudent precaution.

Which LLM versions are affected is not specified

The release note says LLM 0.37.2 fixes the security issue. 1 The excerpt does not identify which earlier versions were affected or say that 0.37.2 was the first patched release. 1 Avoid inferring a vulnerable version range from the fix version alone; check the relevant advisory information before deciding which deployments need an upgrade.

Inventory the LLM versions running on developer machines, in CI, and in automation. Keep that version inventory separate from the configuration review: a version number alone does not establish whether either described condition applied.

Rolling out the LLM 0.37.2 upgrade

  • Security review: Check installed versions against the relevant advisory information, and determine whether api_key_name ever referenced an unstored key or whether a responses: true model was run with -o chat_completions 1. These are the two conditions described in the release note. 1
  • Integration review: Read the command's documented behavior before using llm openai endpoint add on a shared configuration file. Then verify that existing OpenAI-compatible models still work as expected.

Run both reviews under the same upgrade ticket, but do not treat a successful endpoint test as a substitute for reviewing the credential conditions. Keep a pre-upgrade copy of extra-openai-models.yaml until you have verified the command's behavior in your environment.

A practical first step is to search LLM configurations for api_key_name and responses: true, check scripts and CI jobs for -o chat_completions 1, and record the LLM version on each machine that runs it. Those checks can identify configurations matching the conditions described in the release note; they cannot establish whether a key was actually sent. 1

Teams that would rather manage provider access, allowed providers and spend controls centrally, instead of per-machine configuration files, may weigh that against an enterprise AI gateway. That is a separate architecture decision from this upgrade.

Questions

What is new in LLM 0.37.2?
It adds `llm openai endpoint add` for managing `extra-openai-models.yaml` and fixes a reported security issue involving possible OpenAI API-key transmission to another provider. [1]
What does `llm openai endpoint add` manage?
It manages `extra-openai-models.yaml`, which lets LLM use OpenAI-compatible API endpoints from other providers. The source does not list every supported field or validation rule. [1]
When could an OpenAI API key be sent to another provider?
The reported conditions include an `api_key_name` whose key had never been stored, and running a model configured with `responses: true` using `-o chat_completions 1`. [1]
Which LLM versions are affected?
The supplied source identifies the fix in 0.37.2 but does not specify the full affected-version range or explicitly call 0.37.2 the first fixed version. [1]
What should users check when upgrading LLM?
Review deployed versions, `extra-openai-models.yaml`, the `api_key_name` configuration, and use of `responses: true` with `-o chat_completions 1`. Then verify the new command's documented behavior before changing endpoint configuration. [1]

Sources

  1. llm 0.37.2 · Simon Willison’s Weblog · Nov 11, 2026

How this article was made: an AI writer persona researched and wrote it from the sources listed above; separate AI passes edited it, checked its claims against those sources and audited it; an editor at Yelno reviewed and approved it before publication. How the Yelno blog works · Follow Yelno on LinkedIn