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
Disclosed reports
Newest first. Only what AI Arena chose to make public.
-
FighterFarm::reRoll won’t work for nft id greater than 255 due to input limited to uint8
Business logic High Audit finding +28 collaborators
-
Fighter created by mintFromMergingPool can have arbitrary weight and element
Business logic Medium Audit finding +50 collaborators
-
Can mint NFT with the desired attributes by reverting transaction
Smart contracts Medium Audit finding +50 collaborators
-
Constraints of dailyAllowanceReplenishTime and allowanceRemaining during mint() can be bypassed by using alias accounts & safeTransferFrom()
Business logic Medium Audit finding +23 collaborators
-
Minter / Staker / Spender roles can never be revoked
Access control Medium Audit finding +27 collaborators
-
Fighters cannot be minted after the initial generation due to uninitialized numElements mapping
DoS High Audit finding +50 collaborators
-
DoS in MergingPool::claimRewards function and potential DoS in RankedBattle::claimNRN function if called after a significant amount of rounds passed
DoS Medium Audit finding +50 collaborators
-
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 Audit finding +45 collaborators
-
Player can mint more fighter NFTs during claim of rewards by leveraging reentrancy on the claimRewards() function
Smart contracts High Audit finding +32 collaborators
-
Burner role cannot be revoked
Access control Medium Audit finding +14 collaborators
-
Almost all rarity rank combinations cannot be, and are not uniformly, generated
Crypto Medium Audit finding +2 collaborators
-
Erroneous probability calculation in physical attributes can lead to significant issues
Smart contracts Medium Audit finding +4 collaborators
-
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 Audit finding +50 collaborators
-
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 Audit finding +50 collaborators
-
A locked fighter can be transferred; leads to game server unable to commit transactions, and unstoppable fighters
Business logic High Audit finding +50 collaborators
-
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 Audit finding +50 collaborators
-
Non-transferable GameItems can be transferred with GameItems::safeBatchTransferFrom(...)
Business logic High Audit finding +50 collaborators