[DAO] chainops.account_snapshot allows multi-hop post-snapshot relay taint laundering and premature lease_settle voting weight multiplication
Report
Summary
dao/chainops.py (account_snapshot, _sends_at_or_before) enforces only single-hop sender causality on incoming receive blocks (send["timestamp"] > at), and credits lease_settle blocks without verifying whether the underlying lease_offer / lease_accept and any lease_renew segments actually reached expiry at or before the snapshot timestamp at (or whether timekeeper attestations place effective settlement after at).
This creates two governance voting-weight amplification and snapshot-bypass defects:
- Multi-hop relay taint laundering across the
±1hblock-timestamp tolerance:- Suppose voter
W_0holds1,000 XEat snapshotT, votes withW_0, and afterTsends1,000 XEat timestampT + 1to intermediate relayR_1, which then forwards1,000 XEtoW_1in asendblock self-dated<= T(valid on-chain within the 1-hour ledger timestamp window), whereW_1receives it at<= T. - When
account_snapshot(client, W_1, at=T)inspectsW_1'sreceivefromR_1,R_1'ssendblock hastimestamp <= T, so single-hop inspection stops atR_1without checking thatR_1's balance was funded afterTbyW_0! RepeatingW_k -> R_{k+1} -> W_{k+1}multiplies the same1,000 XEacrossNeligible voting wallets (N * 1,000 XEaggregate voting weight) after the snapshot has already closed.
- Suppose voter
- Premature / post-snapshot
lease_settleandlease_renewbypass:account_snapshottreatslease_settleblocks withtimestamp <= atas clean balance restoration without verifying on the lease chain (lease_offer,lease_accept,lease_renew) that every lease and renewal duration had actually expired byat, and without excluding settlements whose timekeeper attestations place effective settlement afterat.- In addition,
xe/client.py(account_block) does not validateduration,start_time, or timekeeper attestation timestamps as integers at intake, and cached voter snapshots underSNAPSHOT_RULE = 4retain tainted weights unless the rule version is bumped.
Impact
A single holder of X XE can multiply governance voting power across arbitrary fresh wallets after a proposal's snapshot timestamp T via 2-hop (W_i -> R_{i+1} -> W_{i+1}) transfers inside the ledger timestamp tolerance, or count unexpired/post-snapshot lease settlements toward snapshot voting weight.
Thread
Proposed fix opened in https://github.com/xeprotocol/dao/pull/6.
Thanks. This is the same finding as an earlier report that is not public, which was filed first; the programme pays the first verifiable submission, so this one closes as a duplicate. If you believe it is a different bug, file a new report that links https://bounty.xe.network/XE-13382 and says what differs; it is read like any other.