Add cargo-vet and cargo-deny supply-chain security#25
Merged
jerrysxie merged 11 commits intoJun 12, 2026
Conversation
There was a problem hiding this comment.
Pull request overview
This PR introduces Rust supply-chain security checks by adding cargo-vet configuration (including imported third-party audits) and integrating cargo-deny/cargo-vet into GitHub Actions workflows to continuously validate dependencies in CI.
Changes:
- Add
cargo-vetconfiguration undersupply-chain/and set up audit imports. - Add GitHub Actions workflows to run
cargo veton PRs and post/update PR comments with results. - Integrate
cargo-denyconfiguration and a CI job to check advisories/licenses/bans/sources.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| supply-chain/imports.lock | Initializes cargo-vet import lock structure for upstream audit sources. |
| supply-chain/config.toml | Configures cargo-vet and defines upstream audit import URLs. |
| supply-chain/audits.toml | Adds the local audits file scaffold for cargo-vet. |
| .github/workflows/cargo-vet.yml | Adds CI job to install and run cargo-vet on PRs and upload PR metadata artifact. |
| .github/workflows/cargo-vet-pr-comment.yml | Adds workflow_run-based PR commenting/labeling based on cargo-vet outcomes. |
| deny.toml | Adds cargo-deny policy configuration for dependency checks. |
| .github/workflows/check.yml | Adds/updates CI to run cargo-deny as part of the main check workflow. |
felipebalbi
previously approved these changes
May 18, 2026
Certify 10 previously unvetted dependencies for safe-to-deploy: - memchr 2.7.6->2.8.0, rustc-hash 2.1.1->2.1.2, zmij 1.0.20->1.0.21, itoa 1.0.15->1.0.18 (delta audits) - embedded-hal and embedded-hal-async 1.0.0->1.0.0@git:e6b10a66, embassy-sync 0.8.0->0.7.2 (delta audits) - anyhow 1.0.102, prettyplease 0.2.37, serde_json 1.0.149 (full audits) Fix corrupted policy keys for embedded-hal and embedded-hal-async in config.toml. Remove duplicate audit entries from prior sessions. Refresh imports.lock. Assisted-by: GitHub Copilot:claude-opus-4.6 cargo-vet
kurtjd
approved these changes
Jun 12, 2026
RobertZ2011
approved these changes
Jun 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds supply-chain security tooling based on the
embedded-rust-template:
supply-chain/) – dependency audit tracking with importsfrom ODP shared audits, Google, and Mozilla.
cargo-vet.yml+ PR comment workflow