> ## Content Index
> Fetch the complete content index at: https://www.stirup.si/llms.txt
> Use this file to discover other available public pages before exploring further.

# llm 0.37.2 Addresses Security Flaws in OpenAI API Key Handling
- URL: https://www.stirup.si/llm-0-37-2-addresses-security-flaws-in-openai-api-key-handling-460872e6/
- Published: 2026-11-16T23:17:58.000Z
- Updated: 2026-11-16T23:17:58.000Z
- Description: The llm 0.37.2 release addresses two security flaws that could have led to the exposure of OpenAI API keys to third-party providers, as reported by Simon Willison.
- Author: Satish Das
- Tags: AI, News, Stirup Research

## Security Fixes in llm 0.37.2

The llm 0.37.2 release addresses two security flaws that could have led to the exposure of OpenAI API keys to third-party providers, as reported by Simon Willison. These issues were identified through contributions from Daniel de Araujo and are detailed in GitHub Security Advisories GHSA-v9h7-jj4g-f862 and GHSA-r639-rr7r-x72w. The update specifically corrects how credential selection is handled in custom endpoint paths, rather than implying a widespread compromise affecting all users. This targeted fix ensures that users of the llm tool can continue to interact with large language models from the command-line with improved security. The changes were outlined in a detailed analysis by Simon Willison, who emphasized that the release does not indicate a broader security incident. Users are encouraged to upgrade to llm 0.37.2 to benefit from these critical security improvements.

## New Features and Endpoint Management

The latest release, llm 0.37.2, introduces enhanced endpoint management through the `llm openai endpoint add` command, as noted by Willison in [remio.ai](https://www.remio.ai/post/llm-0-37-2-fixes-two-paths-that-sent-openai-keys-to-other-providers?ref=stirup.si). This feature allows users to manage `extra-openai-models.yaml` configurations, enabling interaction with LLMs from providers compatible with OpenAI's API, according to [Simon Willison](https://simonwillison.net/2026/Nov/11/llm/?ref=stirup.si). The tool supports models from organizations such as OpenAI, Anthropic, and Gemini, as well as local models installed on the user's machine, as described in [pypi.org](https://pypi.org/project/llm/?ref=stirup.si). These updates streamline the integration of multiple LLM sources, offering greater flexibility for developers and researchers working with large language models.

## Installation and Usage Instructions

Installation of LLM 0.37.2 can be performed via multiple methods, including `pip`, `Homebrew`, `pipx`, or `uv`. For example, using `Homebrew`, users can run `brew install llm`, while `pipx` users can execute `pipx install llm`. Alternatively, `uv` users can use `uv tool install llm`. Once installed, LLM allows users to run prompts from the command-line, store prompts and responses in SQLite, generate and store embeddings, extract structured content from text and images, and grant models the ability to execute tools. For users who prefer not to install LLM first, `uvx` provides an alternative method to run prompts directly. Additionally, integration with Ollama is supported through the `llm install llm-ollama` command, enabling interaction with models like `llama3.2:latest`.

## Provenance and Package Details

The release llm 0.37.2 includes provenance metadata for both files, as confirmed by PyPI data sourced directly from PyPI's database ([pypi.org](https://pypi.org/project/llm/?ref=stirup.si)). According to PyPI's verification process, this artifact, at the specified checksum, was confirmed to have originated from the publisher listed below ([pypi.org](https://pypi.org/project/llm/?ref=stirup.si)). Full provenance details are available for review, ensuring transparency regarding the origin and integrity of the package ([pypi.org](https://pypi.org/project/llm/?ref=stirup.si)). Users can access additional information about the release through the official homepage, issues tracker, and key dates provided by the publisher. These details help users make informed decisions about the reliability and trustworthiness of the package before installation.

## Security Advisory and Risk Management

When evaluating the llm 0.37.2 update, security advisory and risk management practices must distinguish between software state and historical events, as noted in research guidelines. According to [remio.ai](https://www.remio.ai/post/llm-0-37-2-fixes-two-paths-that-sent-openai-keys-to-other-providers?ref=stirup.si), developers should separate the process of updating from reviewing exposure risks, as installing the repair addresses future behavior but does not automatically clarify past requests. [remio.ai](https://www.remio.ai/post/llm-0-37-2-fixes-two-paths-that-sent-openai-keys-to-other-providers?ref=stirup.si) emphasizes that users must first recognize the difference between the current software state and historical events when assessing the update. Without this distinction, as highlighted in [remio.ai](https://www.remio.ai/post/llm-0-37-2-fixes-two-paths-that-sent-openai-keys-to-other-providers?ref=stirup.si), teams risk making generalized assumptions about developer machine experiences, potentially replacing specific disclosures with broad, inaccurate conclusions. This underscores the importance of thorough review processes to ensure accurate risk assessments and prevent misinterpretation of past events.

## Sources and reporting notes

- [Simon Willison](https://simonwillison.net/2026/Nov/11/llm/?ref=stirup.si)
- [remio.ai](https://www.remio.ai/post/llm-0-37-2-fixes-two-paths-that-sent-openai-keys-to-other-providers?ref=stirup.si)
- [pypi.org](https://pypi.org/project/llm/?ref=stirup.si)
- [hooshware.net](https://hooshware.net/news/fe24bd9a-d8dc-4d90-869d-226fda5ab08b?ref=stirup.si)

Based on published source material. No independent hands-on testing is claimed.