# The LPP challenge period can cause malicious and freeloader claims to be uncounterable and can also cause freeloader claims to be abused to entrap honest challengers

Optimism fault-proof clock extension (3h) is shorter than LPP challenge period (1 day), letting attackers post freeloader claims at MAX_GAME_DEPTH that honest challengers cannot counter, stealing bonds.

- Payout: Audit contest
- Severity: high
- Program: Optimism
- Found by: RadiantLabs
- Disclosed: 2024-08-16
- Write-up quality: 7/10
- Original: https://github.com/code-423n4/2024-07-optimism-findings/issues/29
- Library page: https://bugbountylibrary.com/r/c4%3A2024-07-optimism%3AH-02
- Tags: area:web3 domain:web3 impact:funds-loss kind:contest platform:code4rena sev:high tech:evm technique:source-review vuln:accounting-error vuln:business-logic

**Target:** FaultDisputeGame / PreimageOracle LPP interaction
**Root cause:** CLOCK_EXTENSION (3h) is smaller than the LPP CHALLENGE_PERIOD (1 day), so a challenger forced to pass a large preimage proposal to call step() at MAX_GAME_DEPTH runs out of clock time before the LPP can be finalized.
**Steps:**
1. Attacker posts a valid claim A, then attacks it with freeloader claim F (leftmost priority) while keeping their chess clock near CLOCK_EXTENSION.
2. Honest challenger counters F, swapping onto attacker's clock which is extended only to CLOCK_EXTENSION (3h).
3. Attacker posts F2 at MAX_GAME_DEPTH requiring a large preimage proposal to step() against.
4. Honest challenger cannot pass the LPP within CHALLENGE_PERIOD (1 day) > CLOCK_EXTENSION, so F2 goes uncountered and H2's bond is stolen; F1 also steals A's bond.
**How found:** Reading the fault dispute game spec on large preimage proposals and comparing CHALLENGE_PERIOD (1 day) against CLOCK_EXTENSION (3h) at MAX_GAME_DEPTH, then reasoning through freeloader claim leftmost-priority mechanics and clock swapping.
**Exploitation:** Attacker baits honest challenger into countering a freeloader claim, inheriting the attacker's near-empty clock, then posts a MAX_GAME_DEPTH claim needing a large-preimage step() that cannot be resolved before the clock expires, capturing all bonds posted down to MAX_GAME_DEPTH (~54 ETH cumulative).
**Escalation:** Chaining freeloader claim with MAX_GAME_DEPTH large-preimage requirement converts a mere incentive loss into cumulative bond theft from honest challengers.
**Insight:** When a protocol has two independent time constants (challenge period vs clock extension), check whether any code path forces a party to wait on the longer one while their budget is bounded by the shorter one; freeloader/leftmost-priority mechanics are a good place to look for clock-swap traps.

