# Edge from dishonest challenge edge tree can inherit timer from honest tree allowing confirmation of incorrect assertion

Arbitrum BOLD challenge edges could inherit unrivaled timers across rival challenge trees, letting a dishonest edge confirm an incorrect assertion and steal honest validator stake.

- Payout: Audit contest
- Severity: high
- Program: Arbitrum Foundation
- Found by: Kow
- Disclosed: 2024-06-17
- Write-up quality: 8/10
- Original: https://github.com/code-423n4/2024-05-arbitrum-foundation-findings/issues/2
- Library page: https://bugbountylibrary.com/r/c4%3A2024-05-arbitrum-foundation%3AH-02
- Tags: area:web3 domain:web3 impact:funds-loss impact:integrity kind:contest platform:code4rena sev:high tech:evm tech:solidity technique:chained technique:source-review vuln:accounting-error vuln:business-logic

**Target:** EdgeChallengeManager / RollupUserLogic challenge protocol (Solidity)
**Root cause:** checkClaimIdLink validates only mutualId/originId and level adjacency, not that the claiming edge belongs to the same challenge tree; rivals share mutualId, so any rival edge can inherit an honest edge's timer.
**Steps:**
1. Bisect honest and dishonest block edges to a fork; honest level-1 leaf becomes unrivalled.
2. Advance blocks by challengePeriodBlock and call `updateTimerCacheByChildren(honestLeafId)` to accrue unrivaled time.
3. Call `updateTimerCacheByClaim(dishonestRivalId, honestLeafId)` — passes checkClaimIdLink since mutualId matches originId and level is adjacent.
4. Propagate timer upward via `updateTimerCacheByChildren` on each dishonest parent edge to the root.
5. Call `confirmEdgeByTime(dishonestRootId, a1Data)`; edge status becomes Confirmed for the incorrect assertion.
**How found:** Code review of checkClaimIdLink: noticed validation only checks mutualId==originId and level adjacency, and reasoned that rivals share mutualId by definition, so no check ties the claiming edge to the same challenge tree.
**Exploitation:** Attacker creates a rival (dishonest) assertion and challenge edge tree, waits for the honest edge to accumulate unrivaled time, then frontruns honest confirmation by claiming that timer into the dishonest rival edge and propagating it up the dishonest tree to confirm the incorrect assertion, regaining stake and causing honest validators to lose theirs.
**Escalation:** Timer propagated level-by-level up the dishonest challenge tree to the root; even if admin blocks root confirmation, layer-zero subchallenge edges confirm and honest rival stake is lost.
**Insight:** When a protocol keys inheritance/identity on a 'mutualId' shared by rival edges, verify that linkage checks also bind the specific edge instance (e.g. claimId==edgeId), otherwise timers/state can be borrowed across competing trees.

