ci: add cargo-audit workflow for supply-chain coverage#13
Merged
Conversation
amavashev
added a commit
that referenced
this pull request
Apr 19, 2026
Resolves three RustSec advisories detected by cargo-audit: - RUSTSEC-2026-0098 / RUSTSEC-2026-0099 — rustls-webpki 0.103.10 (announced 2026-04-14): certificate-chain validation issues. Fixed upstream in 0.103.12. - RUSTSEC-2026-0097 — rand 0.9.2: weak-RNG path under specific feature combinations. Fixed upstream in 0.9.4. Both are transitive deps (rustls-webpki via reqwest's rustls-tls feature; rand via the same TLS stack + retry jitter). Cargo.lock bump only — no Cargo.toml changes needed; semver-compatible patches. Build + tests green. cargo-audit workflow (PR #13) will verify once merged.
3 tasks
amavashev
added a commit
that referenced
this pull request
Apr 19, 2026
Resolves three RustSec advisories detected by cargo-audit: - RUSTSEC-2026-0098 / RUSTSEC-2026-0099 — rustls-webpki 0.103.10 (announced 2026-04-14): certificate-chain validation issues. Fixed upstream in 0.103.12. - RUSTSEC-2026-0097 — rand 0.9.2: weak-RNG path under specific feature combinations. Fixed upstream in 0.9.4. Both are transitive deps (rustls-webpki via reqwest's rustls-tls feature; rand via the same TLS stack + retry jitter). Cargo.lock bump only — no Cargo.toml changes needed; semver-compatible patches. Build + tests green. cargo-audit workflow (PR #13) will verify once merged.
CodeQL default-setup is active on this repo but produces no findings — CodeQL has no Rust analyzer, so it's silently a no-op. cargo-audit against rustsec/advisory-db is the ecosystem-standard fix. Triggers: - PRs touching Cargo.lock / Cargo.toml — catches vulnerable new deps before merge. - Push to main (same path filter) — belt-and-suspenders. - Weekly Monday cron — catches CVEs announced after the code was written against an unchanged Cargo.lock. Most valuable trigger in practice. - workflow_dispatch — manual re-check. Uses taiki-e/install-action to fetch a pre-built cargo-audit binary (~5s) instead of building from source (~90s) — keeps the weekly run cheap.
amavashev
force-pushed
the
ci/cargo-audit
branch
from
April 19, 2026 15:15
2a19008 to
89e78b7
Compare
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.
Summary
cargo-audit.ymlrunningcargo auditagainst the rustsec advisory database.Cargo.lock/Cargo.toml, push tomain, weekly Monday cron, andworkflow_dispatch.Cargo.locks.taiki-e/install-actionfor a pre-builtcargo-auditbinary (~5s) instead of building from source (~90s).Test plan
cargo auditrun.