The createAuction() function in the SpiceAuction contract facilitates the creation of new auction instances. However, the function does not validate the name parameter. The name parameter is intended to be a meaningful identifier for the auction, and without proper validation, it could lead to potential issues such as empty names, excessively long names, or names containing invalid characters.
The absence of validation for the name parameter has several potential impacts such as creating an auction with an empty name etc
Below is the createAuction() function as it currently stands, without any validation for the name parameter:
To address this issue, it is recommended to implement validation checks on the name parameter within the createAuction() function.
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.