Pin and verify tools in the OS image stemcell builder
Maintainer thường phản hồi trong vòng 1 ngày
@vighes đang làm issue này rồi.
Từ ngày 12/11/2026.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- build-system, devops, security
Hướng nghiên cứu
Start with the amd64 and arm64 Meta4 download and build steps in ci/docker/os-image-stemcell-builder/Dockerfile, then the argument handling in ci/tasks/build-docker-args.sh. Read stemcell_builder/stages/bosh_go_agent/apply.sh to see how Meta4 fetches the agent. Done means each downloaded tool has a pinned version or commit and a checksum check that fails the image build, with the arm64 path built from a commit SHA.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Harden the tools installed in the os-image-stemcell-builder image. The builder currently downloads the amd64 Meta4 binary without a checksum and builds the arm64 fallback from a release tag selected by releases/latest. The BOSH agent stage uses this Meta4 binary to download the agent from a metalink. A compromised Meta4 binary could undermine the agent integrity check.
Review the other tools downloaded by the image, including Syft, yq, and ruby-install, and apply the same integrity and pinning approach where applicable.
Affected areas
ci/docker/os-image-stemcell-builder/Dockerfileci/tasks/build-docker-args.shstemcell_builder/stages/bosh_go_agent/apply.sh
Acceptance criteria
- Pin the amd64 Meta4 download to a specific version and verify its checksum against a trusted value before use. Fail the image build if verification fails.
- Build arm64 Meta4 from a pinned immutable commit SHA instead of a release tag.
- Pin and verify the other tools downloaded by the builder image using appropriate trusted checksums or immutable source revisions.
- Cover the changes with appropriate checks for both amd64 and arm64 builder paths.
Requested by @vighes in the PR discussion.
Related PR: https://github.com/cloudfoundry/bosh-linux-stemcell-builder/pull/768
- Ngôn ngữ chính
- Ruby
- Star
- 52
- Fork
- 124
- Merge trung bình
- 1 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 23
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
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 cloudfoundry/bosh-linux-stemcell-builder
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
cloudfoundry/bosh-linux-stemcell-builder#802 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
cloudfoundry/bosh-linux-stemcell-builder#803 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Investigate making cloud-init → BOSH-agent network handoff explicit via service ordering (Azure)Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 30/100
cloudfoundry/bosh-linux-stemcell-builder#791 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
cloudfoundry/bosh-linux-stemcell-builder#738 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
cloudfoundry/bosh-linux-stemcell-builder#676 · 4 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của cloudfoundry/bosh-linux-stemcell-builder
Issue tương tự
-
Bug Ruby
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
getsentry/sentry-ruby#3211 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
internetee/registry#2984 ·
Maintainer thường phản hồi trong vòng 6 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
ecosyste-ms/issues#862 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Redis Lua error `@user_script:52: ERR value is not an integer or out of range` when `window_size` is configuredCó thể đã có người làm @mimosa đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
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 67/100
riscv/riscv-unified-db#2829 ·
Maintainer thường phản hồi trong vòng 1 ngày