Lack of input validation of arrays #31
Labels
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
bug
Something isn't working
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
Handle
gzeon
Vulnerability details
Impact
Some input validation of variable arrays are missing
Proof of Concept
https://github.com/code-423n4/2021-10-mochi/blob/main/projects/mochi-core/contracts/profile/MochiProfileV0.sol
L64,82,91: if length of the input arrays are not equal, the call will revert
Tools Used
None
Recommended Mitigation Steps
Add proper input validation
The text was updated successfully, but these errors were encountered: