The Factory contract's deploy and call methods accept signatures without a domain separator or chain ID, making them generic. An attacker could replay signatures across chains or projects, or trick users into signing compatible data, to deploy or call contracts without authorisation.
The NFT minting contract enforced a per-transaction mint limit, but the safe mint callback let a contract re-enter the mint function and pass the limit check repeatedly. An attacker could therefore mint far more tokens than the limit in a single transaction.
The ERC1155NFTProduct contract prevents minting additional tokens with the same tokenId after the first mint, so the supply for each tokenId is fixed and cannot be increased. This limits the intended multi-token functionality of ERC1155.
The batch transfer and batch mint functions in an ERC1155 contract iterate over the ids array without checking that the other arrays have the same length. If the ids array is shorter, the extra entries in the other arrays are silently ignored, so a caller could get a transfer or mint that does not match what they intended.
The Factory contract hashed several user-supplied dynamic arguments together with abi.encodePacked before checking a signature, so different argument combinations could produce the same hash. An attacker could therefore pass values that were never signed and still satisfy the signedOnly modifier.
The role-freezing feature in the NFT contracts is ineffective because the ADMIN_ROLE can bypass all role restrictions, including DEFAULT_ADMIN_ROLE, allowing the admin to still grant and revoke roles. An attacker with ADMIN_ROLE could modify roles despite the intended freeze.
The deployment configuration validation function does not check that tokensPerMint is less than or equal to maxSupply. If tokensPerMint exceeds maxSupply, any mint attempt with amount equal to tokensPerMint will revert, wasting gas and requiring contract redeployment.
The NFT template contracts fail to validate royalty configuration fields in their initialize and update functions, allowing an admin to set a royalty percentage above 100%. An attacker with admin access could set an excessive royalty, causing users to pay more than the sale price in royalties.
The registerTemplate function fails to set the latest implementation when a template's version is 0, leaving latestImplementation as the zero address and causing duplicate entries in _templateNames. This can lead external contracts to believe no setup exists, resulting in repeated failed setup attempts.
The Factory contract verifies signatures without any expiration time, so a signature remains valid indefinitely. An attacker who obtains a valid signature can reuse it forever, and the only way to revoke it is to change the trusted signer role.
NF
NFTPort
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.