Repository navigation
Conversation
…2796) crypto-bigint 0.5.5 reaches the workspace through elliptic-curve 0.13 -> k256 0.13 -> alloy-signer / alloy-signer-local / alloy-primitives. The fix ships only in crypto-bigint >=0.7.6, and the latest alloy still requires k256 ^0.13, so no update clears it. The deny.toml entry records that k256 0.13 scalar add/sub/neg and range checks run on the signing key through crypto-bigint, and what to watch before the entry can go. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Code coverage overviewLanguages: Rust Rust / code-coverage/cargo-llvm-cov
View coverage of the 3 most impacted files.
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. |
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.
Summary
cargo deny checkfails locally on RUSTSEC-2026-0387 (constant-time violations incrypto-bigint, fixed only in >=0.7.6). CI only annotates it. This PR adds a justifiedignoreentry todeny.toml, a### SecurityCHANGELOG entry, and links the tracking issue #2796.Why an ignore, not an upgrade
The chain is
crypto-bigint 0.5.5<-elliptic-curve 0.13.8<-k256 0.13.4<-alloy-signer 2.5.0/alloy-signer-local 2.5.0/alloy-primitives 1.7.3<-alloy.cargo update: no. 0.5.5 is the last 0.5 release,elliptic-curve 0.13requirescrypto-bigint ^0.5, and the fix exists only on 0.7.k256 0.14(onelliptic-curve 0.14->crypto-bigint ^0.7.8) is released, butalloy-signer2.5.0,alloy-signer-local2.5.0 andalloy-primitives1.7.3, the latest releases, all requirek256 ^0.13. The alloy migration is an open, breaking PR (chore(crates/primitives): migrate to new versions ofrandandk256alloy-rs/core#1147). A local[patch]or fork of alloy is out of scope for a dependency triage. alloy itself ignores this ID in its owndeny.toml(chore(deps): fix cargo deny advisories alloy-rs/alloy#4456).Exposure, stated honestly
The entry does not claim we are unaffected:
U256. It does scalar add, subtract and negate (add_mod,sub_mod,neg_mod) and the< nrange check (ct_lt) with crypto-bigint. So the signing key and thez + r*dterm of every ECDSA signature go through it.PrivateKeySignersignature takes this path: payment vouchers, EIP-712 capabilities, probe and streamslash_sig, and transactions.cdn/probe/v1andcdn/client/v1. It sees the signing time only through QUIC and scheduler jitter.The header comment of
deny.tomlchanges too. It said all suppressed advisories were "unmaintained" notices with no runtime exposure, and it carried a date stamp. Both are no longer true.Test plan
cargo deny checkexits 0 (advisories, bans, licenses and sources allok; the remaining warnings are the existing duplicate and wildcard ones).github/scripts/cargo-deny-warn.shexits 0pre-commit run --files deny.toml CHANGELOG.mdpasses (markdownlint, cargo-deny and the whitespace hooks)No code, wire, config or ABI change.
🤖 Generated with Claude Code