Skip to content

Code4rena

AI Arena

Every publicly disclosed report for AI Arena and what kind of bugs they were.

disclosed reports
17
most reported class
Business logic
bug classes found
5
first disclosure
2024
Find AI Arena on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what AI Arena chose to make public.

ReportClassSeverityBountyCVSSVotesDisclosed
FighterFarm::reRoll won’t work for nft id greater than 255 due to input limited to uint8 Business logic High – – – 14 May 2024
Fighter created by mintFromMergingPool can have arbitrary weight and element Business logic Medium – – – 14 May 2024
Can mint NFT with the desired attributes by reverting transaction Smart contracts Medium – – – 14 May 2024
Constraints of dailyAllowanceReplenishTime and allowanceRemaining during mint() can be bypassed by using alias accounts & safeTransferFrom() Business logic Medium – – – 14 May 2024
Minter / Staker / Spender roles can never be revoked Access control Medium – – – 14 May 2024
Fighters cannot be minted after the initial generation due to uninitialized numElements mapping DoS High – – – 14 May 2024
DoS in MergingPool::claimRewards function and potential DoS in RankedBattle::claimNRN function if called after a significant amount of rounds passed DoS Medium – – – 14 May 2024
NFTs can be transferred even if StakeAtRisk remains, so the user’s win cannot be recorded on the chain due to underflow, and can recover past losses that can’t be recovered (steal protocol’s token) Business logic Medium – – – 14 May 2024
Player can mint more fighter NFTs during claim of rewards by leveraging reentrancy on the claimRewards() function Smart contracts High – – – 14 May 2024
Burner role cannot be revoked Access control Medium – – – 14 May 2024
Almost all rarity rank combinations cannot be, and are not uniformly, generated Crypto Medium – – – 14 May 2024
Erroneous probability calculation in physical attributes can lead to significant issues Smart contracts Medium – – – 14 May 2024
Since you can reroll with a different fighterType than the NFT you own, you can reroll bypassing maxRerollsAllowed and reroll attributes based on a different fighterType Business logic High – – – 14 May 2024
Malicious user can stake an amount which causes zero curStakeAtRisk on a loss but equal rewardPoints to a fair user on a win Business logic High – – – 14 May 2024
A locked fighter can be transferred; leads to game server unable to commit transactions, and unstoppable fighters Business logic High – – – 14 May 2024
Players have complete freedom to customize the fighter NFT when calling redeemMintPass and can redeem fighters of types Dendroid and with rare attributes Business logic High – – – 14 May 2024
Non-transferable GameItems can be transferred with GameItems::safeBatchTransferFrom(...) Business logic High – – – 14 May 2024