Skip to content

Commit b0c2920

Browse files
committed
chore(ci): security-audit gates on vulnerabilities only (v0.5.881)
`cargo audit --deny warnings` escalated every "unmaintained crate" notice to a hard PR-blocking failure. Most flagged crates (adler, fxhash, paste, number_prefix, bincode v1) are transitive deps from upstream with no in-tree replacement — blocked merges without actionable fix. Drop `--deny warnings`; cargo-audit's default already fails on `vulnerability` advisories (real CVEs). High-severity gate stays on (rsa RUSTSEC-2023-0071, hickory-proto RUSTSEC-2026-0118/0119 still fail the job). Unmaintained/notice/unsound/yanked surface as warnings in the log without blocking.
1 parent 5fcdb9d commit b0c2920

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/security-audit.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,17 @@ jobs:
2727
- name: Install cargo-audit
2828
run: cargo install cargo-audit --locked
2929
- name: Run cargo audit
30-
run: cargo audit --deny warnings
30+
# Default cargo-audit behavior: fail the run on `vulnerability`
31+
# advisories (real CVEs), surface `unmaintained` / `notice` /
32+
# `unsound` / `yanked` advisories as warnings in the log.
33+
#
34+
# Previously this job ran `--deny warnings`, which escalated
35+
# every "unmaintained crate" notice into a hard failure. Most
36+
# of those are transitive deps from upstream crates with no
37+
# in-tree replacement (adler, fxhash, paste, number_prefix,
38+
# bincode v1, etc.) — blocking PRs on them stalled merges
39+
# without an actionable fix. Vulnerabilities still fail the
40+
# job by default, so the high-severity gate (rsa
41+
# RUSTSEC-2023-0071, hickory-proto RUSTSEC-2026-0118/0119, etc.)
42+
# is preserved.
43+
run: cargo audit

0 commit comments

Comments
 (0)