Status DataClose notification

Majority Games Disclosed Report

Audit Report

ProportionalToXPReward winners mismatch causes unclaimable rewards

Target

Target is hidden

This information is not publicly available.

Vulnerability details

Summary

Rewards calculation strictly requires numberOfWinners[sessionId] == winners.length. If the actual winners length differs (e.g., due to contestants leaving or strategy returning fewer winners or intentionally misset by a malicious session creator), reward claims revert, permanently locking prize funds.

Impact

  • Permanent lockout of prize pool; claims revert.
  • High likelihood: no privileges; relies on ordinary flows leading to mismatch.
  • High impact: Affected session’s prize pool stuck (>1% user deposits; >2% TVL over time).

Scenario

  • Creator configures 5 winners.
  • Only 3 valid winners exist at end; rewards computation reverts due to mismatch.
  • No alternative on-chain path to distribute or refund; funds stuck.

Why Critical (Platform Criteria)

  • High likelihood: mismatch is common in dynamic participation scenarios.
  • Limited conditions: only differing winners length is required.
  • High impact: Permanent lockout of end-user funds.

Recommendations

  • Relax constraint: allow winners.length <= numberOfWinners[sessionId] and pay proportionally to actual winners.
  • Provide a fallback distribution or refund path when mismatch occurs.

Validation steps

Will be made available on demand.

Attachments

Attachments are hidden

This information is not publicly available.

Comments are hidden

This information is not publicly available.