fix(security): resolve RUSTSEC-2026-0204 + rkyv advisories blocking CI - #79
Merged
Conversation
- Update crossbeam-epoch 0.9.18 -> 0.9.20 (RUSTSEC-2026-0204) - Update rkyv 0.8.16 -> 0.8.17 (RUSTSEC-2026-0233/0234/0235) - Ignore RUSTSEC-2026-0235 in .cargo/audit.toml for the remaining rkyv 0.7.46 lockfile entry: rust_decimal's unused optional legacy feature, never compiled, no patched 0.7.x exists Unblocks the Backend Security Audit gate failing on all PRs (e.g. #78).
Owner
Author
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Contributor
📊 Coverage Report
Coverage Thresholds
Coverage reports generated by CI workflow |
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.
Why
The Backend Security Audit gate is failing on every PR (first seen on #78, a postcss Dependabot bump that doesn't touch Rust at all) because new RustSec advisories landed:
.cargo/audit.toml(see below)The rkyv 0.7.46 ignore
There is no patched 0.7.x release (fix is only in >=0.8.17). The lone rkyv 0.7 lockfile entry comes from
rust_decimal's optional legacyrkyvfeature, which Ampel never enables — the crate is locked but never compiled. cargo-deny resolves the real feature graph and never even sees it, so the ignore lives only in.cargo/audit.toml(which scans the raw lockfile). Exit condition documented: remove when rust_decimal drops its optional rkyv 0.7 dependency.Verification
cargo audit→ 0 vulnerabilities (6 pre-existing allowed warnings)cargo deny check advisories→ okcargo check --workspace --all-targets --all-features→ cleanOnce merged, #78 needs a
@dependabot rebaseto pick this up.🤖 Generated with Claude Code