The TadleFactory
contract currently allows the deployment of new proxy contracts using a specified index _relatedContractIndex
. However, there is no validation in place to check whether an index has already been used, which could lead to accidental overwriting of previously deployed contracts. If the same index is reused, it could overwrite an existing contract associated with that index, potentially leading to loss of functionality and creating vulnerabilities in the system.
run this code in premarkets.t.sol
manual review
The following issues and its duplicates are invalid as admin errors/input validation/malicious intents are1 generally considered invalid based on [codehawks guidelines](https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity#findings-that-may-be-invalid). If they deploy/set inputs of the contracts appropriately, there will be no issue. Additionally admins are trusted as noted in READ.ME they can break certain assumption of the code based on their actions, and
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.