ci: add cargo audit job and task - #106
Merged
Merged
Conversation
rustls 0.23.40 accepts TLS 1.3 handshake messages across encryption level boundaries. 0.23.45 fixes it; rustls-webpki moves with it. Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Nothing checked Cargo.lock against the RustSec advisory database, so a vulnerable dependency could sit in the lockfile unnoticed. CI now runs cargo audit on every push and PR, and `devrun task audit` runs the same check locally. Closes #105 Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
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.
TL;DR (human written)
Add
cargo auditci job and devkit task.Closes #105
Agent summary
Nothing checked
Cargo.lockagainst the RustSec advisory database, so a vulnerable dependency could sit in the lockfile unnoticed.CI gets an
auditjob that installs a prebuiltcargo-auditthroughtaiki-e/install-actionand runscargo audit.devkit.tomlgets a matchingaudittask, sodevrun task auditruns the same check locally. The task stays out ofverifybecause it fetches the advisory database over the network.main currently fails the audit on RUSTSEC-2026-0285 (rustls 0.23.40 accepts TLS 1.3 handshake messages across encryption level boundaries), so the first commit bumps rustls to 0.23.45 and the job starts green. Two advisories remain as warnings, which
cargo auditreports without failing:number_prefixis unmaintained (RUSTSEC-2025-0119) andanyhow1.0.102 has an unsounddowncast_mut(RUSTSEC-2026-0190).The job runs on push and PR only. An advisory published against an unchanged lockfile surfaces on the next push, not the day it lands.
🤖 Generated with Claude Opus 5 via Claude Code