Pin litellm to an exact version (unpinned top-level spec + stale 1.37.16 pin)
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
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:6declareslitellmunpinned — anypip install -r requirements.txtresolves to whatever the latest release is at install time.devops/requirements.txt:138(anddevops-cli/requirements.txt:154) pinlitellm==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
- Replace the bare
litellmin the top-levelrequirements.txtwith an exact pin (e.g.litellm==1.106.2or a vetted recent version). - Keep the vendored aider requirements in sync with the same version rather than the stale
1.37.16. - 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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ruvnet/agentic-devops
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
ruvnet/agentic-devops#3 · 2 bình luận ·
Tất cả issue của ruvnet/agentic-devops
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
foxglove/mcap#1907 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
namespace operations
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
EclipseFdn/open-vsx.org#14623 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
developmentseed/titiler-cmr#261 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
andrewyng/openworker#774 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
aggfuncĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
worldbank/blackmarblepy#160 ·