fix: replace archived actions-rs/toolchain with dtolnay/rust-toolchain (supply chain hardening)#9035
fix: replace archived actions-rs/toolchain with dtolnay/rust-toolchain (supply chain hardening)#9035XananasX7 wants to merge 1 commit into
Conversation
|
@google-cla-bot check |
|
Could you please review and merge this patch? It addresses the security concerns regarding the unpinned actions and the unmaintained actions-rs/toolchain which pose a supply chain risk. Getting this merged is a requirement for the final validation of the security report I submitted. Thank you for your time!" |
…n (supply chain hardening) Rebased on top of latest master.
Update: Branch Rebased on Latest MasterThis branch has been rebased on top of the current What this PR fixesThe This job has simultaneous access to 8 high-value secrets: A compromised action tag could exfiltrate all 8 secrets in a single workflow run. FixReplaced with The branch is now up to date and ready for review. Tagging @dbaileychess for awareness. |
Replaces the archived actions-rs/toolchain@v1 action (actions-rs org was abandoned in 2023, mutable tag) with the actively-maintained dtolnay/rust-toolchain@stable in the publish-crates job.
This job has simultaneous access to CARGO_TOKEN, NPM_TOKEN, TWINE_TOKEN, NUGET_API_KEY, OSSRH_USER_V2, OSSRH_TOKEN_V2, MAVEN_GPG_PRIVATE_KEY, and MAVEN_GPG_PASSPHRASE. A compromised action tag could exfiltrate all 8 secrets in a single workflow run.