Skip to content

[Infra] Security and Proxy Extras for Nightly#23921

Merged
yuneng-jiang merged 4 commits intomainfrom
litellm_mar17_extras
Mar 18, 2026
Merged

[Infra] Security and Proxy Extras for Nightly#23921
yuneng-jiang merged 4 commits intomainfrom
litellm_mar17_extras

Conversation

@yuneng-jiang
Copy link
Copy Markdown
Contributor

Relevant issues

Next v16.1.6 had vulnerabilities, had to bump to v16.1.7

Proxy Extras was out of sync. Bumped proxy extras version and published proxy extras

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/test_litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem
  • I have requested a Greptile review by commenting @greptileai and received a Confidence Score of at least 4/5 before requesting a maintainer review

Delays in PR merge?

If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).

CI (LiteLLM team)

CI status guideline:

  • 50-55 passing tests: main is stable with minor issues.
  • 45-49 passing tests: acceptable but needs attention
  • <= 40 passing tests: unstable; be careful with your merges and assess the risk.
  • Branch creation CI run
    Link:

  • CI run for the last commit
    Link:

  • Merge / cherry-pick CI run
    Links:

Type

🚄 Infrastructure

Changes

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
litellm Ready Ready Preview, Comment Mar 18, 2026 0:45am

Request Review

@codspeed-hq
Copy link
Copy Markdown
Contributor

codspeed-hq bot commented Mar 18, 2026

Merging this PR will not alter performance

✅ 16 untouched benchmarks


Comparing litellm_mar17_extras (62835ff) with main (ac0de1d)

Open in CodSpeed

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Mar 18, 2026

Greptile Summary

This is a focused infrastructure PR that addresses a security vulnerability in Next.js and synchronizes the litellm-proxy-extras package version. Both changes are straightforward dependency bumps with no logic changes.

Key changes:

  • next bumped from ^16.1.6^16.1.7 in package.json and package-lock.json to remediate a reported vulnerability
  • litellm-proxy-extras bumped from 0.4.560.4.57 across requirements.txt, pyproject.toml, and litellm-proxy-extras/pyproject.toml to re-sync the proxy extras package
  • Binary distribution artifacts (litellm_proxy_extras-0.4.57-py3-none-any.whl and litellm_proxy_extras-0.4.57.tar.gz) committed directly to the repository — these are unauditable in a git diff and bloat git history; publishing to PyPI and referencing by version is the standard approach
  • Several transitive dependencies in package-lock.json had their metadata changed from "devOptional": true to "dev": true (e.g. @playwright/test, playwright, playwright-core, typescript); this is a semantic npm lockfile metadata shift but does not affect production installs since both flags exclude the package from --production installs

Confidence Score: 4/5

  • This PR is safe to merge; all changes are dependency version bumps addressing a known vulnerability with no logic changes.
  • The Next.js and proxy-extras version bumps are simple and correct. The only concerns are the committed binary dist artifacts (unauditable, bloats git history) and the devOptional → dev metadata shift in package-lock.json which is benign but worth noting.
  • litellm-proxy-extras/dist/ — binary artifacts committed directly to git are unauditable and bloat history; prefer publishing to PyPI.

Important Files Changed

Filename Overview
ui/litellm-dashboard/package.json Next.js version bumped from ^16.1.6 to ^16.1.7 to address security vulnerability; straightforward and correct change.
ui/litellm-dashboard/package-lock.json Lockfile updated for Next.js 16.1.7 bump; several packages (playwright, playwright-core, typescript) changed from "devOptional" to "dev: true", which is a semantic metadata shift but does not affect production installs.
pyproject.toml litellm-proxy-extras optional dependency version bumped from ^0.4.56 to ^0.4.57; clean, correct change.
requirements.txt litellm-proxy-extras pinned version updated from 0.4.56 to 0.4.57 to match pyproject.toml; consistent and correct.
litellm-proxy-extras/pyproject.toml Package version bumped from 0.4.56 to 0.4.57 in both the [tool.poetry] block and [tool.commitizen] block, keeping them in sync.
litellm-proxy-extras/dist/litellm_proxy_extras-0.4.57-py3-none-any.whl Binary wheel artifact committed directly to the repository; unauditable content bloats git history but appears to follow an established pattern in this repo.
litellm-proxy-extras/dist/litellm_proxy_extras-0.4.57.tar.gz Source distribution tarball committed directly to the repository; same concern as the .whl file – binary/compressed artifacts are hard to audit in git diffs.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[PR: Security + Proxy Extras for Nightly] --> B[Next.js bump\n16.1.6 → 16.1.7]
    A --> C[litellm-proxy-extras bump\n0.4.56 → 0.4.57]

    B --> B1[package.json\nnext: ^16.1.7]
    B --> B2[package-lock.json\nAll @next/* packages updated\nSome deps: devOptional → dev]

    C --> C1[litellm-proxy-extras/pyproject.toml\nversion = 0.4.57]
    C --> C2[pyproject.toml\nlitellm-proxy-extras ^0.4.57]
    C --> C3[requirements.txt\nlitellm-proxy-extras==0.4.57]
    C --> C4[dist/ binary artifacts\n.whl + .tar.gz committed to git]
Loading

Last reviewed commit: "adding package-lock"

@yuneng-jiang yuneng-jiang merged commit cfeafbe into main Mar 18, 2026
73 of 99 checks passed
@ishaan-berri ishaan-berri deleted the litellm_mar17_extras branch March 26, 2026 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant