You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
client: decdn get pays the stream-signed rate, with no bound to the probe quote it selected the node on #2840
Source: security review at b5e29ae (2026-11-05). Each claim below was re-read on disk by independent verifiers.
The daemon's miss pull bounds the stream rate by the probe rate with effective_rate_ceiling(candidate_rate, ..) (crates/node/src/node_origin/mod.rs:2096, :2122). The CLI and SDK lanes do not:
lane_source passes the bare deps.max_rate_per_mb (crates/client/src/lanes.rs:414), whose CLI default is 0;
open_progressive_pull_impl checks the stream rate only when the ceiling is non-zero (crates/client/src/lib.rs:3253);
the probe rate is harvested into the peer store but never compared (crates/client/src/targets.rs:585-587).
A node that signs a low probe rate, which decdn quote and the decdn get estimate print, and a higher stream rate is paid the stream rate, up to MAX_RATE_PER_MB (1000 µUSDC/MB). The funding-recovery rule allows further top-ups while bytes keep arriving. The signed pair is slashable evidence, but the CLI does not file it.
#1375 named the missing buyer ceiling; this is the path its fix did not reach.
Carry each candidate's signed probe rate into lane_source, and pass effective_rate_ceiling(probe_rate, max_rate_per_mb) (same in bundle/engine.rs)
Test: a CLI pull refuses a stream rate above the selected candidate's probe rate
Activity