Normally, when the moderator finally decides a pool is good-faith CORRUPTED, the named whitehat is owed the whole pool every staker's principal plus the entire bonus. The moderator is also allowed to correct a wrong verdict, but only until the first claim/sweep "locks" the outcome (claimstarted).
The problem is that sweepUnclaimedBonus() can send the entire accounted bonus out of the pool while the outcome is still SURVIVED, and it deliberately does not set claimStarted . So the correction window stays open even after the bonus is gone. When the moderator then corrects the verdict to good-faith CORRUPTED, flagOutcome re-reads the now-empty totalBonus, so the whitehat's bounty is recalculated as stake only.
The bonus is stranded at the recovery address and the whitehat is underpaid.
Likelihood:
Happens whenever the registry reaches CORRUPTED without any active-risk state being observed on-chain, so when riskWindowStart==0 which is normal, reachable sequence.
Happens whenever the moderator first flags SURVIVED and anyone calls the permissionless sweepUn claimedBonus before the moderator corrects the verdict. The sponsor is directly incentivized to trigger this, since the swept bonus lands at their own recovery address.
Impact:
The lost bonus is permanently stranded at the sponsor-controlled recovery address, so value is silently moved from the whitehat to the sponsor, breaking the documented "entire pool is the whitehat's bounty" guarantee.
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.