The airdrop allocation for a token is credited to the original minter and is not transferred when the token is sold. If the new owner burns or nukes the token, the original minter's airdrop amount is reduced, causing a loss to the seller.
The forging count for a forger entity is checked before it is incremented, so an entity can list for forging one more time than its forge potential allows. An attacker could forge more times than intended, exceeding the limit set by the protocol.
The mintWithBudget function incorrectly uses the total token count across all generations to limit minting, instead of the count for the current generation. This prevents users from minting multiple tokens in later generations once the total exceeds the per-generation limit.
The smart contract lacked a check to enforce a maximum generation limit, allowing users to mint NFTs beyond the intended cap of 10 generations. An attacker could mint an unlimited number of NFTs, exceeding the maximum supply.
The contracts inherit OpenZeppelin's Pausable but never expose the internal pause and unpause functions, so administrators cannot pause or resume operations. This leaves the emergency stop feature unusable, potentially preventing timely intervention during incidents.
The default nuke factor increase is set too low, causing NFTs to mature far slower than intended. An attacker could exploit this by holding NFTs for an extremely long time to eventually claim a larger share of the Nuke Fund, though the practical impact is limited.
The forging function allows the same parent NFT to be used multiple times, producing new NFTs with identical generation and entropy. An attacker could repeatedly forge with the same parent to obtain duplicate NFTs.
The NukeFund.nuke function incorrectly checks whether the caller (msg.sender) has approved the contract for all tokens, rather than checking the token owner's approval. This prevents approved users from nuking tokens they are authorised to burn.
The forgeWithListed function accepts more ETH than the required forging fee but only distributes the exact fee, leaving excess ETH permanently locked in the contract. An attacker could exploit this if the fee is reduced between transaction submission and execution, causing the overpayment to become stuck.
The location of the rare 'Golden God' NFT is chosen pseudo-randomly, but the selection can place it in the last 10 entropy slots of a generation, which are never minted because minting stops at 10,000 NFTs. As a result, a generation could have zero Golden God NFTs, contrary to the intended design.
A developer who claims rewards from DevFund and immediately mints an NFT with those funds can lose part of their rewards because the contract updates the developer's reward debt after the external call, so the new minting fees increase the debt before the developer's claim is settled.
The NukeFund contract only allows funds to be withdrawn when an NFT holder calls the nuke function, which burns their NFT. If all NFTs are burned or holders never call nuke, the remaining funds become permanently locked in the contract.
The generation increment function resets the per-generation mint counter to zero, so entities forged into the next generation before the first mint of that generation are not counted. An attacker could therefore push a generation past its intended 10,000 entity cap, breaking the protocol's core invariant.
The contracts NukeFund and EntityForging calculate the developer's share by dividing the amount by taxCut, which only works correctly when taxCut is 10. If the owner changes taxCut to any other value, the percentage taken as fee becomes incorrect, leading to wrong fund distribution.
The mint function recalculates the price of each NFT inside the minting loop, so the price can rise between the user's estimate and their transaction being processed. A user could therefore receive fewer NFTs than expected for the same budget, or pay more per NFT than anticipated.
The entropy generation functions for the first two batches check the whole 256-bit slot value against the golden entropy number instead of checking each of the 13 packed entropy values inside it. As a result, a golden entropy can slip into the first two passes, contrary to the documented rule that it should only appear in the final pass.
The TraitForgeNft contract owns the Airdrop contract but lacks a function to call Airdrop.allowDaoFund(), making it impossible to enable DAO fund distribution. As a result, the NukeFund contract can never enter the DAO stage, so dev shares are sent to the owner instead of the DAO.
The minting price calculation and generation increment logic are misaligned, causing users to pay the maximum price of the previous generation when minting the first NFT of a new generation, or to pay the starting price when they should pay more. This results in financial loss for either the user or the protocol.
The entropy generator could produce two Golden God tokens (entropy 999999) in a single generation, because one is hard-coded at a fixed slot and number position while another can arise from the batch-written entropy data. This undermines the intended uniqueness and rarity of the token, affecting game fairness and economy.
The nuke() function lacks a minimum claim amount check, so a user's payout can be reduced if another user's nuke transaction is processed first. An attacker could front-run or benefit from transaction ordering to receive a larger share, leaving the victim with less than expected.
The EntropyGenerator contract's initializeAlphaIndices() function uses the onlyOwner modifier instead of onlyAllowedCaller, so the TraitForgeNft contract cannot call it. This causes mintToken(), mintWithBudget(), and forge() to fail when they try to increment the generation.
TR
TraitForge
High
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.