The Moderator (Protocol DAO) is responsible for flagging the pool outcome (SURVIVED, CORRUPTED, or EXPIRED). Under normal behavior, the protocol allows the moderator to re-flag a correction if an initial status was set in error.
The specific issue is that finality is tied to value movement, meaning the correction window closes immediately upon the first claim made by any staker. This creates a race condition where a user can front-run a moderator's correction transaction with a claim, permanently locking an incorrect outcome.
Likelihood:
Mempool Monitoring: Bots can easily detect the initial flagOutcome transaction and front-run the moderator's subsequent correction transaction with a claim.
Human/DAO Error: The Protocol DAO may accidentally flag the wrong status, and the multi-sig or governance process required for a correction is significantly slower than an individual staker's ability to call a claim function.
Impact:
Permanent Loss of Funds: If a pool is incorrectly finalized as SURVIVED when it should have been CORRUPTED, the Pool Sponsor loses the ability to trigger a recovery sweep.
Incorrect Bonus Distribution: Stakers could receive a  time-weighted bonus they are not entitled to if the "survival" status is locked in erroneously.
A BattleChain agreement concludes, and the Moderator intends to flag the pool as CORRUPTED due to a confirmed exploit.
The Moderator accidentally sends a transaction flagging the pool as SURVIVED.
The Moderator realizes the error and prepares a second transaction to re-flag it as CORRUPTED.
A Staker (or an automated bot) sees the first transaction on-chain and immediately calls claimSurvived().
The Staker's claim is processed first (or before the Moderator's correction).
The Moderator’s second transaction fails because totalClaims > 0, and the pool is permanently locked in the SURVIVED state.
Introduce a mandatory delay (cooldown period) between the time an outcome is flagged and the time the first claim can be made. This ensures the Moderator has a guaranteed window to correct mistakes without being front-run by value movement.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.
The contest is complete and the rewards are being distributed.