Skip to content

ci: add cargo audit job and task - #106

Merged
AbysmalBiscuit merged 2 commits into
mainfrom
105-ci-cargo-audit
Sep 19, 2026
Merged

AbysmalBiscuit merged 2 commits into
mainfrom
105-ci-cargo-audit

Conversation

@AbysmalBiscuit

@AbysmalBiscuit AbysmalBiscuit commented Sep 19, 2026

Copy link
Copy Markdown
Owner

TL;DR (human written)

Add cargo audit ci job and devkit task.


Closes #105


Agent summary

Nothing checked Cargo.lock against the RustSec advisory database, so a vulnerable dependency could sit in the lockfile unnoticed.

CI gets an audit job that installs a prebuilt cargo-audit through taiki-e/install-action and runs cargo audit. devkit.toml gets a matching audit task, so devrun task audit runs the same check locally. The task stays out of verify because 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 audit reports without failing: number_prefix is unmaintained (RUSTSEC-2025-0119) and anyhow 1.0.102 has an unsound downcast_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

AbysmalBiscuit and others added 2 commits September 19, 2026 16:52
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>
@AbysmalBiscuit
AbysmalBiscuit merged commit 30d595f into main Sep 19, 2026
13 checks passed
@AbysmalBiscuit
AbysmalBiscuit deleted the 105-ci-cargo-audit branch September 19, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: add cargo audit job

1 participant