Code4rena
TraitForge
Every publicly disclosed report for TraitForge and what kind of bugs they were.
- disclosed reports
- 25
- most reported class
- Business logic
- bug classes found
- 4
- first disclosure
- 2024
Disclosed reports
Newest first. Only what TraitForge chose to make public.
-
Griefing attack on seller’s airdrop benefits
Business logic High Audit finding +12 collaborators
-
Potential uninitialized entropySlots reading in getNextEntropy , causing 0 entropy mint
Business logic Medium Audit finding +5 collaborators
-
Forger Entities can forge more times than intended
Business logic Medium Audit finding +50 collaborators
-
Wrong minting logic based on total token count across generations
Business logic High Audit finding +50 collaborators
-
The maximum number of generations is infinite
Business logic High Audit finding +50 collaborators
-
Users’ ability to nuke will be DoSed for three days after putting NFTs up for sale and canceling the sale
DoS Medium Audit finding +5 collaborators
-
Pause and unpause functions are inaccessible
Access control Medium Audit finding +50 collaborators
-
NFTs mature too slowly under default settings.
Business logic Medium Audit finding +23 collaborators
-
Duplicate NFT generation via repeated forging with the same parent
Business logic Medium Audit finding +13 collaborators
-
Imprecise token age calculation results in an incorrect nuke factor, causing users to claim the wrong amount
Business logic Medium Audit finding +10 collaborators
-
Incorrect isApprovedForAll check in the NukeFund.nuke() function
Access control Medium Audit finding +2 collaborators
-
Excess ETH from forgingFee can get stuck in EntityForging under certain situations
Business logic Medium Audit finding +9 collaborators
-
Each generation should have 1 “Golden God” NFT, but there could be 0
Business logic Medium Audit finding +6 collaborators
-
A dev will lose rewards if after claiming his rewards he mints an NFT
Business logic Medium Audit finding +1 collaborator
-
Funds can be locked indefinitely in NukeFund.sol
Business logic Medium Audit finding +3 collaborators
-
Number of entities in generation can surpass the 10k number
Business logic High Audit finding +50 collaborators
-
Incorrect percentage calculation in NukeFund and EntityForging when taxCut is changed from default value
Business logic High Audit finding +9 collaborators
-
Lack of slippage protection in dynamic pricing mint function
Business logic Medium Audit finding +4 collaborators
-
Incorrect check against golden entropy value in the first two batches
Smart contracts Medium Audit finding +10 collaborators
-
Lack of ability to make an some external function calls makes the DAO stage unreachable
Access control Medium Audit finding +2 collaborators
-
Discrepancy between nfts minted, price of nft when a generation changes & position of _incrementGeneration() inside _mintInternal() and _mintNewEntity()
Business logic Medium Audit finding +48 collaborators
-
Golden God tokens can be minted twice per generation
Business logic Medium Audit finding +42 collaborators
-
There is no slippage check in the nuke() function
Business logic Medium Audit finding +28 collaborators
-
TraitForgeNft: Generations without a golden god are possible
Business logic Medium Audit finding +16 collaborators
-
mintToken() , mintWithBudget() , and forge() in the TraitForgeNft contract will fail due to a wrong modifier used in EntropyGenerator.initializeAlphaIndices()
Access control High Audit finding +50 collaborators