Pin and verify tools in the OS image stemcell builder
I maintainer di solito rispondono entro 1 giorno
@vighes ci sta già lavorando.
Dal 12/11/2026.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Refactoring
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- build-system, devops, security
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Ruby
- Stelle
- 52
- Fork
- 124
- Merge medio
- 1g 2h
- PR unite (30g)
- 23
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di cloudfoundry/bosh-linux-stemcell-builder
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
cloudfoundry/bosh-linux-stemcell-builder#802 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
cloudfoundry/bosh-linux-stemcell-builder#803 ·
I maintainer di solito rispondono entro 1 giorno
-
Investigate making cloud-init → BOSH-agent network handoff explicit via service ordering (Azure)Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 30/100
cloudfoundry/bosh-linux-stemcell-builder#791 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
cloudfoundry/bosh-linux-stemcell-builder#738 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
cloudfoundry/bosh-linux-stemcell-builder#676 · 4 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di cloudfoundry/bosh-linux-stemcell-builder
Issue simili
-
Bug Ruby
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
getsentry/sentry-ruby#3211 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
internetee/registry#2984 ·
I maintainer di solito rispondono entro 6 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ecosyste-ms/issues#862 ·
I maintainer di solito rispondono entro 1 giorno
-
Redis Lua error `@user_script:52: ERR value is not an integer or out of range` when `window_size` is configuredForse già presa @mimosa l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
riscv/riscv-unified-db#2829 ·
I maintainer di solito rispondono entro 1 giorno