The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
[Infra] Pin cosign.pub verification to initial commit hash
Yuneng Jiang30565581be0e
diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.ymlindex 2ae01823a96..b8633979854 100644--- a/.github/workflows/create-release.yml+++ b/.github/workflows/create-release.yml@@ -48,7 +48,21 @@ jobs:const cosignSection = [`## Verify Docker Image Signature`,``,- `All LiteLLM Docker images are signed with [cosign](https://docs.sigstore.dev/cosign/overview/). To verify the integrity of an image before deploying:`,+ `All LiteLLM Docker images are signed with [cosign](https://docs.sigstore.dev/cosign/overview/). Every release is signed with the same key introduced in [commit \`0112e53\`](https://github.com/BerriAI/litellm/commit/0112e53046018d726492c814b3644b7d376029d0).`,+ ``,+ `**Verify using the pinned commit hash (recommended):**`,+ ``,+ `A commit hash is cryptographically immutable, so this is the strongest way to ensure you are using the original signing key:`,+ ``,+ '```bash',+ `cosign verify \\`,+ ` --key https://raw.githubusercontent.com/BerriAI/litellm/0112e53046018d726492c814b3644b7d376029d0/cosign.pub \\`,+ ` ghcr.io/berriai/litellm:${tag}`,+ '```',+ ``,+ `**Verify using the release tag (convenience):**`,+ ``,+ `Tags are protected in this repository and resolve to the same key. This option is easier to read but relies on tag protection rules:`,``,'```bash',`cosign verify \\`,diff --git a/README.md b/README.mdindex 7d910617f7e..d7b8bad69f3 100644--- a/README.md+++ b/README.md@@ -404,6 +404,32 @@ Support for more providers. Missing a provider or LLM Platform, raise a [feature2. Install dependencies `npm install`3. Run `npm run dev` to start the dashboard+# Verify Docker Image Signatures++All LiteLLM Docker images published to GHCR are signed with [cosign](https://docs.sigstore.dev/cosign/overview/). Every release is signed with the same key introduced in [commit `0112e53`](https://github.com/BerriAI/litellm/commit/0112e53046018d726492c814b3644b7d376029d0).++**Verify using the pinned commit hash (recommended):**++A commit hash is cryptographically immutable, so this is the strongest way to ensure you are using the original signing key:++```bash+cosign verify \+ --key https://raw.githubusercontent.com/BerriAI/litellm/0112e53046018d726492c814b3644b7d376029d0/cosign.pub \+ ghcr.io/berriai/litellm:<release-tag>+```++**Verify using a release tag (convenience):**++Tags are protected in this repository and resolve to the same key. This option is easier to read but relies on tag protection rules:++```bash+cosign verify \+ --key https://raw.githubusercontent.com/BerriAI/litellm/<release-tag>/cosign.pub \+ ghcr.io/berriai/litellm:<release-tag>+```++Replace `<release-tag>` with the version you are deploying (e.g. `v1.83.0-stable`).+# EnterpriseFor companies that need better security, user management and professional supportdiff --git a/docs/my-website/blog/ci_cd_v2_improvements/index.md b/docs/my-website/blog/ci_cd_v2_improvements/index.mdindex fb9a6609c95..85581143969 100644--- a/docs/my-website/blog/ci_cd_v2_improvements/index.md+++ b/docs/my-website/blog/ci_cd_v2_improvements/index.md@@ -31,7 +31,21 @@ Building on the roadmap from our [security incident](https://docs.litellm.ai/blo## Verify Docker image signatures-Starting from `v1.83.0-nightly`, all LiteLLM Docker images published to GHCR are signed with [cosign](https://docs.sigstore.dev/cosign/overview/). To verify the integrity of an image before deploying:+Starting from `v1.83.0-nightly`, all LiteLLM Docker images published to GHCR are signed with [cosign](https://docs.sigstore.dev/cosign/overview/). Every release is signed with the same key introduced in [commit `0112e53`](https://github.com/BerriAI/litellm/commit/0112e53046018d726492c814b3644b7d376029d0).++**Verify using the pinned commit hash (recommended):**++A commit hash is cryptographically immutable, so this is the strongest way to ensure you are using the original signing key:++```bash+cosign verify \+ --key https://raw.githubusercontent.com/BerriAI/litellm/0112e53046018d726492c814b3644b7d376029d0/cosign.pub \+ ghcr.io/berriai/litellm:<release-tag>+```++**Verify using a release tag (convenience):**++Tags are protected in this repository and resolve to the same key. This option is easier to read but relies on tag protection rules:```bashcosign verify \diff --git a/docs/my-website/blog/security_townhall_updates/index.md b/docs/my-website/blog/security_townhall_updates/index.mdindex 633e97df3e7..39db096c533 100644--- a/docs/my-website/blog/security_townhall_updates/index.md+++ b/docs/my-website/blog/security_townhall_updates/index.md@@ -147,7 +147,21 @@ We believe that [Cosign](https://github.com/sigstore/cosign) is a good fit for t#### How to verify a Docker image with Cosign-Starting from `v1.83.0-nightly`, all LiteLLM Docker images published to GHCR are signed with [cosign](https://docs.sigstore.dev/cosign/overview/). To verify the integrity of an image before deploying:+Starting from `v1.83.0-nightly`, all LiteLLM Docker images published to GHCR are signed with [cosign](https://docs.sigstore.dev/cosign/overview/). Every release is signed with the same key that was introduced in [commit `0112e53`](https://github.com/BerriAI/litellm/commit/0112e53046018d726492c814b3644b7d376029d0).++**Verify using the pinned commit hash (recommended):**++A commit hash is cryptographically immutable, so this is the strongest way to ensure you are using the original signing key:++```bash+cosign verify \+ --key https://raw.githubusercontent.com/BerriAI/litellm/0112e53046018d726492c814b3644b7d376029d0/cosign.pub \+ ghcr.io/berriai/litellm:<release-tag>+```++**Verify using a release tag (convenience):**++Tags are protected in this repository and resolve to the same key. This option is easier to read but relies on tag protection rules:```bashcosign verify \diff --git a/docs/my-website/blog/security_update_march_2026/index.md b/docs/my-website/blog/security_update_march_2026/index.mdindex 628e26f0c65..6e7b77d1e40 100644--- a/docs/my-website/blog/security_update_march_2026/index.md+++ b/docs/my-website/blog/security_update_march_2026/index.md@@ -710,7 +710,21 @@ The LiteLLM AI Gateway team has already taken the following steps:## Verify Docker image signatures-Starting from `v1.83.0-nightly`, all LiteLLM Docker images published to GHCR are signed with [cosign](https://docs.sigstore.dev/cosign/overview/). To verify the integrity of an image before deploying:+Starting from `v1.83.0-nightly`, all LiteLLM Docker images published to GHCR are signed with [cosign](https://docs.sigstore.dev/cosign/overview/). Every release is signed with the same key introduced in [commit `0112e53`](https://github.com/BerriAI/litellm/commit/0112e53046018d726492c814b3644b7d376029d0).++**Verify using the pinned commit hash (recommended):**++A commit hash is cryptographically immutable, so this is the strongest way to ensure you are using the original signing key:++```bash+cosign verify \+ --key https://raw.githubusercontent.com/BerriAI/litellm/0112e53046018d726492c814b3644b7d376029d0/cosign.pub \+ ghcr.io/berriai/litellm:<release-tag>+```++**Verify using a release tag (convenience):**++Tags are protected in this repository and resolve to the same key. This option is easier to read but relies on tag protection rules:```bashcosign verify \diff --git a/docs/my-website/docs/proxy/deploy.md b/docs/my-website/docs/proxy/deploy.mdindex d4f02afbb13..4b087afd841 100644--- a/docs/my-website/docs/proxy/deploy.md+++ b/docs/my-website/docs/proxy/deploy.md@@ -67,7 +67,21 @@ docker compose up### Verify Docker image signatures-All LiteLLM Docker images are signed with [cosign](https://docs.sigstore.dev/cosign/overview/). You can verify the integrity of an image before deploying:+All LiteLLM Docker images are signed with [cosign](https://docs.sigstore.dev/cosign/overview/). Every release is signed with the same key introduced in [commit `0112e53`](https://github.com/BerriAI/litellm/commit/0112e53046018d726492c814b3644b7d376029d0).++**Verify using the pinned commit hash (recommended):**++A commit hash is cryptographically immutable, so this is the strongest way to ensure you are using the original signing key:++```bash+cosign verify \+ --key https://raw.githubusercontent.com/BerriAI/litellm/0112e53046018d726492c814b3644b7d376029d0/cosign.pub \+ ghcr.io/berriai/litellm:<release-tag>+```++**Verify using a release tag (convenience):**++Tags are protected in this repository and resolve to the same key. This option is easier to read but relies on tag protection rules:```bashcosign verify \