The jackpot contract reads mutable configuration values such as the payout calculator, entropy provider, protocol fee and referral fee at settlement time rather than snapshotting them when a drawing starts. An admin (or a compromised admin key) could change these mid-drawing so that winnings, fees or refunds are calculated differently from what players expected.
The JackpotBridgeManager fetches the current global ticket price instead of the price fixed for the active drawing, so after a price increase users overpay and excess funds are locked in the contract, while a price decrease causes a denial of service due to insufficient approval.
The jackpot contract reads its entropy provider, LP manager, payout calculator, protocol fee and referral fee at settlement time rather than snapshotting them when a drawing starts. An admin (or a malicious/compromised one) could swap these mid-drawing so the randomness callback reverts, permanently stalling the drawing, or alter the fees and payouts applied at settlement.
The LP pool cap is not enforced when a drawing settles, so the LP pool total can exceed the governance pool cap. This can make the maximum bonus ball exceed the safe bit-packing limit, causing ticket purchases with that bonus ball to revert and disrupting betting.
When the jackpot enters emergency mode, the runJackpot function is blocked, so lpEarnings for the current drawing are never moved to the accumulator. However, claimWinnings can still be called for previous drawings and credits referral win shares to lpEarnings of the current drawing, leaving those funds permanently stuck in the contract.
The JackpotBridgeManager contract makes an external call to a user-supplied address and data when bridging funds, allowing an attacker to call the ticket NFT contract and transfer a victim's NFT to themselves. The attacker then uses the NFT transfer callback to pull the approved USDC, satisfying the balance check and completing the theft.
The contract's settlement function recomputes combinations for each bonusball, causing gas usage to exceed the Base chain transaction gas limit for large bonusballMax values. This prevents the entropy provider from invoking the callback, so the drawing can never be settled.
The jackpot contract lets the owner change global settings such as fees, the payout calculator, the entropy provider and the LP manager while a draw is still active. Because settlement reads these values afterwards, the owner could shift payouts, alter fees or block settlement entirely.
The setLPPoolCap function reverts if the current LP pool plus pending deposits exceeds the new cap, so an LP can deposit enough to block governance parameter updates that would lower the cap. This allows LPs to delay such updates until the next drawing.
The contract uses the same random seed to generate both the normal balls and the bonus ball, so when the maximum numbers are equal the bonus ball is always one of the normal balls. This reduces the effective number of combinations and lets an attacker buy all possible tickets to guarantee a profit.
The ScaledEntropyProvider stored pending randomness requests keyed only by sequence number, not by the Pyth entropy provider address. When the admin switched to a new provider, an attacker could pre-register a request at a sequence number that the new provider would later reuse, causing the jackpot to use the attacker's predetermined numbers.
ME
Megapot
Medium
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.