Conversation
… for RUSTSEC advisories Lockfile-only, semver-compatible updates that clear 12 of the 18 vulnerabilities cargo audit reports on v5.0-dev: - h2 0.4.15 -> 0.4.20 (RUSTSEC-2026-0258) - rustls 0.23.40 -> 0.23.46 (RUSTSEC-2026-0285, -0346, -0348, -0349), with aws-lc-rs 1.18.2, aws-lc-sys 0.46.0 and rustls-webpki 0.103.15 - quinn-proto 0.11.14 -> 0.11.19 (RUSTSEC-2026-0185, -0338, -0339, -0340, -0342) - crossbeam-epoch 0.9.18 -> 0.9.21 (RUSTSEC-2026-0204) - rust_decimal 1.42.1 -> 1.43.0, which drops its rkyv 0.7 dependency (RUSTSEC-2026-0235). rkyv was never compiled; it sat in the lockfile only because rust_decimal's std feature names the weak feature rkyv?/std. Also clears free warnings: anyhow 1.0.104, event-listener 5.4.2, and non-yanked base58ck, bitcoin-io, bitcoin_hashes, chacha20 and spin. The remaining 6 findings are zip 8.6.0 (tenderdash-proto-compiler) and zip 6.0.0 (zip-extensions in grovedb's grovedbg feature), fixed upstream. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 4 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Waiting for bot review — coderabbitai not yet · thepastaclaw ✓. Wait for the missing reviews, or a writer can post |
|
🕓 Review not started yet because the new head is waiting for the 30-minute push debounce.
Commit da023ee. Normal review starts when eligible; priority review starts as soon as a slot is available. |
thepastaclaw
left a comment
There was a problem hiding this comment.
Final validation — Phase 1 + Phase 2
The effective pull-request diff against v5.0-dev is Cargo.lock only, and the dependency re-resolution is consistent with the stated semver-compatible updates. No in-scope correctness, security, consensus, or dependency-direction defect was found; Kotlin validation passed, while the Rust and Swift jobs were skipped by a pre-existing Cargo.lock path-filter gap.
Review provenance
Source: reviewer 1: glm-5.3-flash (agent: phase1-reviewer, role: general); reviewer 2: gpt-6.1-sol (agent: phase2-reviewer, role: general); reviewer 3: gpt-6.1-sol (agent: phase2-reviewer, role: architecture-layering); reviewer 4: gpt-6.1-sol (agent: phase2-reviewer, role: security-auditor); final verifier: gpt-6.1-sol (agent: sol-verifier, role: final-verifier)
- Triage:
lowbygpt-6.1-sol(effort low) — The diff is confined to semver-compatible dependency updates in Cargo.lock, making it a contained change without direct modifications to application logic or critical surfaces. - Phase 1 reviewers:
glm-5.3-flash— general (completed, effort high); agentphase1-reviewer - Phase 1 model:
glm-5.3-flash— zai quota: 5h 100% left, weekly 99% left; passed overgemini-3.8-flash-high(lane failed) - Fresh verifier:
gpt-6.1-sol— final-verifier; agentsol-verifier - Phase 2 reviewers:
gpt-6.1-sol— general (completed, effort medium); agentphase2-reviewer,gpt-6.1-sol— architecture-layering (completed, effort medium); agentphase2-reviewer,gpt-6.1-sol— security-auditor (completed, effort medium); agentphase2-reviewer
Out-of-scope follow-up suggestions (1)
These are valid observations, but they are outside this PR's scope and should be handled in separate issues or author/maintainer-requested PRs rather than blocking this review.
- Lockfile-only dependency updates do not trigger Rust or Swift validation jobs — The Rust package filter does not include Cargo.lock, and the Rust workspace job requires either a non-empty package filter or a workflow change, so this lockfile-only pull request skips the workspace tests even though the scope heuristic separately recognizes Cargo.lock as requiring a full run. The Swift SDK filter also omits Cargo.lock, so the aws-lc-sys and related native dependency changes receive no Swift build validation.
- Follow-up: Update the CI path filters to include Cargo.lock for the Rust workspace and Swift SDK jobs, or add an explicit dependency-update trigger.
GroveDB 6.1.1 (2128ea18) is 6.1.0 plus dashpay/grovedb#1023: the grovedbg feature unpacks the bundled GroveDBG UI with zip 9 instead of zip-extensions 0.13 / zip 6, which RUSTSEC-2026-0367, -0368 and -0369 cover. zip 6.0.0 and zip-extensions leave Cargo.lock, taking cargo audit from 6 vulnerabilities to 3 (all zip 8.6.0 via tenderdash-proto-compiler). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Waiting for bot review — coderabbitai not yet · thepastaclaw not yet. Wait for the missing reviews, or a writer can post |
Brings 5.0.0-rc.5, rc.6 and rc.7 (v5.0-dev 79693ec) into v5.1-dev. Conflict resolutions: - Cargo.toml: GroveDB moves to 6.1.1 (2128ea18, dashpay#5499; fast-forward of fc7028d8). rust-dashcore stays on dev aca02026; v5.0-dev's v0.45.0 pin (d631aaca) is not taken. - Cargo.lock: v5.1-dev's lockfile, re-resolved for GroveDB 6.1.1, with dashpay#5499's RUSTSEC bumps replayed via cargo update --precise (h2 0.4.20, rustls 0.23.46, rustls-webpki 0.103.15, quinn-proto 0.11.19, crossbeam-epoch 0.9.21, rust_decimal 1.43.0, anyhow 1.0.104, event-listener 5.4.2, chacha20 0.10.2, spin 0.9.9). - CHANGELOG.md: [Unreleased] on top, then the rc.7, rc.6 and rc.5 entries. - rs-dpp serialization/mod.rs: keeps v5.1's dashcore module gate and takes dashpay#5498's serde-conversion gate for the json module. - rs-sdk dpns_usernames, put_document: dashpay#5409's ResponseMetadata import with v5.1's dpp::secp256k1 rand imports. - platform-wallet masternode/update_service.rs (dashpay#5408, dashpay#5497): v5.0's file ported to dpp::bls. rust-dashcore dev does not expose the coinbase of applied masternode list diffs, so the coinbase source is optional: with none, V24 is read from the list alone (any version-3 entry), as dashpay#5408 did, instead of refusing every legacy evonode update. - platform-wallet spv/runtime.rs: masternode_list_entries reads through DashSpvClient::latest_masternode_list (the engine is crate-private on dev); latest_coinbase is not carried over. - platform-wallet platform_wallet_traits.rs: both branches forwarded unrecorded_spend_heights and note_chain_lock_height; one forward each is kept, and the tests of both branches. - platform-wallet identity/network/profile.rs: v5.1's rs-sdk profile path (dashpay#5470). dashpay#5409's proven-balance persistence for profile writes follows in a separate commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Basic explanation
What this does: Moves GroveDB (our storage engine) from 6.1.0 to 6.1.1, and a handful of third-party Rust libraries to newer patch releases. No Platform code changes; only the GroveDB pin in
Cargo.tomlandCargo.lock. GroveDB 6.1.1 differs from 6.1.0 only in how its optional debugger unpacks its web UI. The third-party libraries are the HTTP/2 layer under gRPC (h2), the TLS library (rustls), the QUIC library used byreqwest(quinn-proto), a memory-reclamation helper used byrayon/moka(crossbeam-epoch), and the decimal library behind fee distribution (rust_decimal).Value: The nightly "Security: Rust Crates" job (
cargo audit) has been red every night for 60+ days. This takes it from 18 reported vulnerabilities to 3, and from 11 warnings to 3. The 3 that remain all come from onezipcopy inside rs-tenderdash-abci, which is being fixed there (link below).Risks: Low. Every bump is semver-compatible and the workspace still compiles with
--locked. Nothing here touches consensus code, state, or serialization: GroveDB 6.1.1 is 6.1.0 plus dashpay/grovedb#1023, which only changes thegrovedbgdebugger feature, and everyGroveVersionbehaves as in 6.1.0. The largest pulled-in change isaws-lc-sys0.41 to 0.46 (the native crypto backend rustls 0.23.46 requires), which builds C code and could behave differently on unusual build hosts.Issue being fixed or feature implemented
cargo +stable audit(cargo-audit 0.22.2,.github/workflows/security-audit-rust.yml) fails onv5.0-dev. It runs only on schedule, so the failures went unnoticed.What was done?
GroveDB 6.1.1. The nine
grovedb*pins in the rootCargo.tomlmove fromfc7028d8(6.1.0) to2128ea18(v6.1.1). The only code change between them is dashpay/grovedb#1023: thegrovedbgfeature unpacks the bundled GroveDBG web UI withzip9 instead ofzip-extensions0.13 /zip6. That removeszip6.0.0 andzip-extensionsfrom the lockfile and clears its three findings.Lockfile bumps.
cargo update -p <crate>for each vulnerable crate, plus the yanked/unsound crates that had a free patch release.h2rustlsquinn-protocrossbeam-epochrust_decimalrkyv0.7.46 from the lockfile)anyhowevent-listenerbase58ck,bitcoin-io,bitcoin_hasheschacha20spinPulled along by the above:
aws-lc-rs1.17.0 to 1.18.2,aws-lc-sys0.41.0 to 0.46.0 andrustls-webpki0.103.13 to 0.103.15 (required by rustls 0.23.46);rand_pcg(new dependency of quinn-proto 0.11.19);bitcoin-consensus-encoding,bitcoin-internals0.7 andhex-conservative1.3 (new dependencies of the non-yankedbitcoin-io/bitcoin_hashespatch releases);zip9.0.5 andnix0.31.3 (GroveDB 6.1.1), withzip-extensions,zip6.0.0 and their dependencies removed.Why
rkyvwas in the lockfile at all: no workspace crate enablesrust_decimal'srkyvfeature, sorkyv0.7 was never compiled (cargo tree -i rkyv --all-features --target all -e allprints nothing). It sat inCargo.lockbecauserust_decimal1.42'sstdfeature contains the weak featurerkyv?/std, and Cargo records weak-feature optional dependencies in the lockfile even when they are off.rust_decimal1.43.0 dropped therkyv0.7 dependency, so the entry goes away.cargo audit, before:After:
What is left
The 3 remaining findings are RUSTSEC-2026-0367, -0368 and -0369 (zip extraction of symlinks and permission bits) for
zip8.6.0, throughtenderdash-proto-compiler(a build dependency oftenderdash-proto, which unpacks the Tenderdash proto sources it downloads). Upstream: dashpay/rs-tenderdash-abci#221 (dependabot, CI green). It needs a merge, a tag, and a tag bump here (rs-drive-abci,rs-drive-proof-verifier,dapi-grpc).The 3 remaining warnings need a major bump or an upstream change and do not fail the job:
lru0.16 (unsound, fixed in 0.18; a direct dependency ofdash-sdk,rs-dapi-clientandrs-sdk-trusted-context-provider),scc2.4 (unsound, fixed in 3.8; throughzeromq0.5.0-pre) andatomic-polyfill(unmaintained; throughheapless0.7).How Has This Been Tested?
cargo check --workspace --lockedcargo check -p drive-abci --features grovedbg --locked(the GroveDB code path 6.1.1 changes)cargo +stable auditwith cargo-audit 0.22.2 (counts above)Breaking Changes
None.
Checklist:
structure.rs, regeneratedgrovedb-structure.json, and checked the structure viewer link posted on this pull requestFor repository code-owners and collaborators only
🤖 Generated with Claude Code
PR Hygiene ·
da023ee/skip-botsproceeds without the ones not yet reported/self-reviewedWhen every merge requirement is met, the
PR Hygienecheck passes. Reviewer limits do not block merging; other required GitHub checks and protections still apply.