Repository navigation
ci: allow RUSTSEC-2026-0620 in the Rust audit, with the reason - #115
Merged
Merged
Conversation
curve25519-dalek 4.1.3 is held by ed25519-dalek 2.x under soroban-sdk 29.0.1, the fixed 5.1.0 cannot be resolved, and the affected AVX-512 path only compiles on nightly with the simd backend, which neither CI nor the wasm32 contracts use. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
M0nsxx
approved these changes
Dec 3, 2026
M0nsxx
left a comment
Member
There was a problem hiding this comment.
AI-assisted review (Claude)
Read the diff: it only adds --ignore RUSTSEC-2026-0620 to the cargo audit step, with the reason next to the existing 0387 entry. The root Cargo.lock has curve25519-dalek 4.1.3 under ed25519-dalek 2.2.0 and soroban-sdk 29.0.1, so the fixed 5.x can't be resolved from here, and the AVX-512 path needs nightly with the simd backend, which CI and the wasm32 contracts don't use. Every other advisory still fails the gate, and all 7 checks pass on this branch. Approving.
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.
The Security Gate on
mainwent red after #114 because of RUSTSEC-2026-0620 (curve25519-dalek 4.1.3, a bug in the AVX-512 scalar multiplication).We can't take the fix from this repo:
^4, and the fixed release is 5.1.0.cargo update -p curve25519-dalek --precise 5.1.0fails.cfg(all(curve25519_dalek_backend = "simd", nightly)). CI uses stable, and the contracts build for wasm32, which never picks the simd backend.So the gate ignores this one advisory, and the reason sits next to the existing RUSTSEC-2026-0387 entry. The other findings are still reported as allowed warnings, and any new advisory still fails the gate. We should look at this again with the next soroban-sdk major.
Checked locally:
cargo audit --ignore RUSTSEC-2026-0387 --ignore RUSTSEC-2026-0620exits clean with 13 allowed warnings.🤖 Generated with Claude Code