Skip to content

chore: supply chain hardening#166

Open
decofe wants to merge 10 commits intomainfrom
georgen/supply-chain-hardening
Open

chore: supply chain hardening#166
decofe wants to merge 10 commits intomainfrom
georgen/supply-chain-hardening

Conversation

@decofe
Copy link
Copy Markdown
Member

@decofe decofe commented Apr 14, 2026

Supply chain hardening from dependency scan:

  • Pin all GH Actions to SHA + bump to latest versions (checkout v6, upload/download-artifact v7/v8, docker actions v4/v6/v7, etc.)
  • Pin wevm/changelogs-rs@master and dtolnay/rust-toolchain@stable to SHA
  • Add persist-credentials: false to all actions/checkout steps
  • Pin Dockerfile base images (rustlang/rust:nightly-slim, ubuntu:24.04) to digest
  • Add deny.toml with advisory, source, and ban policies
  • Add cargo deny check to CI via tempoxyz/ci reusable workflow
  • Add .github/dependabot.yml for cargo + github-actions (weekly, 7-day cooldown)
  • Add auto-assign PR workflow via tempoxyz/ci
  • Scope workflow permissions to least-privilege (permissions: {} on verify/binary, job-level contents: write on upload only)
  • cargo update: fix 13 CVEs (aws-lc-sys, quinn-proto, lz4_flex, bytes, time, rand, rustls-webpki, keccak, tracing-subscriber)

Prompted by: georgen

- Pin all GH Actions to SHA (including wevm/changelogs-rs, dtolnay/rust-toolchain)
- Add persist-credentials: false to all checkouts
- Pin Dockerfile base images to digest
- Add deny.toml with advisory, source, and ban policies
- Add dependabot.yml for cargo + github-actions
- Scope permissions: drop workflow-level contents:write in binary.yml
- Add permissions: {} to verify.yml
- cargo update: fix 13 CVEs (aws-lc-sys, quinn-proto, lz4_flex, bytes, time, rand, etc.)
- Fix NonZero<u64> cast in decoder.rs after tempo-alloy update

Co-Authored-By: grandizzy <38490174+grandizzy@users.noreply.github.com>
decofe and others added 9 commits April 14, 2026 11:36
- actions/checkout v4.3.1 → v6.0.2
- actions/upload-artifact v4.6.2 → v7.0.1
- actions/download-artifact v4.3.0 → v8.0.1
- softprops/action-gh-release v2.6.2 → v3.0.0
- docker/setup-buildx-action v3.12.0 → v4.0.0
- docker/login-action v3.7.0 → v4.1.0
- docker/metadata-action v5.10.0 → v6.0.0
- docker/build-push-action v6.19.2 → v7.1.0
- Swatinem/rust-cache v2 → v2.9.1

Co-Authored-By: grandizzy <38490174+grandizzy@users.noreply.github.com>
Co-Authored-By: grandizzy <38490174+grandizzy@users.noreply.github.com>
Co-Authored-By: grandizzy <38490174+grandizzy@users.noreply.github.com>
Co-Authored-By: grandizzy <38490174+grandizzy@users.noreply.github.com>
Co-Authored-By: grandizzy <38490174+grandizzy@users.noreply.github.com>
Co-Authored-By: grandizzy <38490174+grandizzy@users.noreply.github.com>
Based on reth/foundry deny.toml patterns.

Co-Authored-By: grandizzy <38490174+grandizzy@users.noreply.github.com>
Co-Authored-By: grandizzy <38490174+grandizzy@users.noreply.github.com>
Co-Authored-By: grandizzy <38490174+grandizzy@users.noreply.github.com>
@grandizzy grandizzy marked this pull request as ready for review April 14, 2026 12:20
@grandizzy grandizzy requested review from horsefacts and jxom April 14, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants