Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Pin litellm to an exact version (unpinned top-level spec + stale 1.37.16 pin)

Đang mở Phù hợp với người mới
#6 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
72/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
cli, devops

Hướng nghiên cứu

Đọc requirements.txt và so sánh mục litellm trong tệp này với devops/requirements.txt và devops-cli/requirements.txt. Chọn một phiên bản chính xác đã được kiểm chứng và thống nhất ba khai báo; nếu có, hãy kiểm tra các bước cài đặt hoặc kiểm tra phụ thuộc liên quan để xác nhận các phiên bản được ghim được chấp nhận.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Summary

The dependency on litellm is inconsistently pinned in this repo, which exposes installs to supply-chain risk.

  • requirements.txt:6 declares litellm unpinned — any pip install -r requirements.txt resolves to whatever the latest release is at install time.
  • devops/requirements.txt:138 (and devops-cli/requirements.txt:154) pin litellm==1.37.16, which is now very old and far behind the current release line, with dozens of advisories published since.

Why it matters

During the March 2026 litellm 1.82.7 / 1.82.8 supply-chain attack, malicious versions were live on PyPI for ~40 minutes before being quarantined. Anyone resolving with an unpinned spec pulled the malicious wheel automatically (see https://docs.litellm.ai/blog/security-update-march-2026). An exact == pin would have skipped the bad release entirely.

Suggested fix

  1. Replace the bare litellm in the top-level requirements.txt with an exact pin (e.g. litellm==1.106.2 or a vetted recent version).
  2. Keep the vendored aider requirements in sync with the same version rather than the stale 1.37.16.
  3. Optionally move to hash-locked installs (pip-compile --generate-hashes + pip install --require-hashes) so a republished malicious wheel at the same version string is also refused.
Ngôn ngữ chính
Python
Star
55
Fork
29
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ruvnet/agentic-devops

Tất cả issue của ruvnet/agentic-devops

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.