Closed sherlock-admin2 closed 1 year ago
Invalid according to sherlock guidelines
User input validation: User input validation to prevent user mistakes is not considered a valid issue. However, if a user input could result in a major protocol malfunction or significant loss of funds could be a valid high. Example(Valid)
Zims
medium
The input agentIds is never checked
Summary In
InfiltrationPeriphery.sol
the value ofagentIds
is never checked. Vulnerability DetailImpact As it is a part of public and user controlled input you will want to check that the data is as expected to avoid unexpected issues.
Code Snippet https://github.com/sherlock-audit/2023-10-looksrare/blob/main/contracts-infiltration/contracts/InfiltrationPeriphery.sol#L45C38-L56
Tool used Manual Review
Recommendation some
require()
statements that make sure the data validity