pcbjam/.github/workflows
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Gergő Törcsvári f6b0aaf122
findings X-1: pin every dependency tarball fetch to a SHA256 and enforce it
security-audit-v3 #15. download_file already had a verify branch; no caller
used it and every *_SHA256 in versions.sh was a commented placeholder, so a
tampered mirror tarball flowed straight into configure/make and the shipped
WASM.

- versions.sh: 13 pins (cross-checked against Homebrew/Buildroot/nixpkgs/
  FreeBSD/vcpkg/boost.org/curl PGP; glm .zip is TOFU), boost/curl/libgit2
  versions moved beside their pins.
- all 13 download_file call sites pass "${NAME_SHA256}".
- download_file refuses an empty or malformed pin (PCBJAM_ALLOW_UNPINNED=1
  to bootstrap a new dep); file_sha256 prefers sha256sum, falls back to shasum.
- scripts/deps/check-pins.sh: static 3-arg check + offline file:// enforcement
  test; runs in wasm-build.yml before the deps cache, on cache hits too.

Expect one cold --build-deps run: the deps-cache key hashes versions.sh.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GcsgJZ77bhZatLAVU8R84H
2026-08-28 20:34:16 +02:00
..
ci-ubicloud.yml jspi: retire the asyncify pipeline — knob, post-link tail, binaryen hooks 2026-08-13 08:39:12 +02:00
deploy-demo.yml feat(editor): report uncaught errors to Better Stack 2026-08-03 12:24:30 +02:00
deploy-site.yml chore(deploy/site): retire the migration scaffolding, keep the health check 2026-07-27 15:08:56 +02:00
deploy-staging.yml 3D models from the registry: --models-source flag, staging + prod editor builds 2026-08-25 13:23:03 +02:00
publish-libs.yml feat(deploy): publish-libs CI + full clone (C1.3) 2026-06-20 12:47:38 +02:00
release.yml 3D models from the registry: --models-source flag, staging + prod editor builds 2026-08-25 13:23:03 +02:00
wasm-build.yml findings X-1: pin every dependency tarball fetch to a SHA256 and enforce it 2026-08-28 20:34:16 +02:00