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
fix security scans
Ishaan Jafferef66a6cb6286
diff --git a/Dockerfile b/Dockerfileindex 4bfda939110..717ec2bcb77 100644--- a/Dockerfile+++ b/Dockerfile@@ -3,6 +3,7 @@ ARG LITELLM_BUILD_IMAGE=cgr.dev/chainguard/wolfi-base# Runtime imageARG LITELLM_RUNTIME_IMAGE=cgr.dev/chainguard/wolfi-base+# Builder stageFROM $LITELLM_BUILD_IMAGE AS builder@@ -62,6 +63,10 @@ COPY --from=builder /wheels/ /wheels/# Install the built wheel using pip; again using a wildcard if it's the only fileRUN pip install *.whl /wheels/* --no-index --find-links=/wheels/ && rm -f *.whl && rm -rf /wheels+# Replace the nodejs-wheel-binaries bundled node with the system node (fixes CVE-2025-55130)+RUN NODEJS_WHEEL_NODE=$(find /usr/lib -path "*/nodejs_wheel/bin/node" 2>/dev/null) && \+ if [ -n "$NODEJS_WHEEL_NODE" ]; then cp /usr/bin/node "$NODEJS_WHEEL_NODE"; fi+# Remove test files and keys from dependenciesRUN find /usr/lib -type f -path "*/tornado/test/*" -delete && \find /usr/lib -type d -path "*/tornado/test" -deletediff --git a/docker/Dockerfile.database b/docker/Dockerfile.databaseindex 24bf706434d..ecbe76446f6 100644--- a/docker/Dockerfile.database+++ b/docker/Dockerfile.database@@ -64,6 +64,10 @@ COPY --from=builder /wheels/ /wheels/# Install the built wheel using pip; again using a wildcard if it's the only fileRUN pip install *.whl /wheels/* --no-index --find-links=/wheels/ && rm -f *.whl && rm -rf /wheels+# Replace the nodejs-wheel-binaries bundled node with the system node (fixes CVE-2025-55130)+RUN NODEJS_WHEEL_NODE=$(find /usr/lib -path "*/nodejs_wheel/bin/node" 2>/dev/null) && \+ if [ -n "$NODEJS_WHEEL_NODE" ]; then cp /usr/bin/node "$NODEJS_WHEEL_NODE"; fi+# Install semantic_router and aurelio-sdk using script# Convert Windows line endings to Unix and make executableRUN sed -i 's/\r$//' docker/install_auto_router.sh && chmod +x docker/install_auto_router.sh && ./docker/install_auto_router.shdiff --git a/docker/Dockerfile.non_root b/docker/Dockerfile.non_rootindex 3ef47607fca..4b09755ed7d 100644--- a/docker/Dockerfile.non_root+++ b/docker/Dockerfile.non_root@@ -146,6 +146,10 @@ RUN pip install --no-index --find-links=/wheels/ -r requirements.txt && \fi; \fi+# Replace the nodejs-wheel-binaries bundled node with the system node (fixes CVE-2025-55130)+RUN NODEJS_WHEEL_NODE=$(find /usr/lib -path "*/nodejs_wheel/bin/node" 2>/dev/null) && \+ if [ -n "$NODEJS_WHEEL_NODE" ]; then cp /usr/bin/node "$NODEJS_WHEEL_NODE"; fi+# Permissions, cleanup, and Prisma prep# Convert Windows line endings to Unix for entrypoint scriptsRUN sed -i 's/\r$//' docker/entrypoint.sh && \