Merge rust-bitcoin/rust-bitcoin#7036: build(deps): bump dtolnay/rust-toolchain from 7e38f4b43b4db5c8dd498af069a4f6196df1d067 to e2a55d2ffb04f378e9626c28d38b36d230d1e12f
What changed, and why it matters
This commit updates the version of a third-party GitHub Action used to install Rust in the project's automated workflows. The new version of the action fixes a security issue in how it handled workflow inputs, which could potentially be exploited in supply-chain attacks. The change only affects the project's own CI/build automation, not the Rust Bitcoin library code that end users run.
No immediate action is required for users of the rust-bitcoin library. Maintainers should verify the new action hash against the upstream repository and ensure workflow secrets and permissions remain minimally scoped. Consider reviewing GitHub Actions OIDC/token settings as routine supply-chain hygiene.
Security signals we found
Third-party GitHub Action dependency bump
Upstream action branch name 'pwn' and commit 'Safely handle action inputs' suggest a security fix
CI/workflow-only change with no modifications to library source code
Pinning to a specific commit hash (not a floating tag) remains in place
Evidence from the diff
The commit bumps dtolnay/rust-toolchain from commit 7e38f4b43b4db5c8dd498af069a4f6196df1d067 to e2a55d2ffb04f378e9626c28d38b36d230d1e12f across four GitHub workflow files. The upstream action’s changelog between these commits includes a merge of PR #187 from a branch named ‘pwn’ and commits titled ‘Safely handle action inputs’ and ‘Unify flags[@] and downgrade[@]’, indicating a fix for an input-handling security issue in the action itself. This is a supply-chain/CI hardening update rather than a vulnerability in rust-bitcoin’s source code.
Changed components
.github/workflows/cron-daily-audit.yml.github/workflows/cron-daily-miri.yml.github/workflows/rust.yml.github/workflows/semver-checks.ymlInspect captured patch +8 / −8
### .github/workflows/cron-daily-audit.yml
@@ -18,7 +18,7 @@ jobs:
with:
persist-credentials: false
- name: "Install Rustup"
- uses: dtolnay/rust-toolchain@7e38f4b43b4db5c8dd498af069a4f6196df1d067 # v1
+ uses: dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f # v1
with:
toolchain: stable
- name: "Install cargo-binstall"
### .github/workflows/cron-daily-miri.yml
@@ -26,7 +26,7 @@ jobs:
id: read_toolchain
run: echo "nightly_version=$(cargo metadata --format-version 1 | jq -r '.metadata.rbmt.toolchains.nightly')" >> $GITHUB_OUTPUT
- name: "Select toolchain"
- uses: dtolnay/rust-toolchain@7e38f4b43b4db5c8dd498af069a4f6196df1d067 # v1
+ uses: dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f # v1
with:
toolchain: ${{ steps.read_toolchain.outputs.nightly_version }}
components: miri
### .github/workflows/rust.yml
@@ -182,7 +182,7 @@ jobs:
with:
persist-credentials: false
- name: "Select toolchain"
- uses: dtolnay/rust-toolchain@7e38f4b43b4db5c8dd498af069a4f6196df1d067 # v1
+ uses: dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f # v1
with:
toolchain: stable
- name: "Add architecture i386 and install dependencies"
@@ -217,7 +217,7 @@ jobs:
with:
persist-credentials: false
- name: "Select toolchain"
- uses: dtolnay/rust-toolchain@7e38f4b43b4db5c8dd498af069a4f6196df1d067 # v1
+ uses: dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f # v1
with:
toolchain: ${{ needs.Prepare.outputs.nightly_version }}
- name: "Install rust-src"
@@ -255,7 +255,7 @@ jobs:
with:
persist-credentials: false
- name: "Select toolchain"
- uses: dtolnay/rust-toolchain@7e38f4b43b4db5c8dd498af069a4f6196df1d067 # v1
+ uses: dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f # v1
with:
toolchain: stable
- name: "Run policy script"
@@ -293,7 +293,7 @@ jobs:
with:
persist-credentials: false
- name: "Select toolchain"
- uses: dtolnay/rust-toolchain@7e38f4b43b4db5c8dd498af069a4f6196df1d067 # v1
+ uses: dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f # v1
with:
toolchain: stable
- name: "Check Encode coverage"
@@ -309,7 +309,7 @@ jobs:
persist-credentials: false
fetch-depth: 0 # required for full diff context
- name: "Select toolchain"
- uses: dtolnay/rust-toolchain@7e38f4b43b4db5c8dd498af069a4f6196df1d067 # v1
+ uses: dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f # v1
with:
toolchain: stable
- name: "Fetch base branch for diff"
### .github/workflows/semver-checks.yml
@@ -23,7 +23,7 @@ jobs:
fetch-depth: 0 # we need full history for cargo semver-checks
persist-credentials: false
- name: "Install Rustup"
- uses: dtolnay/rust-toolchain@7e38f4b43b4db5c8dd498af069a4f6196df1d067 # v1
+ uses: dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f # v1
with:
toolchain: stable
- name: "Select stable-version"Why this scored 16/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.