AaveDIVAWrapperCore::_registerCollateralToken
Unsafe Use of abi.encodePacked()
The contract uses abi.encodePacked()
to concatenate strings when creating a WToken name, which can lead to potential hash collision vulnerabilities when used with dynamic types.
Potential for hash collision when abi.encodePacked()
is used with dynamic types
Could introduce unexpected behavior if the function is modified in the future to use hashing
Hardhat
If string concatenation is required, use more explicit concatenation methods:
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.